pidgin/gtkutils.h

changeset 41379
b271cf41c92d
parent 41277
1b6374960c08
child 41477
34907838c401
equal deleted inserted replaced
41378:14cda54c3fbf 41379:b271cf41c92d
153 * Get information about a user in a chat. Show immediate feedback. 153 * Get information about a user in a chat. Show immediate feedback.
154 */ 154 */
155 void pidgin_retrieve_user_info_in_chat(PurpleConnection *conn, const char *name, int chatid); 155 void pidgin_retrieve_user_info_in_chat(PurpleConnection *conn, const char *name, int chatid);
156 156
157 /** 157 /**
158 * pidgin_parse_x_im_contact:
159 * @msg: The MIME message.
160 * @all_accounts: If TRUE, check all compatible accounts, online or
161 * offline. If FALSE, check only online accounts.
162 * @ret_account: The best guess at a compatible protocol,
163 * based on ret_protocol. If NULL, no account was found.
164 * @ret_protocol: The returned protocol type.
165 * @ret_username: The returned username.
166 * @ret_alias: The returned alias.
167 *
168 * Parses an application/x-im-contact MIME message and returns the
169 * data inside.
170 *
171 * Returns: TRUE if the message was parsed for the minimum necessary data.
172 * FALSE otherwise.
173 */
174 gboolean pidgin_parse_x_im_contact(const char *msg, gboolean all_accounts,
175 PurpleAccount **ret_account,
176 char **ret_protocol, char **ret_username,
177 char **ret_alias);
178
179 /**
180 * pidgin_set_accessible_label: 158 * pidgin_set_accessible_label:
181 * @w: The widget that we want to name. 159 * @w: The widget that we want to name.
182 * @l: A GtkLabel that we want to use as the ATK name for the widget. 160 * @l: A GtkLabel that we want to use as the ATK name for the widget.
183 * 161 *
184 * Sets an ATK name for a given widget. Also sets the labelled-by 162 * Sets an ATK name for a given widget. Also sets the labelled-by

mercurial