Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
11200:4295083cf489 | 11201:07dc8c6a359f |
---|---|
1075 } | 1075 } |
1076 | 1076 |
1077 buf = g_string_free(s, FALSE); | 1077 buf = g_string_free(s, FALSE); |
1078 #if 0 /* XXX for now, let's not show attrs here */ | 1078 #if 0 /* XXX for now, let's not show attrs here */ |
1079 if (client_entry->attrs) | 1079 if (client_entry->attrs) |
1080 gaim_request_action(NULL, _("User Information"), | 1080 gaim_request_action(gc, _("User Information"), |
1081 _("User Information"), | 1081 _("User Information"), |
1082 buf, 1, client_entry, 2, | 1082 buf, 1, client_entry, 2, |
1083 _("OK"), G_CALLBACK(silcgaim_whois_more), | 1083 _("OK"), G_CALLBACK(silcgaim_whois_more), |
1084 _("More..."), G_CALLBACK(silcgaim_whois_more)); | 1084 _("More..."), G_CALLBACK(silcgaim_whois_more)); |
1085 else | 1085 else |
1693 | 1693 |
1694 if (!internal) | 1694 if (!internal) |
1695 return; | 1695 return; |
1696 internal->completion = completion; | 1696 internal->completion = completion; |
1697 internal->context = context; | 1697 internal->context = context; |
1698 gaim_request_input(NULL, _("Passphrase"), NULL, | 1698 gaim_request_input(client->application, _("Passphrase"), NULL, |
1699 _("Passphrase required"), NULL, FALSE, TRUE, NULL, | 1699 _("Passphrase required"), NULL, FALSE, TRUE, NULL, |
1700 _("OK"), G_CALLBACK(silc_ask_passphrase_cb), | 1700 _("OK"), G_CALLBACK(silc_ask_passphrase_cb), |
1701 _("Cancel"), G_CALLBACK(silc_ask_passphrase_cb), | 1701 _("Cancel"), G_CALLBACK(silc_ask_passphrase_cb), |
1702 internal); | 1702 internal); |
1703 } | 1703 } |