aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorCharles Zhang <charles.zhang@sun.com>2003-10-10 15:07:35 +0800
committerAntonio Xu <anto@src.gnome.org>2003-10-10 15:07:35 +0800
commit84cf30376eab78cdba74e464ea5fae7812194325 (patch)
treefff329de03837922c681eeafd30dc892549a630e /widgets
parent907f7999167285dcb8bb680d93da09eab94d794c (diff)
downloadgsoc2013-evolution-84cf30376eab78cdba74e464ea5fae7812194325.tar.gz
gsoc2013-evolution-84cf30376eab78cdba74e464ea5fae7812194325.tar.zst
gsoc2013-evolution-84cf30376eab78cdba74e464ea5fae7812194325.zip
process GTK_RESPONSE_DELETE_EVENT signal correctly. the same as above
2003-09-28 Charles Zhang <charles.zhang@sun.com> * e-table-config.c (do_sort_and_group_config_dialog): process GTK_RESPONSE_DELETE_EVENT signal correctly. * e-table-config.c (do_fields_config_dialog): the same as above [#48815] svn path=/trunk/; revision=22852
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index 825e28a5a4..9d8afdb20b 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -442,7 +442,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort)
config->temp_state->sort_info, 0);
}
update_sort_and_group_config_dialog (config, is_sort);
- continue;
+ break;
case GTK_RESPONSE_OK:
g_object_unref (config->state);
@@ -452,6 +452,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort)
config_dialog_changed (config);
break;
+ case GTK_RESPONSE_DELETE_EVENT:
case GTK_RESPONSE_CANCEL:
g_object_unref (config->temp_state);
config->temp_state = 0;
@@ -491,7 +492,7 @@ do_fields_config_dialog (ETableConfig *config)
config_dialog_changed (config);
break;
- /* CANCEL */
+ case GTK_RESPONSE_DELETE_EVENT:
case GTK_RESPONSE_CANCEL:
g_object_unref (config->temp_state);
config->temp_state = 0;