diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2019-08-06 19:15:13 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2019-08-06 19:15:13 -0400 |
commit | c45493b564db124d927441339d4a6c39dff9e8b5 (patch) | |
tree | da2468ef849538c1fd5dd55dd878f6e224b5e9a4 /finch/gntroomlist.c | |
parent | a74e0bc365c453598e99a7bfd94e4d27f21f7297 (diff) | |
download | pidgin-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.c | 4 |
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), |