diff src/protocols/silc/ops.c @ 11201:07dc8c6a359f

[gaim-migrate @ 13329] This hopefully fixes a lot of potential crashes in the SILC PRPL. Possible things to do: -Backport these changes to oldstatus -Ask the SILC guy to make sure all of these make sense. It's likely there are better things that could be used as handles -Check for other places in Gaim that don't give handles when they should committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 08 Aug 2005 02:18:16 +0000
parents 3e43c132f151
children 17142948653e
line wrap: on
line diff
--- a/src/protocols/silc/ops.c	Mon Aug 08 01:40:41 2005 +0000
+++ b/src/protocols/silc/ops.c	Mon Aug 08 02:18:16 2005 +0000
@@ -1077,7 +1077,7 @@
 			buf = g_string_free(s, FALSE);
 #if 0 /* XXX for now, let's not show attrs here */
 			if (client_entry->attrs)
-				gaim_request_action(NULL, _("User Information"),
+				gaim_request_action(gc, _("User Information"),
 						_("User Information"),
 						buf, 1, client_entry, 2,
 						_("OK"), G_CALLBACK(silcgaim_whois_more),
@@ -1695,7 +1695,7 @@
 		return;
 	internal->completion = completion;
 	internal->context = context;
-	gaim_request_input(NULL, _("Passphrase"), NULL,
+	gaim_request_input(client->application, _("Passphrase"), NULL,
 			   _("Passphrase required"), NULL, FALSE, TRUE, NULL,
 			   _("OK"), G_CALLBACK(silc_ask_passphrase_cb),
 			   _("Cancel"), G_CALLBACK(silc_ask_passphrase_cb),