Mercurial > pidgin.yaz
comparison src/gtkrequest.c @ 5498:cce2d7868c78
[gaim-migrate @ 5894]
Bye bye do_ask_dialog()! Mwahahahahhaha!
And wit -> with. What wit with the witty with wit comment, wit you jutht
thaw.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 23 May 2003 02:42:52 +0000 |
parents | b7c0be69c749 |
children | da18a02c3705 |
comparison
equal
deleted
inserted
replaced
5497:3c7748b24410 | 5498:cce2d7868c78 |
---|---|
70 } | 70 } |
71 else | 71 else |
72 value = gtk_entry_get_text(GTK_ENTRY(data->u.input.entry)); | 72 value = gtk_entry_get_text(GTK_ENTRY(data->u.input.entry)); |
73 | 73 |
74 if (id < data->cb_count && data->cbs[id] != NULL) | 74 if (id < data->cb_count && data->cbs[id] != NULL) |
75 ((GaimRequestInputCb)data->cbs[id])(value, data->user_data); | 75 ((GaimRequestInputCb)data->cbs[id])(data->user_data, value); |
76 | 76 |
77 gaim_request_close(GAIM_REQUEST_INPUT, data); | 77 gaim_request_close(GAIM_REQUEST_INPUT, data); |
78 } | 78 } |
79 | 79 |
80 static void | 80 static void |
81 __action_response_cb(GtkDialog *dialog, gint id, GaimRequestData *data) | 81 __action_response_cb(GtkDialog *dialog, gint id, GaimRequestData *data) |
82 { | 82 { |
83 if (id < data->cb_count && data->cbs[id] != NULL) | 83 if (id < data->cb_count && data->cbs[id] != NULL) |
84 ((GaimRequestActionCb)data->cbs[id])(id, data->user_data); | 84 ((GaimRequestActionCb)data->cbs[id])(data->user_data, id); |
85 | 85 |
86 gaim_request_close(GAIM_REQUEST_INPUT, data); | 86 gaim_request_close(GAIM_REQUEST_INPUT, data); |
87 } | 87 } |
88 | 88 |
89 #define STOCK_ITEMIZE(r, l) \ | 89 #define STOCK_ITEMIZE(r, l) \ |