quit zenity on dialog response (Fixes bug #336505).

2006-03-31  Lucas Rocha  <lucasr@gnome.org>

	* src/about.c (zenity_about_dialog_response): quit zenity
	on dialog response (Fixes bug #336505).
This commit is contained in:
Lucas Rocha 2006-03-31 04:20:47 +00:00 committed by Lucas Almeida Rocha
parent 6a84991557
commit a8363ee219
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-31 Lucas Rocha <lucasr@gnome.org>
* src/about.c (zenity_about_dialog_response): quit zenity
on dialog response (Fixes bug #336505).
2006-03-23 Lucas Rocha <lucasr@gnome.org>
* src/fileselection.c, zenity.h, option.c: add

View File

@ -292,7 +292,6 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data)
switch (response) {
case GTK_RESPONSE_CLOSE:
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
gtk_main_quit ();
break;
default:
@ -300,6 +299,8 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data)
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC);
break;
}
gtk_main_quit ();
}
static void