summaryrefslogtreecommitdiff
path: root/finch/gntroomlist.c
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2019-08-06 19:15:13 -0400
committerElliott Sales de Andrade <qulogic@pidgin.im>2019-08-06 19:15:13 -0400
commitc45493b564db124d927441339d4a6c39dff9e8b5 (patch)
treeda2468ef849538c1fd5dd55dd878f6e224b5e9a4 /finch/gntroomlist.c
parenta74e0bc365c453598e99a7bfd94e4d27f21f7297 (diff)
downloadpidgin-c45493b564db124d927441339d4a6c39dff9e8b5.tar.gz
Rename *_GET_*_IFACE to more standard *_GET_IFACE.
Two sed's of `s/_GET_\([A-Za-z0-9_]\+\)_IFACE/_\1_GET_IFACE/g` and `s/\(PURPLE_PROTOCOL_IMPLEMENTS.\+\)_IFACE/\1/g`, plus a small fix in `PURPLE_PROTOCOL_IMPLEMENTS`.
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 147c2c8851..29ee54add7 100644
--- a/finch/gntroomlist.c
+++ b/finch/gntroomlist.c
@@ -115,7 +115,7 @@ static void fl_add_chat(GntWidget *button, gpointer null)
protocol = purple_connection_get_protocol(gc);
- if(protocol != NULL && PURPLE_PROTOCOL_IMPLEMENTS(protocol, ROOMLIST_IFACE, room_serialize))
+ if(protocol != NULL && PURPLE_PROTOCOL_IMPLEMENTS(protocol, ROOMLIST, room_serialize))
name = purple_protocol_roomlist_iface_room_serialize(protocol, room);
else
name = g_strdup(purple_roomlist_room_get_name(room));
@@ -237,7 +237,7 @@ reset_account_list(PurpleAccount *account)
protocol = purple_connection_get_protocol(gc);
if (PURPLE_CONNECTION_IS_CONNECTED(gc) &&
- PURPLE_PROTOCOL_IMPLEMENTS(protocol, ROOMLIST_IFACE, get_list)) {
+ PURPLE_PROTOCOL_IMPLEMENTS(protocol, ROOMLIST, get_list)) {
PurpleAccount *account = purple_connection_get_account(gc);
char *text = g_strdup_printf("%s (%s)",
purple_account_get_username(account),