section: Move properties into Row

This commit is contained in:
Dorota Czaplejewicz
2019-08-15 17:33:09 +00:00
parent 3689727fc1
commit 4f8de42598
12 changed files with 467 additions and 130 deletions

View File

@ -31,9 +31,11 @@ test_create (void)
keyboard = g_object_new (EEK_TYPE_KEYBOARD, NULL);
section = eek_keyboard_real_create_section (keyboard);
g_assert (EEK_IS_SECTION(section));
button0 = eek_section_create_button (section, "key0", 1, 0);
struct squeek_row *row = eek_section_get_row(section);
g_assert (row);
button0 = squeek_row_create_button (row, 1, 0);
g_assert (button0);
button1 = eek_section_create_button (section, "key1", 2, 0);
button1 = squeek_row_create_button (row, 2, 0);
g_assert (button1);
}