aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-request.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-05-05 08:56:34 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-05-05 08:56:34 +0800
commit31289d7eb3a248073fa138e0210976f44dd6fdff (patch)
treed245ee9ba67ee9573e682bc6e8d57438a1bb3337 /e-util/e-request.c
parenta64932a7754dcbc5d10fd77ecce959eb32e642cd (diff)
downloadgsoc2013-evolution-31289d7eb3a248073fa138e0210976f44dd6fdff.tar.gz
gsoc2013-evolution-31289d7eb3a248073fa138e0210976f44dd6fdff.tar.zst
gsoc2013-evolution-31289d7eb3a248073fa138e0210976f44dd6fdff.zip
remove the assert, if we dont understand the response, assume it's a
2003-05-02 Not Zed <NotZed@Ximian.com> * e-request.c (e_request_string): remove the assert, if we dont understand the response, assume it's a cancel. GTK_RESPONSE_DELETE_EVENT wasn't handled [#42038]. svn path=/trunk/; revision=21100
Diffstat (limited to 'e-util/e-request.c')
-rw-r--r--e-util/e-request.c5
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);