From a8363ee2199e82d547a3f90f119069c90448a0d7 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Fri, 31 Mar 2006 04:20:47 +0000 Subject: quit zenity on dialog response (Fixes bug #336505). 2006-03-31 Lucas Rocha * src/about.c (zenity_about_dialog_response): quit zenity on dialog response (Fixes bug #336505). --- ChangeLog | 5 +++++ src/about.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 082730a9..add2eb4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-31 Lucas Rocha + + * src/about.c (zenity_about_dialog_response): quit zenity + on dialog response (Fixes bug #336505). + 2006-03-23 Lucas Rocha * src/fileselection.c, zenity.h, option.c: add 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 -- cgit