# HG changeset patch # User Christian Hammond # Date 1055493001 0 # Node ID 4676b498ff4b9c7116c2b0513039336075bd69e2 # Parent 3a5de5b6183d0e1020f2161db43db5996b062c35 [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 diff -r 3a5de5b6183d -r 4676b498ff4b src/gtkrequest.c --- 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));