/soc/2013/ankitkv/gobjectification: 7113051701e2: Refactored gnt...
Ankit Vani
a at nevitus.org
Thu Aug 1 08:37:58 EDT 2013
Changeset: 7113051701e20deb991a44a4909db15fbd6048a7
Author: Ankit Vani <a at nevitus.org>
Date: 2013-08-01 18:07 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/7113051701e2
Description:
Refactored gntroomlist to use the new API
diffstat:
finch/gntroomlist.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff --git a/finch/gntroomlist.c b/finch/gntroomlist.c
--- a/finch/gntroomlist.c
+++ b/finch/gntroomlist.c
@@ -118,7 +118,7 @@ static void fl_add_chat(GntWidget *butto
if (gc == NULL || room == NULL)
return;
- prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_protocol_info(gc));
+ prpl_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 *accoun
PurplePluginProtocolInfo *prpl_info = NULL;
PurpleConnection *gc = list->data;
- prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_protocol_info(gc));
+ prpl_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);
More information about the Commits
mailing list