summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.c')
-rw-r--r--src/entry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/entry.c b/src/entry.c
index 36ff704a..4d242160 100644
--- a/src/entry.c
+++ b/src/entry.c
@@ -98,12 +98,10 @@ zenity_entry_dialog_response (GtkWidget *widget, int response, gpointer data)
if (text != NULL)
g_print ("%s\n", text);
- gtk_main_quit ();
break;
case GTK_RESPONSE_CANCEL:
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL);
- gtk_main_quit ();
break;
default:
@@ -111,4 +109,5 @@ zenity_entry_dialog_response (GtkWidget *widget, int response, gpointer data)
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC);
break;
}
+ gtk_main_quit ();
}
bgstack15