[mutter] meta-plugin: Remove some cruft



commit 7c1b734053c3b12906d77b80d5284c26f39b6adc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 5 00:45:48 2012 -0400

    meta-plugin: Remove some cruft
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676855

 src/compositor/meta-plugin.c |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)
---
diff --git a/src/compositor/meta-plugin.c b/src/compositor/meta-plugin.c
index f687c0b..dd60d66 100644
--- a/src/compositor/meta-plugin.c
+++ b/src/compositor/meta-plugin.c
@@ -96,20 +96,7 @@ meta_plugin_constructed (GObject *object)
 {
   meta_plugin_set_features (META_PLUGIN (object));
 
-  if (G_OBJECT_CLASS (meta_plugin_parent_class)->constructed)
-      G_OBJECT_CLASS (meta_plugin_parent_class)->constructed (object);
-}
-
-static void
-meta_plugin_dispose (GObject *object)
-{
-  G_OBJECT_CLASS (meta_plugin_parent_class)->dispose (object);
-}
-
-static void
-meta_plugin_finalize (GObject *object)
-{
-  G_OBJECT_CLASS (meta_plugin_parent_class)->finalize (object);
+  G_OBJECT_CLASS (meta_plugin_parent_class)->constructed (object);
 }
 
 static void
@@ -172,8 +159,6 @@ meta_plugin_class_init (MetaPluginClass *klass)
   GObjectClass      *gobject_class = G_OBJECT_CLASS (klass);
 
   gobject_class->constructed     = meta_plugin_constructed;
-  gobject_class->finalize        = meta_plugin_finalize;
-  gobject_class->dispose         = meta_plugin_dispose;
   gobject_class->set_property    = meta_plugin_set_property;
   gobject_class->get_property    = meta_plugin_get_property;
 



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