[gnome-shell] st: Remove empty dispose/finalize methods from StBoxLayoutChild



commit 741b204fc7e023493d378d9fea8323f6a9a17823
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jul 6 03:02:14 2013 +0200

    st: Remove empty dispose/finalize methods from StBoxLayoutChild
    
    If the only thing we do is chain up to the parent, there's no
    point in not using the parent's implementation directly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703810

 src/st/st-box-layout-child.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/st/st-box-layout-child.c b/src/st/st-box-layout-child.c
index 3d748d5..4a022b3 100644
--- a/src/st/st-box-layout-child.c
+++ b/src/st/st-box-layout-child.c
@@ -111,18 +111,6 @@ st_box_layout_child_set_property (GObject      *object,
 }
 
 static void
-st_box_layout_child_dispose (GObject *object)
-{
-  G_OBJECT_CLASS (st_box_layout_child_parent_class)->dispose (object);
-}
-
-static void
-st_box_layout_child_finalize (GObject *object)
-{
-  G_OBJECT_CLASS (st_box_layout_child_parent_class)->finalize (object);
-}
-
-static void
 st_box_layout_child_class_init (StBoxLayoutChildClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
@@ -130,8 +118,6 @@ st_box_layout_child_class_init (StBoxLayoutChildClass *klass)
 
   object_class->get_property = st_box_layout_child_get_property;
   object_class->set_property = st_box_layout_child_set_property;
-  object_class->dispose = st_box_layout_child_dispose;
-  object_class->finalize = st_box_layout_child_finalize;
 
 
   pspec = g_param_spec_boolean ("expand", "Expand",


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