diff options
author | Ankit Vani <a@nevitus.org> | 2013-08-17 23:28:51 +0530 |
---|---|---|
committer | Ankit Vani <a@nevitus.org> | 2013-08-17 23:28:51 +0530 |
commit | 7dc48a8866253cbb840c9adf8dd67d079a38e2d7 (patch) | |
tree | e94c8efa03d742b867dd10e65fa04ad5368b8604 /finch/gntroomlist.c | |
parent | da49f1c68efada7cc41200cda098cf6befe72af4 (diff) | |
download | pidgin-7dc48a8866253cbb840c9adf8dd67d079a38e2d7.tar.gz |
Renamed PurplePluginProtocolInfo to PurpleProtocol
Diffstat (limited to 'finch/gntroomlist.c')
-rw-r--r-- | finch/gntroomlist.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/finch/gntroomlist.c b/finch/gntroomlist.c index 2395d34c87..68d28907f5 100644 --- a/finch/gntroomlist.c +++ b/finch/gntroomlist.c @@ -113,15 +113,15 @@ static void fl_add_chat(GntWidget *button, gpointer null) char *name; PurpleRoomlistRoom *room = gnt_tree_get_selection_data(GNT_TREE(froomlist.tree)); PurpleConnection *gc = purple_account_get_connection(froomlist.account); - PurplePluginProtocolInfo *prpl_info = NULL; + PurpleProtocol *protocol = NULL; if (gc == NULL || room == NULL) return; - prpl_info = purple_connection_get_protocol_info(gc); + protocol = purple_connection_get_protocol_info(gc); - if(prpl_info != NULL && prpl_info->roomlist_room_serialize) - name = prpl_info->roomlist_room_serialize(room); + if(protocol != NULL && protocol->roomlist_room_serialize) + name = protocol->roomlist_room_serialize(room); else name = g_strdup(purple_roomlist_room_get_name(room)); @@ -237,12 +237,12 @@ reset_account_list(PurpleAccount *account) GntComboBox *accounts = GNT_COMBO_BOX(froomlist.accounts); gnt_combo_box_remove_all(accounts); for (list = purple_connections_get_all(); list; list = list->next) { - PurplePluginProtocolInfo *prpl_info = NULL; + PurpleProtocol *protocol = NULL; PurpleConnection *gc = list->data; - prpl_info = purple_connection_get_protocol_info(gc); + protocol = purple_connection_get_protocol_info(gc); if (PURPLE_CONNECTION_IS_CONNECTED(gc) && - prpl_info->roomlist_get_list != NULL) { + protocol->roomlist_get_list != NULL) { PurpleAccount *account = purple_connection_get_account(gc); char *text = g_strdup_printf("%s (%s)", purple_account_get_username(account), |