diff options
author | Ankit Vani <a@nevitus.org> | 2013-09-14 22:16:47 +0530 |
---|---|---|
committer | Ankit Vani <a@nevitus.org> | 2013-09-14 22:16:47 +0530 |
commit | 17a86db70290c18e6a0fe4aa4125c0cd6c34a89f (patch) | |
tree | c69b8ad1cf56c9129f761bfa40a9ead3a78d0fc2 /finch/gntroomlist.c | |
parent | 43c7577ac46fcb669ec247b3c743062455ffbefa (diff) | |
download | pidgin-17a86db70290c18e6a0fe4aa4125c0cd6c34a89f.tar.gz |
Refactored finch to use the new protocol API
Diffstat (limited to 'finch/gntroomlist.c')
-rw-r--r-- | finch/gntroomlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/finch/gntroomlist.c b/finch/gntroomlist.c index 9589afd87f..1eb9db6bef 100644 --- a/finch/gntroomlist.c +++ b/finch/gntroomlist.c @@ -120,7 +120,7 @@ static void fl_add_chat(GntWidget *button, gpointer null) protocol = purple_connection_get_protocol(gc); - if(protocol != NULL && PURPLE_PROTOCOL_IMPLEMENTS(protocol, roomlist_room_serialize)) + if(protocol != NULL && PURPLE_PROTOCOL_IMPLEMENTS(protocol, ROOMLIST_IFACE, room_serialize)) name = purple_protocol_roomlist_iface_room_serialize(protocol, room); else name = g_strdup(purple_roomlist_room_get_name(room)); @@ -242,7 +242,7 @@ reset_account_list(PurpleAccount *account) protocol = purple_connection_get_protocol(gc); if (PURPLE_CONNECTION_IS_CONNECTED(gc) && - PURPLE_PROTOCOL_IMPLEMENTS(protocol, roomlist_get_list)) { + PURPLE_PROTOCOL_IMPLEMENTS(protocol, ROOMLIST_IFACE, get_list)) { PurpleAccount *account = purple_connection_get_account(gc); char *text = g_strdup_printf("%s (%s)", purple_account_get_username(account), |