diff --git a/src/backends/meta-renderer.c b/src/backends/meta-renderer.c index 2740795cb..8808a52ef 100644 --- a/src/backends/meta-renderer.c +++ b/src/backends/meta-renderer.c @@ -366,14 +366,14 @@ meta_renderer_set_property (GObject *object, } static void -meta_renderer_finalize (GObject *object) +meta_renderer_dispose (GObject *object) { MetaRenderer *renderer = META_RENDERER (object); MetaRendererPrivate *priv = meta_renderer_get_instance_private (renderer); g_clear_list (&priv->views, g_object_unref); - G_OBJECT_CLASS (meta_renderer_parent_class)->finalize (object); + G_OBJECT_CLASS (meta_renderer_parent_class)->dispose (object); } static void @@ -388,7 +388,7 @@ meta_renderer_class_init (MetaRendererClass *klass) object_class->get_property = meta_renderer_get_property; object_class->set_property = meta_renderer_set_property; - object_class->finalize = meta_renderer_finalize; + object_class->dispose = meta_renderer_dispose; klass->rebuild_views = meta_renderer_real_rebuild_views; klass->get_views_for_monitor = meta_renderer_real_get_views_for_monitor;