changeset 11246:df67c09ade6e

[gaim-migrate @ 13415] Fix another one of those gaim_request handler bugs. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Aug 2005 00:49:50 +0000
parents 5c15a709835f
children e5aa4398003e
files src/protocols/novell/novell.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/novell/novell.c	Sat Aug 13 00:33:48 2005 +0000
+++ b/src/protocols/novell/novell.c	Sat Aug 13 00:49:50 2005 +0000
@@ -1867,6 +1867,7 @@
 _evt_conference_invite(NMUser * user, NMEvent * event)
 {
 	NMUserRecord *ur;
+	GaimConnection *gc;
 	GSList *parms = NULL;
 	const char *title = NULL;
 	const char *secondary = NULL;
@@ -1896,7 +1897,8 @@
 	parms = g_slist_append(parms, nm_event_get_conference(event));
 
 	/* Prompt the user */
-	gaim_request_action(NULL, title, primary, secondary, 
+	gc = gaim_account_get_connection(user->client_data);
+	gaim_request_action(gc, title, primary, secondary,
 						GAIM_DEFAULT_ACTION_NONE, parms, 2,
 						_("Yes"), G_CALLBACK(_join_conference_cb),
 						_("No"), G_CALLBACK(_reject_conference_cb));