keyboard: Drop layout reference

This commit is contained in:
Dorota Czaplejewicz
2019-08-05 11:35:25 +00:00
parent d6b59d16fd
commit 754e79103a
3 changed files with 1 additions and 52 deletions

View File

@ -892,7 +892,7 @@ eek_xml_layout_real_create_keyboard (EekboardContextService *manager,
/* Create an empty keyboard to which geometry and symbols
information are applied. */
EekKeyboard *keyboard = g_object_new (EEK_TYPE_KEYBOARD, "layout", layout, NULL);
EekKeyboard *keyboard = g_object_new (EEK_TYPE_KEYBOARD, NULL);
keyboard->manager = manager;
/* Read geometry information. */