changeset 21433:eb624956319a

Fix usage of purple_request_action_with_hint() (again?), hint and user_data were somehow reversed, but "mtn log" isn't showing anything suspect ...
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 12 Nov 2007 01:42:39 +0000
parents 4acd6a71b0ef
children 0463b0733a9e
files libpurple/protocols/silc10/buddy.c libpurple/protocols/silc10/pk.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc10/buddy.c	Mon Nov 12 00:00:52 2007 +0000
+++ b/libpurple/protocols/silc10/buddy.c	Mon Nov 12 01:42:39 2007 +0000
@@ -311,7 +311,7 @@
 
 	purple_request_action_with_hint(client->application, _("Key Agreement Request"), tmp,
 			    hostname ? tmp2 : NULL, 1, gc->account, client_entry->nickname,
-				NULL, a, PURPLE_REQUEST_UI_HINT_BLIST, 2, _("Yes"), G_CALLBACK(silcpurple_buddy_keyagr_request_cb),
+				NULL, PURPLE_REQUEST_UI_HINT_BLIST, a, 2, _("Yes"), G_CALLBACK(silcpurple_buddy_keyagr_request_cb),
 			    _("No"), G_CALLBACK(silcpurple_buddy_keyagr_request_cb));
 }
 
--- a/libpurple/protocols/silc10/pk.c	Mon Nov 12 00:00:52 2007 +0000
+++ b/libpurple/protocols/silc10/pk.c	Mon Nov 12 01:42:39 2007 +0000
@@ -115,7 +115,7 @@
 
 	purple_request_action_with_hint(gc, _("Verify Public Key"), tmp, tmp2,
 						PURPLE_DEFAULT_ACTION_NONE,
-						purple_connection_get_account(gc), entity, NULL, verify, PURPLE_REQUEST_UI_HINT_BLIST, 3,
+						purple_connection_get_account(gc), entity, NULL, PURPLE_REQUEST_UI_HINT_BLIST, verify, 3,
 			    _("Yes"), G_CALLBACK(silcpurple_verify_cb),
 			    _("No"), G_CALLBACK(silcpurple_verify_cb),
 			    _("_View..."), G_CALLBACK(silcpurple_verify_details));