diff options
-rw-r--r-- | widgets/menus/gal-view-etable.c | 6 |
1 files changed, 5 insertions, 1 deletions
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)); } |