[gnome-settings-daemon/wip/input-sources: 4/6] keyboard: Remove a needless GObject constructor override
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/wip/input-sources: 4/6] keyboard: Remove a needless GObject constructor override
- Date: Mon, 23 Apr 2012 21:12:14 +0000 (UTC)
commit 51c1b09f2ecbf6bddfc0c0b63f641554494ff25a
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 dee14ed..26b2514 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -321,26 +321,11 @@ gsd_keyboard_manager_stop (GsdKeyboardManager *manager)
gsd_keyboard_xkb_shutdown ();
}
-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]