Skip to content

Commit a712760

Browse files
committed
Demo: fix 'Don't know how to handle this item' GTK warning
1 parent 2b69ded commit a712760

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

examples/demo/menu-bar.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ set_up_menubar (GtkWindow *layer_window)
1717
gtk_application_set_menubar (GTK_APPLICATION (gtk_window_get_application (layer_window)), G_MENU_MODEL (menubar));
1818
gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (layer_window), TRUE);
1919
GMenuItem *menu_item = g_menu_item_new ("GTK4 Layer Demo", NULL);
20-
g_menu_append_item (menubar, menu_item);
2120
GMenu *menu = g_menu_new ();
2221
GMenuItem *menu_item_quit = g_menu_item_new ("Quit", "app.quit");
2322
g_menu_append_item (menu, menu_item_quit);

0 commit comments

Comments
 (0)