summaryrefslogtreecommitdiff
path: root/finch/gntroomlist.c
diff options
context:
space:
mode:
authorAnkit Vani <a@nevitus.org>2013-07-28 23:44:39 +0530
committerAnkit Vani <a@nevitus.org>2013-07-28 23:44:39 +0530
commit4425e401c9c7461ac67c80d92f37ae65a91976bf (patch)
tree7edd582ebedbff8b2432dfeb68a2deddb852a2ec /finch/gntroomlist.c
parent72fb258cf1f560bf46148f63fdff80f4a648b6bf (diff)
downloadpidgin-4425e401c9c7461ac67c80d92f37ae65a91976bf.tar.gz
Replaced purple_connection_get_prpl() with purple_connection_get_protocol_info().
Changed its return type from PurplePlugin * to PurplePluginProtocolInfo *
Diffstat (limited to 'finch/gntroomlist.c')
-rw-r--r--finch/gntroomlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/finch/gntroomlist.c b/finch/gntroomlist.c
index e4a17c73fc..2c5ea23279 100644
--- a/finch/gntroomlist.c
+++ b/finch/gntroomlist.c
@@ -118,7 +118,7 @@ static void fl_add_chat(GntWidget *button, gpointer null)
if (gc == NULL || room == NULL)
return;
- prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_prpl(gc));
+ prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_protocol_info(gc));
if(prpl_info != NULL && prpl_info->roomlist_room_serialize)
name = prpl_info->roomlist_room_serialize(room);
@@ -240,7 +240,7 @@ reset_account_list(PurpleAccount *account)
PurplePluginProtocolInfo *prpl_info = NULL;
PurpleConnection *gc = list->data;
- prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_prpl(gc));
+ prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_protocol_info(gc));
if (PURPLE_CONNECTION_IS_CONNECTED(gc) &&
prpl_info->roomlist_get_list != NULL) {
PurpleAccount *account = purple_connection_get_account(gc);