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
This commit is contained in:
committed by
Hans Petter
parent
dda4471abe
commit
c21c4013cc
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user