[gnome-settings-daemon/wip/input-sources: 3/5] keyboard: Remove a needless GObject constructor override



commit 343802f733bc4a68b8483b3d92866f0cc3eaeff3
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Apr 17 15:32:30 2012 +0200

    keyboard: Remove a needless GObject constructor override

 plugins/keyboard/gsd-keyboard-manager.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index 909ded4..8c4badf 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -791,26 +791,11 @@ gsd_keyboard_manager_stop (GsdKeyboardManager *manager)
 	}
 }
 
-static GObject *
-gsd_keyboard_manager_constructor (GType                  type,
-                                  guint                  n_construct_properties,
-                                  GObjectConstructParam *construct_properties)
-{
-        GsdKeyboardManager      *keyboard_manager;
-
-        keyboard_manager = GSD_KEYBOARD_MANAGER (G_OBJECT_CLASS (gsd_keyboard_manager_parent_class)->constructor (type,
-                                                                                                      n_construct_properties,
-                                                                                                      construct_properties));
-
-        return G_OBJECT (keyboard_manager);
-}
-
 static void
 gsd_keyboard_manager_class_init (GsdKeyboardManagerClass *klass)
 {
         GObjectClass   *object_class = G_OBJECT_CLASS (klass);
 
-        object_class->constructor = gsd_keyboard_manager_constructor;
         object_class->finalize = gsd_keyboard_manager_finalize;
 
         g_type_class_add_private (klass, sizeof (GsdKeyboardManagerPrivate));



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