[mutter] backends: Chain up some GObjectClass vfuncs
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backends: Chain up some GObjectClass vfuncs
- Date: Wed, 20 Sep 2017 09:38:56 +0000 (UTC)
commit 70e0fd0b4521ab11af4dfea551eb61ce318b5505
Author: Jonas Ådahl <jadahl gmail com>
Date: Mon Sep 11 11:12:03 2017 +0800
backends: Chain up some GObjectClass vfuncs
Various vfunc implementations was not chained up properly. This commit
fixes that.
https://bugzilla.gnome.org/show_bug.cgi?id=787477
src/backends/meta-monitor-config-manager.c | 2 ++
src/backends/meta-monitor-config-store.c | 2 ++
src/backends/meta-monitor.c | 4 ++++
3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/meta-monitor-config-manager.c b/src/backends/meta-monitor-config-manager.c
index f1404c0..265269c 100644
--- a/src/backends/meta-monitor-config-manager.c
+++ b/src/backends/meta-monitor-config-manager.c
@@ -1190,6 +1190,8 @@ meta_monitors_config_finalize (GObject *object)
meta_monitors_config_key_free (config->key);
g_list_free_full (config->logical_monitor_configs,
(GDestroyNotify) meta_logical_monitor_config_free);
+
+ G_OBJECT_CLASS (meta_monitors_config_parent_class)->finalize (object);
}
static void
diff --git a/src/backends/meta-monitor-config-store.c b/src/backends/meta-monitor-config-store.c
index be9de65..95cc155 100644
--- a/src/backends/meta-monitor-config-store.c
+++ b/src/backends/meta-monitor-config-store.c
@@ -1407,6 +1407,8 @@ meta_monitor_config_store_constructed (GObject *object)
}
g_free (user_file_path);
+
+ G_OBJECT_CLASS (meta_monitor_config_store_parent_class)->constructed (object);
}
static void
diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c
index 70350c3..ed48a45 100644
--- a/src/backends/meta-monitor.c
+++ b/src/backends/meta-monitor.c
@@ -355,6 +355,8 @@ meta_monitor_finalize (GObject *object)
g_list_free_full (priv->modes, (GDestroyNotify) meta_monitor_mode_free);
g_clear_pointer (&priv->outputs, g_list_free);
meta_monitor_spec_free (priv->spec);
+
+ G_OBJECT_CLASS (meta_monitor_parent_class)->finalize (object);
}
static void
@@ -1190,6 +1192,8 @@ meta_monitor_tiled_finalize (GObject *object)
meta_monitor_manager_tiled_monitor_removed (monitor_priv->monitor_manager,
monitor);
+
+ G_OBJECT_CLASS (meta_monitor_tiled_parent_class)->finalize (object);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]