Mercurial > pidgin
comparison libpurple/protocols/silc10/buddy.c @ 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 | 6de09629f091 |
children | 665e04562de0 |
comparison
equal
deleted
inserted
replaced
21432:4acd6a71b0ef | 21433:eb624956319a |
---|---|
309 a->hostname = strdup(hostname); | 309 a->hostname = strdup(hostname); |
310 a->port = port; | 310 a->port = port; |
311 | 311 |
312 purple_request_action_with_hint(client->application, _("Key Agreement Request"), tmp, | 312 purple_request_action_with_hint(client->application, _("Key Agreement Request"), tmp, |
313 hostname ? tmp2 : NULL, 1, gc->account, client_entry->nickname, | 313 hostname ? tmp2 : NULL, 1, gc->account, client_entry->nickname, |
314 NULL, a, PURPLE_REQUEST_UI_HINT_BLIST, 2, _("Yes"), G_CALLBACK(silcpurple_buddy_keyagr_request_cb), | 314 NULL, PURPLE_REQUEST_UI_HINT_BLIST, a, 2, _("Yes"), G_CALLBACK(silcpurple_buddy_keyagr_request_cb), |
315 _("No"), G_CALLBACK(silcpurple_buddy_keyagr_request_cb)); | 315 _("No"), G_CALLBACK(silcpurple_buddy_keyagr_request_cb)); |
316 } | 316 } |
317 | 317 |
318 static void | 318 static void |
319 silcpurple_buddy_keyagr(PurpleBlistNode *node, gpointer data) | 319 silcpurple_buddy_keyagr(PurpleBlistNode *node, gpointer data) |