[Xfce4-commits] <xfce4-panel:devel> * Don't peek the parent class, already done by G_DEFINE_TYPE.

Nick Schermer nick at xfce.org
Tue Aug 11 20:24:09 CEST 2009


Updating branch refs/heads/devel
         to 2f49c1b0b68e985d7cfd4d90e756e6151cbc4f57 (commit)
       from a9f398db646f455cfe565b5f32097dbbe66c3f10 (commit)

commit 2f49c1b0b68e985d7cfd4d90e756e6151cbc4f57
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Aug 22 18:11:45 2008 +0200

    * Don't peek the parent class, already done by G_DEFINE_TYPE.

 panel/panel-module-factory.c |    2 --
 panel/panel-window.c         |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/panel/panel-module-factory.c b/panel/panel-module-factory.c
index 52af740..a64cc68 100644
--- a/panel/panel-module-factory.c
+++ b/panel/panel-module-factory.c
@@ -88,8 +88,6 @@ panel_module_factory_class_init (PanelModuleFactoryClass *klass)
 {
   GObjectClass *gobject_class;
 
-  panel_module_factory_parent_class = g_type_class_peek_parent (klass);
-
   gobject_class = G_OBJECT_CLASS (klass);
   gobject_class->finalize = panel_module_factory_finalize;
 
diff --git a/panel/panel-window.c b/panel/panel-window.c
index 3dc22cb..d1141d4 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -197,8 +197,6 @@ panel_window_class_init (PanelWindowClass *klass)
   GObjectClass   *gobject_class;
   GtkWidgetClass *gtkwidget_class;
 
-  panel_window_parent_class = g_type_class_peek_parent (klass);
-
   gobject_class = G_OBJECT_CLASS (klass);
   gobject_class->get_property = panel_window_get_property;
   gobject_class->finalize = panel_window_finalize;



More information about the Xfce4-commits mailing list