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/gntblist.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/gntblist.c')
-rw-r--r-- | finch/gntblist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/finch/gntblist.c b/finch/gntblist.c index ff601615a6..56bb412cdb 100644 --- a/finch/gntblist.c +++ b/finch/gntblist.c @@ -956,7 +956,7 @@ append_proto_menu(GntMenu *menu, PurpleConnection *gc, PurpleBlistNode *node) GList *list; PurpleProtocol *protocol = purple_connection_get_protocol(gc); - if(!protocol || !PURPLE_PROTOCOL_IMPLEMENTS(protocol, CLIENT_IFACE, blist_node_menu)) + if(!protocol || !PURPLE_PROTOCOL_IMPLEMENTS(protocol, CLIENT, blist_node_menu)) return; for(list = purple_protocol_client_iface_blist_node_menu(protocol, node); list; @@ -1174,7 +1174,7 @@ create_buddy_menu(GntMenu *menu, PurpleBuddy *buddy) PurpleConnection *gc = purple_account_get_connection(purple_buddy_get_account(buddy)); protocol = purple_connection_get_protocol(gc); - if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER_IFACE, get_info)) + if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER, get_info)) { add_custom_action(menu, _("Get Info"), PURPLE_CALLBACK(finch_blist_get_buddy_info_cb), buddy); @@ -2515,7 +2515,7 @@ reconstruct_accounts_menu(void) continue; protocol = purple_connection_get_protocol(gc); - if (PURPLE_PROTOCOL_IMPLEMENTS(protocol, CLIENT_IFACE, get_actions)) { + if (PURPLE_PROTOCOL_IMPLEMENTS(protocol, CLIENT, get_actions)) { item = gnt_menuitem_new(purple_account_get_username(account)); gnt_menu_add_item(GNT_MENU(sub), item); build_protocol_actions(item, protocol, gc); |