forked from AuroraMiddleware/gtk
Fix testmenubutton
The menu model examples was messing up the order of its items.
This commit is contained in:
parent
987b56973c
commit
37c9a9aafe
@ -141,7 +141,7 @@ int main (int argc, char **argv)
|
||||
item = g_menu_item_new (label, NULL);
|
||||
if (i == 3)
|
||||
g_menu_item_set_attribute (item, "icon", "s", "preferences-desktop-locale-symbolic");
|
||||
g_menu_insert_item (menu, i - 1, item);
|
||||
g_menu_insert_item (menu, 0, item);
|
||||
g_object_unref (item);
|
||||
g_free (label);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user