summaryrefslogtreecommitdiff
path: root/src/about.c
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2006-03-31 04:20:47 +0000
committerLucas Almeida Rocha <lucasr@src.gnome.org>2006-03-31 04:20:47 +0000
commita8363ee2199e82d547a3f90f119069c90448a0d7 (patch)
treeca7fd06772158fdb044269054dd4675d148f9786 /src/about.c
parent6a849915570d82ead2de81c7c96ca4a647b41da3 (diff)
downloadzenity-a8363ee2199e82d547a3f90f119069c90448a0d7.tar.gz
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).
Diffstat (limited to 'src/about.c')
-rw-r--r--src/about.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/about.c b/src/about.c
index 2fe95aa..9586d53 100644
--- a/src/about.c
+++ b/src/about.c
@@ -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