Wed, 18 Jan 2006 01:54:17 +0000
[gaim-migrate @ 15274]
20:49:08 <datallah> deryni: sametime.c: In function 'blist_node_menu_cb':
20:49:08 <datallah> sametime.c:1251: warning: passing argument 2 of
'gaim_menu_action_new' from incompatible pointer type
20:49:38 <deryni> Oh, oops.
All this GAIM_CALLBACK stuff will be able to go away when we gobjectify, since then the function will have the same signature for all uses.
| src/protocols/sametime/sametime.c | file | annotate | diff | comparison | revisions |
--- a/src/protocols/sametime/sametime.c Tue Jan 17 23:29:37 2006 +0000 +++ b/src/protocols/sametime/sametime.c Wed Jan 18 01:54:17 2006 +0000 @@ -1239,7 +1239,7 @@ them all to a conference */ if(gaim_group_on_account(group, acct)) { act = gaim_menu_action_new(_("Invite Group to Conference..."), - blist_menu_group_invite, pd, NULL); + GAIM_CALLBACK(blist_menu_group_invite), pd, NULL); *menu = g_list_append(*menu, NULL); } #endif @@ -1248,7 +1248,7 @@ owner = gaim_blist_node_get_string(node, GROUP_KEY_OWNER); if(owner && !strcmp(owner, gaim_account_get_username(acct))) { act = gaim_menu_action_new(_("Get Notes Address Book Info"), - blist_menu_nab, pd, NULL); + GAIM_CALLBACK(blist_menu_nab), pd, NULL); *menu = g_list_append(*menu, act); } }