comparison src/gtkrequest.c @ 6110:d1d8e70cf33d

[gaim-migrate @ 6572] Now when the password field is blank and gaim prompts you for the pass, the gc is now destroyed at that time and then recreated later. This feels more correct to me, I dunno. This means that you can have multiple "enter your password" dialog windows for the same account, though. I don't think this is too big of a deal, so I figured it would be ok. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 13 Jul 2003 18:43:30 +0000
parents 0922bb7a7bbc
children 01ce15fb27eb
comparison
equal deleted inserted replaced
6109:0922bb7a7bbc 6110:d1d8e70cf33d
77 else 77 else
78 value = gtk_entry_get_text(GTK_ENTRY(data->u.input.entry)); 78 value = gtk_entry_get_text(GTK_ENTRY(data->u.input.entry));
79 79
80 if (id < data->cb_count && data->cbs[id] != NULL) 80 if (id < data->cb_count && data->cbs[id] != NULL)
81 ((GaimRequestInputCb)data->cbs[id])(data->user_data, value); 81 ((GaimRequestInputCb)data->cbs[id])(data->user_data, value);
82 else 82 else if (data->cbs[1] != NULL)
83 ((GaimRequestInputCb)data->cbs[1])(data->user_data, value); 83 ((GaimRequestInputCb)data->cbs[1])(data->user_data, value);
84 84
85 gaim_request_close(GAIM_REQUEST_INPUT, data); 85 gaim_request_close(GAIM_REQUEST_INPUT, data);
86 } 86 }
87 87