aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-categories-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-categories-config.c')
-rw-r--r--e-util/e-categories-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-categories-config.c b/e-util/e-categories-config.c
index 9dcfc53da5..e5e4c0592e 100644
--- a/e-util/e-categories-config.c
+++ b/e-util/e-categories-config.c
@@ -192,7 +192,7 @@ e_categories_config_open_dialog_for_entry (GtkEntry *entry)
/* run the dialog */
result = gtk_dialog_run (dialog);
- if (result == 0) {
+ if (result == GTK_RESPONSE_OK) {
g_object_get (dialog, "categories", &categories, NULL);
gtk_entry_set_text (GTK_ENTRY (entry), categories);
g_free (categories);