changeset 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 1577b8e194de
children 7324922a8849
files src/protocols/sametime/sametime.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
   }
 }