Mercurial > pidgin.yaz
changeset 5846:4676b498ff4b
[gaim-migrate @ 6277]
This explains why my data was all corrupted.. Added the missing variable in
the focus-out-event callbacks before the user_data variable :)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 13 Jun 2003 08:30:01 +0000 |
parents | 3a5de5b6183d |
children | 54513d0bfb83 |
files | src/gtkrequest.c |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkrequest.c Fri Jun 13 08:20:22 2003 +0000 +++ b/src/gtkrequest.c Fri Jun 13 08:30:01 2003 +0000 @@ -93,7 +93,8 @@ } static gboolean -field_string_focus_out_cb(GtkEntry *entry, GaimRequestField *field) +field_string_focus_out_cb(GtkEntry *entry, GdkEventFocus *event, + GaimRequestField *field) { const char *value = gtk_entry_get_text(entry); @@ -104,7 +105,8 @@ } static gboolean -field_int_focus_out_cb(GtkEntry *entry, GaimRequestField *field) +field_int_focus_out_cb(GtkEntry *entry, GdkEventFocus *event, + GaimRequestField *field) { gaim_request_field_int_set_value(field, atoi(gtk_entry_get_text(entry))); @@ -507,6 +509,10 @@ type = gaim_request_field_get_type(field); + gaim_debug(GAIM_DEBUG_MISC, "gtkrequest", + "type = %d (%d)\n", + type, field->type); + if (type != GAIM_REQUEST_FIELD_BOOLEAN) { text = g_strdup_printf("%s:", gaim_request_field_get_label(field));