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/gntaccount.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/gntaccount.c')
-rw-r--r-- | finch/gntaccount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/finch/gntaccount.c b/finch/gntaccount.c index e0f28347bb..1e6f2c90a3 100644 --- a/finch/gntaccount.c +++ b/finch/gntaccount.c @@ -258,7 +258,7 @@ save_account_cb(AccountEditDialog *dialog) gnt_box_give_focus_to_child(GNT_BOX(accounts.window), accounts.tree); } - if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER_IFACE, register_user) && + if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER, register_user) && gnt_check_box_get_checked(GNT_CHECK_BOX(dialog->regserver))) { purple_account_register(account); } else if (dialog->account == NULL) { @@ -493,7 +493,7 @@ add_account_options(AccountEditDialog *dialog) /* Show the registration checkbox only in a new account dialog, * and when the selected protocol has the support for it. */ gnt_widget_set_visible(dialog->regserver, account == NULL && - PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER_IFACE, register_user)); + PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER, register_user)); } static void |