summaryrefslogtreecommitdiff
path: root/finch/gntroomlist.c
diff options
context:
space:
mode:
authorAnkit Vani <a@nevitus.org>2013-09-14 22:16:47 +0530
committerAnkit Vani <a@nevitus.org>2013-09-14 22:16:47 +0530
commit17a86db70290c18e6a0fe4aa4125c0cd6c34a89f (patch)
treec69b8ad1cf56c9129f761bfa40a9ead3a78d0fc2 /finch/gntroomlist.c
parent43c7577ac46fcb669ec247b3c743062455ffbefa (diff)
downloadpidgin-17a86db70290c18e6a0fe4aa4125c0cd6c34a89f.tar.gz
Refactored finch to use the new protocol API
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 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),