Mercurial > pidgin.yaz
comparison src/protocols/sametime/sametime.c @ 12921:66e424d4bc77
[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.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Wed, 18 Jan 2006 01:54:17 +0000 |
parents | 248b8b39c671 |
children | f50a99d5ba9b |
comparison
equal
deleted
inserted
replaced
12920:1577b8e194de | 12921:66e424d4bc77 |
---|---|
1237 #if 0 | 1237 #if 0 |
1238 /* if there's anyone in the group for this acct, offer to invite | 1238 /* if there's anyone in the group for this acct, offer to invite |
1239 them all to a conference */ | 1239 them all to a conference */ |
1240 if(gaim_group_on_account(group, acct)) { | 1240 if(gaim_group_on_account(group, acct)) { |
1241 act = gaim_menu_action_new(_("Invite Group to Conference..."), | 1241 act = gaim_menu_action_new(_("Invite Group to Conference..."), |
1242 blist_menu_group_invite, pd, NULL); | 1242 GAIM_CALLBACK(blist_menu_group_invite), pd, NULL); |
1243 *menu = g_list_append(*menu, NULL); | 1243 *menu = g_list_append(*menu, NULL); |
1244 } | 1244 } |
1245 #endif | 1245 #endif |
1246 | 1246 |
1247 /* check if it's a NAB group for this account */ | 1247 /* check if it's a NAB group for this account */ |
1248 owner = gaim_blist_node_get_string(node, GROUP_KEY_OWNER); | 1248 owner = gaim_blist_node_get_string(node, GROUP_KEY_OWNER); |
1249 if(owner && !strcmp(owner, gaim_account_get_username(acct))) { | 1249 if(owner && !strcmp(owner, gaim_account_get_username(acct))) { |
1250 act = gaim_menu_action_new(_("Get Notes Address Book Info"), | 1250 act = gaim_menu_action_new(_("Get Notes Address Book Info"), |
1251 blist_menu_nab, pd, NULL); | 1251 GAIM_CALLBACK(blist_menu_nab), pd, NULL); |
1252 *menu = g_list_append(*menu, act); | 1252 *menu = g_list_append(*menu, act); |
1253 } | 1253 } |
1254 } | 1254 } |
1255 | 1255 |
1256 | 1256 |