From 6256a19a7f5309a3d1a8be20aa3c3c2cedcb119b Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 7 Jul 2001 02:53:38 +0000 Subject: Changed this to match the changed signal on the ETableConfig object. Fixes 2001-07-06 Christopher James Lahey * gal-view-etable.c (config_changed): Changed this to match the changed signal on the ETableConfig object. Fixes bug 4213. svn path=/trunk/; revision=10876 --- widgets/menus/gal-view-etable.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'widgets/menus') diff --git a/widgets/menus/gal-view-etable.c b/widgets/menus/gal-view-etable.c index d7ef2e2c0e..34b14b3c50 100644 --- a/widgets/menus/gal-view-etable.c +++ b/widgets/menus/gal-view-etable.c @@ -18,10 +18,14 @@ static GalViewClass *gal_view_etable_parent_class; static void -config_changed (ETableConfig *config, ETableState *state, GalViewEtable *view) +config_changed (ETableConfig *config, GalViewEtable *view) { + ETableState *state; if (view->state) gtk_object_unref(GTK_OBJECT(view->state)); + gtk_object_get (GTK_OBJECT (config), + "state", &state, + NULL); view->state = e_table_state_duplicate(state); gal_view_changed(GAL_VIEW(view)); } -- cgit v1.2.3