aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-view-etable.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/widgets/menus/gal-view-etable.c b/widgets/menus/gal-view-etable.c
index d12f4ae792..b264524c71 100644
--- a/widgets/menus/gal-view-etable.c
+++ b/widgets/menus/gal-view-etable.c
@@ -198,7 +198,11 @@ GalView *
gal_view_etable_new (ETableSpecification *spec,
const gchar *title)
{
- return gal_view_etable_construct (g_object_new (GAL_VIEW_ETABLE_TYPE, NULL), spec, title);
+ GalViewEtable *view;
+
+ view = g_object_new (GAL_VIEW_ETABLE_TYPE, NULL);
+
+ return gal_view_etable_construct (view, spec, title);
}
/**