From c21c4013ccb4531db1f286d403444113f06a3cc0 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Sat, 22 Feb 2003 23:00:59 +0000 Subject: A result of 0 no longer indicates success; GTK_RESPONSE_OK does. 2003-02-22 Hans Petter Jansson * e-categories-config.c (e_categories_config_open_dialog_for_entry): A result of 0 no longer indicates success; GTK_RESPONSE_OK does. svn path=/trunk/; revision=19998 --- e-util/e-categories-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-categories-config.c') 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); -- cgit v1.2.3