# HG changeset patch # User Etan Reisner # Date 1137549257 0 # Node ID 66e424d4bc7768161a5f9d562217923d3bfffd46 # Parent 1577b8e194deb4794c0aed4667aa69d87001980d [gaim-migrate @ 15274] 20:49:08 deryni: sametime.c: In function 'blist_node_menu_cb': 20:49:08 sametime.c:1251: warning: passing argument 2 of 'gaim_menu_action_new' from incompatible pointer type 20:49:38 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. committer: Tailor Script diff -r 1577b8e194de -r 66e424d4bc77 src/protocols/sametime/sametime.c --- 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); } }