[gnome-settings-daemon] orientation: Remove empty constructor and dispose functions



commit 3b6e6555951451b263d51e4c9cd140fd72c8c2df
Author: Kalev Lember <kalevlember gmail com>
Date:   Sat Sep 7 21:01:01 2013 +0200

    orientation: Remove empty constructor and dispose functions
    
    These were just chaining up.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707705

 plugins/orientation/gsd-orientation-manager.c |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/plugins/orientation/gsd-orientation-manager.c b/plugins/orientation/gsd-orientation-manager.c
index ad5b073..e325c95 100644
--- a/plugins/orientation/gsd-orientation-manager.c
+++ b/plugins/orientation/gsd-orientation-manager.c
@@ -89,33 +89,11 @@ G_DEFINE_TYPE (GsdOrientationManager, gsd_orientation_manager, G_TYPE_OBJECT)
 
 static gpointer manager_object = NULL;
 
-static GObject *
-gsd_orientation_manager_constructor (GType                     type,
-                               guint                      n_construct_properties,
-                               GObjectConstructParam     *construct_properties)
-{
-        GsdOrientationManager      *orientation_manager;
-
-        orientation_manager = GSD_ORIENTATION_MANAGER (G_OBJECT_CLASS 
(gsd_orientation_manager_parent_class)->constructor (type,
-                                                                                                         
n_construct_properties,
-                                                                                                         
construct_properties));
-
-        return G_OBJECT (orientation_manager);
-}
-
-static void
-gsd_orientation_manager_dispose (GObject *object)
-{
-        G_OBJECT_CLASS (gsd_orientation_manager_parent_class)->dispose (object);
-}
-
 static void
 gsd_orientation_manager_class_init (GsdOrientationManagerClass *klass)
 {
         GObjectClass   *object_class = G_OBJECT_CLASS (klass);
 
-        object_class->constructor = gsd_orientation_manager_constructor;
-        object_class->dispose = gsd_orientation_manager_dispose;
         object_class->finalize = gsd_orientation_manager_finalize;
 
         g_type_class_add_private (klass, sizeof (GsdOrientationManagerPrivate));


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