summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2004-07-19 01:13:40 +0000
committerGlynn Foster <gman@src.gnome.org>2004-07-19 01:13:40 +0000
commit63661a6ea0de0250b545d794f645a36ffeb88490 (patch)
tree807e7bc4263448a105e8352b2ed24c135c68ff8b /src/entry.c
parent4dd6dd672ae0f9620a561f45e53daffb76fe8874 (diff)
downloadzenity-63661a6ea0de0250b545d794f645a36ffeb88490.tar.gz
src/calendar.c, src/entry.c, src/fileselection.c, Cleanup fixes from Paul
2004-07-19 Glynn Foster <glynn.foster@sun.com> * src/calendar.c, src/entry.c, src/fileselection.c, * src/msg.c, src/progress.c, src/text.c, src/tree.c: Cleanup fixes from Paul Bolle.
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 36ff704..4d24216 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 ();
}