pidgin/pidgin

Parents b5e0f65a5d9c
Children 684befe3ae5d
Replace PurpleNamedValue with PurpleKeyValuePair in GTK-Doc comments
--- a/libpurple/pluginpref.h Wed Nov 27 00:08:11 2019 +0300
+++ b/libpurple/pluginpref.h Wed Nov 27 00:34:58 2019 +0300
@@ -245,7 +245,7 @@
*
* Get the choices for a choices plugin pref
*
- * Returns: (element-type PurpleNamedValue) (transfer none): GList of the choices
+ * Returns: (element-type PurpleKeyValuePair) (transfer none): GList of the choices
*/
GList *purple_plugin_pref_get_choices(PurplePluginPref *pref);
--- a/libpurple/request.h Wed Nov 27 00:08:11 2019 +0300
+++ b/libpurple/request.h Wed Nov 27 00:34:58 2019 +0300
@@ -528,7 +528,7 @@
*
* Gets extra actions for the PurpleRequestFields dialog.
*
- * Returns: (element-type PurpleNamedValue) (transfer none): A list of actions (pairs of arguments, as in
+ * Returns: (element-type PurpleKeyValuePair) (transfer none): A list of actions (pairs of arguments, as in
* setter).
*/
GSList *
@@ -1472,7 +1472,7 @@
*
* Returns a list of elements in a choice field.
*
- * Returns: (element-type PurpleNamedValue) (transfer none): The list of pairs of {label, value}.
+ * Returns: (element-type PurpleKeyValuePair) (transfer none): The list of pairs of {label, value}.
*/
GList *
purple_request_field_choice_get_elements(const PurpleRequestField *field);
--- a/pidgin/gtkprefs.h Wed Nov 27 00:08:11 2019 +0300
+++ b/pidgin/gtkprefs.h Wed Nov 27 00:34:58 2019 +0300
@@ -136,7 +136,7 @@
* @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 PurpleNamedValue): The choices to be added to the dropdown, choices should
+ * @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