aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-23 07:00:59 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-23 07:00:59 +0800
commitc21c4013ccb4531db1f286d403444113f06a3cc0 (patch)
tree1b67ae8e1e6f2ac9c96dd75429bde479d908c075
parentdda4471abe7842024d5551d7153e49787ba6423d (diff)
downloadgsoc2013-evolution-c21c4013ccb4531db1f286d403444113f06a3cc0.tar
gsoc2013-evolution-c21c4013ccb4531db1f286d403444113f06a3cc0.tar.gz
gsoc2013-evolution-c21c4013ccb4531db1f286d403444113f06a3cc0.tar.bz2
gsoc2013-evolution-c21c4013ccb4531db1f286d403444113f06a3cc0.tar.lz
gsoc2013-evolution-c21c4013ccb4531db1f286d403444113f06a3cc0.tar.xz
gsoc2013-evolution-c21c4013ccb4531db1f286d403444113f06a3cc0.tar.zst
gsoc2013-evolution-c21c4013ccb4531db1f286d403444113f06a3cc0.zip
A result of 0 no longer indicates success; GTK_RESPONSE_OK does.
2003-02-22 Hans Petter Jansson <hpj@ximian.com> * 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
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-categories-config.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 69bb9f6e19..1601851dde 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-22 Hans Petter Jansson <hpj@ximian.com>
+
+ * e-categories-config.c (e_categories_config_open_dialog_for_entry):
+ A result of 0 no longer indicates success; GTK_RESPONSE_OK does.
+
2003-02-17 Chris Toshok <toshok@ximian.com>
* e-account-list.c (gconf_accounts_changed): fix memleak - free
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);