keyboard: remove unused code
CcKeyboardItem overrides GObject:constructor with an empty function that only hooks up with the parent constructor. https://bugzilla.gnome.org/show_bug.cgi?id=769063
This commit is contained in:
parent
1c85479742
commit
d0c32c38a3
1 changed files with 0 additions and 15 deletions
|
@ -244,20 +244,6 @@ cc_keyboard_item_get_property (GObject *object,
|
|||
}
|
||||
}
|
||||
|
||||
static GObject *
|
||||
cc_keyboard_item_constructor (GType type,
|
||||
guint n_construct_properties,
|
||||
GObjectConstructParam *construct_properties)
|
||||
{
|
||||
CcKeyboardItem *keyboard_item;
|
||||
|
||||
keyboard_item = CC_KEYBOARD_ITEM (G_OBJECT_CLASS (cc_keyboard_item_parent_class)->constructor (type,
|
||||
n_construct_properties,
|
||||
construct_properties));
|
||||
|
||||
return G_OBJECT (keyboard_item);
|
||||
}
|
||||
|
||||
static void
|
||||
cc_keyboard_item_class_init (CcKeyboardItemClass *klass)
|
||||
{
|
||||
|
@ -265,7 +251,6 @@ cc_keyboard_item_class_init (CcKeyboardItemClass *klass)
|
|||
|
||||
object_class->get_property = cc_keyboard_item_get_property;
|
||||
object_class->set_property = cc_keyboard_item_set_property;
|
||||
object_class->constructor = cc_keyboard_item_constructor;
|
||||
object_class->finalize = cc_keyboard_item_finalize;
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue