summaryrefslogtreecommitdiff
path: root/pidgin/pidginprotocolchooser.h
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2021-01-30 00:38:35 -0600
committerGary Kramlich <grim@reaperworld.com>2021-01-30 00:38:35 -0600
commit76e010b41fa2009e370d85e88e55d54892229e5d (patch)
tree74f07ce8521ecb502aab15ac33ef89f5a84086c4 /pidgin/pidginprotocolchooser.h
parentaf33d7983b7d7637946ff8b96d0a638e8e6d2d57 (diff)
downloadpidgin-76e010b41fa2009e370d85e88e55d54892229e5d.tar.gz
Select the proper protocol in the account editor.
* Make sure the proper protocol is select in the account editor. * Replace `pidgin_protocol_chooser_[gs]et_name` with `pidgin_protocol_chooser_[gs]et_id`. * Removed `pidgin_protocol_store_finalize` as it was only used to disconnect purple signals that we aren't using anymore. Testing Done: Compiled and ran locally. Verified via adding a new account, checking a connected account, and a disconnected account. Bugs closed: PIDGIN-17494 Reviewed at https://reviews.imfreedom.org/r/465/
Diffstat (limited to 'pidgin/pidginprotocolchooser.h')
-rw-r--r--pidgin/pidginprotocolchooser.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/pidgin/pidginprotocolchooser.h b/pidgin/pidginprotocolchooser.h
index bcb5b78304..5384a04984 100644
--- a/pidgin/pidginprotocolchooser.h
+++ b/pidgin/pidginprotocolchooser.h
@@ -71,28 +71,29 @@ GtkWidget *pidgin_protocol_chooser_new(void);
PurpleProtocol *pidgin_protocol_chooser_get_selected(PidginProtocolChooser *chooser);
/**
- * pidgin_protocol_chooser_get_selected_name:
+ * pidgin_protocol_chooser_get_selected_id:
* @chooser: The #PidginProtocolChooser instance.
*
- * Gets the name of the currently selected protocol from @chooser.
+ * Gets the id of the currently selected protocol from @chooser.
*
- * Returns: (transfer full): The selected #PurpleProtocol or %NULL if nothing
- * is selected
+ * Returns: (transfer full): The id of the selected #PurpleProtocol or %NULL if
+ * nothing is selected.
*
* Since: 3.0.0
*/
-gchar *pidgin_protocol_chooser_get_selected_name(PidginProtocolChooser *chooser);
+gchar *pidgin_protocol_chooser_get_selected_id(PidginProtocolChooser *chooser);
/**
- * pidgin_protocol_chooser_set_selected_name:
+ * pidgin_protocol_chooser_set_selected_id:
* @chooser: The #PidginProtocolChooser instance.
- * @name: The name of the protocol to select.
+ * @id: The id of the protocol to select.
*
- * Sets the currently selected protocol of @chooser to @protocol.
+ * Sets the currently selected protocol of @chooser to the #PurpleProtocol with
+ * an id of @id.
*
* Since: 3.0.0
*/
-void pidgin_protocol_chooser_set_selected_name(PidginProtocolChooser *chooser, const gchar *name);
+void pidgin_protocol_chooser_set_selected_id(PidginProtocolChooser *chooser, const gchar *id);
G_END_DECLS