diff options
Diffstat (limited to 'e-util/e-request.c')
-rw-r--r-- | e-util/e-request.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/e-util/e-request.c b/e-util/e-request.c index 6d110cfdf8..65c6a8e84b 100644 --- a/e-util/e-request.c +++ b/e-util/e-request.c @@ -91,12 +91,9 @@ e_request_string (GtkWindow *parent, case GTK_RESPONSE_OK: text = g_strdup (gtk_entry_get_text (GTK_ENTRY (entry))); break; - case GTK_RESPONSE_CANCEL: - case GTK_RESPONSE_NONE: + default: text = NULL; break; - default: - g_assert_not_reached (); } gtk_widget_destroy (dialog); |