summaryrefslogtreecommitdiff
path: root/src
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
parentAdded Dzongkha translation (diff)
downloadzenity-a8363ee2199e82d547a3f90f119069c90448a0d7.tar.gz
zenity-a8363ee2199e82d547a3f90f119069c90448a0d7.tar.bz2
zenity-a8363ee2199e82d547a3f90f119069c90448a0d7.zip
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')
-rw-r--r--src/about.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/about.c b/src/about.c
index 2fe95aa7..9586d537 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
bgstack15