diff options
author | Gary Kramlich <grim@reaperworld.com> | 2018-01-18 23:46:05 -0600 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2018-01-18 23:46:05 -0600 |
commit | e358c578a45c9c9df8c1792f54da2ca6c9854824 (patch) | |
tree | 2df2bfcc4ef2d31dd7f317ce91619fe3552acc28 /libpurple/server.c | |
parent | ab74888dede9f686e3526400e3bcd650cb42fd77 (diff) | |
download | pidgin-e358c578a45c9c9df8c1792f54da2ca6c9854824.tar.gz |
First pass at moving attention to it's own files
Diffstat (limited to 'libpurple/server.c')
-rw-r--r-- | libpurple/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/server.c b/libpurple/server.c index 8ee2023d33..931276ce5f 100644 --- a/libpurple/server.c +++ b/libpurple/server.c @@ -295,10 +295,10 @@ PurpleAttentionType *purple_get_attention_type_from_code(PurpleAccount *account, protocol = purple_protocols_find(purple_account_get_protocol_id(account)); /* Lookup the attention type in the protocol's attention_types list, if any. */ - if (PURPLE_PROTOCOL_IMPLEMENTS(protocol, ATTENTION_IFACE, get_types)) { + if (PURPLE_IS_PROTOCOL_ATTENTION(protocol)) { GList *attention_types; - attention_types = purple_protocol_attention_iface_get_types(protocol, account); + attention_types = purple_protocol_attention_get_types(protocol, account); attn = (PurpleAttentionType *)g_list_nth_data(attention_types, type_code); } else { attn = NULL; |