pidgin/prefs/pidginprefs.h

changeset 42192
82dbf36ac6db
parent 42072
606edc665dc2
child 42464
5de142a471e0
--- a/pidgin/prefs/pidginprefs.h	Thu Mar 30 22:30:46 2023 -0500
+++ b/pidgin/prefs/pidginprefs.h	Thu Mar 30 22:31:40 2023 -0500
@@ -45,70 +45,6 @@
 void pidgin_prefs_init(void);
 
 /**
- * pidgin_prefs_checkbox:
- * @title: The text to be displayed as the checkbox label
- * @key:   The key of the purple bool pref that will be represented by the checkbox
- * @page:  The page to which the new checkbox will be added
- *
- * Add a new checkbox for a boolean preference
- *
- * Returns: (transfer full): The new checkbox
- */
-GtkWidget *pidgin_prefs_checkbox(const char *title, const char *key,
-		GtkWidget *page);
-
-/**
- * pidgin_prefs_labeled_spin_button:
- * @page:  The page to which the spin button will be added
- * @title: The text to be displayed as the spin button label
- * @key:   The key of the int pref that will be represented by the spin button
- * @min:   The minimum value of the spin button
- * @max:   The maximum value of the spin button
- * @sg:    If not NULL, the size group to which the spin button will be added
- *
- * Add a new spin button representing an int preference
- *
- * Returns: (transfer full): An hbox containing both the label and the spinner.  Can be
- *          used to set the widgets to sensitive or insensitive based on the
- *          value of a checkbox.
- */
-GtkWidget *pidgin_prefs_labeled_spin_button(GtkWidget *page,
-		const gchar *title, const char *key, int min, int max, GtkSizeGroup *sg);
-
-/**
- * pidgin_prefs_dropdown:
- * @page:  The page to which the dropdown will be added
- * @title: The text to be displayed as the dropdown label
- * @type:  The type of preference to be stored in the generated dropdown
- * @key:   The key of the pref that will be represented by the dropdown
- * @...:   The choices to be added to the dropdown, choices should be
- *              paired as label/value
- *
- * Add a new dropdown representing a preference of the specified type
- *
- * Returns: (transfer full): The new dropdown. 
- */
-GtkWidget *pidgin_prefs_dropdown(GtkWidget *page, const gchar *title,
-		PurplePrefType type, const char *key, ...);
-
-/**
- * pidgin_prefs_dropdown_from_list:
- * @page:      The page to which the dropdown will be added
- * @title:     The text to be displayed as the dropdown label
- * @type:      The type of preference to be stored in the dropdown
- * @key:       The key of the pref that will be represented by the dropdown
- * @menuitems: (element-type PurpleKeyValuePair): The choices to be added to the dropdown, choices should
- *             be paired as label/value
- *
- * Add a new dropdown representing a preference of the specified type
- *
- * Returns: (transfer full): The new dropdown. 
- */
-GtkWidget *pidgin_prefs_dropdown_from_list(GtkWidget *page,
-		const gchar * title, PurplePrefType type, const char *key,
-		GList *menuitems);
-
-/**
  * pidgin_prefs_update_old:
  *
  * Rename legacy prefs and delete some that no longer exist.

mercurial