keyboard: Expose creating sections directly
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user