key: Share state between multiple keys
This commit is contained in:
		@ -32,9 +32,9 @@ test_create (void)
 | 
			
		||||
    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);
 | 
			
		||||
    key0 = eek_section_create_key (section, "key0", 1, 0);
 | 
			
		||||
    g_assert (EEK_IS_KEY(key0));
 | 
			
		||||
    key1 = eek_section_create_key (section, "key1", 2);
 | 
			
		||||
    key1 = eek_section_create_key (section, "key1", 2, 0);
 | 
			
		||||
    g_assert (EEK_IS_KEY(key1));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user