diff 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
line wrap: on
line diff
--- a/src/gtkrequest.c	Sun Jul 13 18:33:25 2003 +0000
+++ b/src/gtkrequest.c	Sun Jul 13 18:43:30 2003 +0000
@@ -79,7 +79,7 @@
 
 	if (id < data->cb_count && data->cbs[id] != NULL)
 		((GaimRequestInputCb)data->cbs[id])(data->user_data, value);
-	else
+	else if (data->cbs[1] != NULL)
 		((GaimRequestInputCb)data->cbs[1])(data->user_data, value);
 
 	gaim_request_close(GAIM_REQUEST_INPUT, data);