pidgin/pidginprotocolchooser.h

changeset 41187
3d60432b8a05
parent 41124
95555046173e
child 41645
fb8bfbd95195
equal deleted inserted replaced
41186:f8275d257afe 41187:3d60432b8a05
67 * pidgin_protocol_chooser_get_selected_id: 67 * pidgin_protocol_chooser_get_selected_id:
68 * @chooser: The #PidginProtocolChooser instance. 68 * @chooser: The #PidginProtocolChooser instance.
69 * 69 *
70 * Gets the id of the currently selected protocol from @chooser. 70 * Gets the id of the currently selected protocol from @chooser.
71 * 71 *
72 * Returns: (transfer full): The id of the selected #PurpleProtocol or %NULL if 72 * Returns: The id of the selected #PurpleProtocol or %NULL if nothing is
73 * nothing is selected. 73 * selected.
74 * 74 *
75 * Since: 3.0.0 75 * Since: 3.0.0
76 */ 76 */
77 gchar *pidgin_protocol_chooser_get_selected_id(PidginProtocolChooser *chooser); 77 const gchar *pidgin_protocol_chooser_get_selected_id(PidginProtocolChooser *chooser);
78 78
79 /** 79 /**
80 * pidgin_protocol_chooser_set_selected_id: 80 * pidgin_protocol_chooser_set_selected_id:
81 * @chooser: The #PidginProtocolChooser instance. 81 * @chooser: The #PidginProtocolChooser instance.
82 * @id: The id of the protocol to select. 82 * @id: The id of the protocol to select.

mercurial