[mutter] monitor-manager/xrandr: Chain up constructed vfunc



commit a17b343c214196d98d76810524592af9d6107977
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Oct 13 17:01:31 2017 +0800

    monitor-manager/xrandr: Chain up constructed vfunc
    
    'monitor-manager: Keep pointer to backend' added a
    GObjectClass::constructed implementation, but didn't chain it up to the
    parent. Fix that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788921

 src/backends/x11/meta-monitor-manager-xrandr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/x11/meta-monitor-manager-xrandr.c b/src/backends/x11/meta-monitor-manager-xrandr.c
index 70713f4..7efbd79 100644
--- a/src/backends/x11/meta-monitor-manager-xrandr.c
+++ b/src/backends/x11/meta-monitor-manager-xrandr.c
@@ -919,6 +919,8 @@ meta_monitor_manager_xrandr_constructed (GObject *object)
       meta_monitor_manager_xrandr_init_monitors (manager_xrandr);
 #endif
     }
+
+  G_OBJECT_CLASS (meta_monitor_manager_xrandr_parent_class)->constructed (object);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]