comparison libpurple/server.c @ 19712:437c320c8d29

Change attention_types to get_attention_types so this will compile.
author Richard Laager <rlaager@wiktel.com>
date Mon, 10 Sep 2007 20:26:44 +0000
parents d3d9e3978d82
children a359452f9ea2
comparison
equal deleted inserted replaced
19711:93d10000432e 19712:437c320c8d29
251 g_return_val_if_fail(account != NULL, NULL); 251 g_return_val_if_fail(account != NULL, NULL);
252 252
253 prpl = purple_find_prpl(purple_account_get_protocol_id(account)); 253 prpl = purple_find_prpl(purple_account_get_protocol_id(account));
254 254
255 /* Lookup the attention type in the protocol's attention_types list, if any. */ 255 /* Lookup the attention type in the protocol's attention_types list, if any. */
256 get_attention_types = PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->attention_types; 256 get_attention_types = PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->get_attention_types;
257 if (get_attention_types) { 257 if (get_attention_types) {
258 GList *attention_types; 258 GList *attention_types;
259 259
260 attention_types = get_attention_types(account); 260 attention_types = get_attention_types(account);
261 attn = (PurpleAttentionType *)g_list_nth_data(attention_types, type_code); 261 attn = (PurpleAttentionType *)g_list_nth_data(attention_types, type_code);