keyboard: Expose creating sections directly

This commit is contained in:
Dorota Czaplejewicz
2019-08-02 15:24:49 +00:00
parent 18163e3ecc
commit c8adb45ab5
4 changed files with 10 additions and 22 deletions

View File

@ -29,7 +29,7 @@ test_create (void)
EekKey *key0, *key1;
keyboard = g_object_new (EEK_TYPE_KEYBOARD, NULL);
section = eek_keyboard_create_section (keyboard);
section = eek_keyboard_real_create_section (keyboard);
g_assert (EEK_IS_SECTION(section));
eek_section_add_row (section, 2, EEK_ORIENTATION_HORIZONTAL);
key0 = eek_section_create_key (section, "key0", 1);