summaryrefslogtreecommitdiff
path: root/pidgin/prefs/pidginprefs.h
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2023-03-30 22:31:40 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2023-03-30 22:31:40 -0500
commitf6965499277f8b18b3a6f157919359bfa033a11e (patch)
treee2bf37c8cd8f7b666b86e08e63454a427bcadd0b /pidgin/prefs/pidginprefs.h
parent0fb57301407584c623624462b2ab6446a56212e1 (diff)
downloadpidgin-f6965499277f8b18b3a6f157919359bfa033a11e.tar.gz
Remove unused pref widget helpers
They are no longer used now that the plugin prefs are gone and other main prefs stopped using them. Note, there are a couple references in the disabled-by-default plugins, but they need re-writing anyway. Testing Done: Compiled only. Reviewed at https://reviews.imfreedom.org/r/2406/
Diffstat (limited to 'pidgin/prefs/pidginprefs.h')
-rw-r--r--pidgin/prefs/pidginprefs.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/pidgin/prefs/pidginprefs.h b/pidgin/prefs/pidginprefs.h
index 1f6dd6a11c..3d290f87cf 100644
--- a/pidgin/prefs/pidginprefs.h
+++ b/pidgin/prefs/pidginprefs.h
@@ -45,70 +45,6 @@ G_DECLARE_FINAL_TYPE(PidginPrefsWindow, pidgin_prefs_window, PIDGIN,
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.