aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-view-instance.c')
-rw-r--r--widgets/menus/gal-view-instance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c
index fc5aff0c63..944918243e 100644
--- a/widgets/menus/gal-view-instance.c
+++ b/widgets/menus/gal-view-instance.c
@@ -168,8 +168,8 @@ gal_view_instance_dispose (GObject *object)
g_free (instance->default_view);
- if (G_OBJECT_CLASS (gal_view_instance_parent_class)->dispose)
- (* G_OBJECT_CLASS (gal_view_instance_parent_class)->dispose)(object);
+ /* Chain up to parent's dispose() method. */
+ G_OBJECT_CLASS (gal_view_instance_parent_class)->dispose (object);
}
static void