Skip to content

Commit

Permalink
Demo: fix 'Don't know how to handle this item' GTK warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wmww committed Nov 5, 2024
1 parent 2b69ded commit a712760
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/demo/menu-bar.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ set_up_menubar (GtkWindow *layer_window)
gtk_application_set_menubar (GTK_APPLICATION (gtk_window_get_application (layer_window)), G_MENU_MODEL (menubar));
gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (layer_window), TRUE);
GMenuItem *menu_item = g_menu_item_new ("GTK4 Layer Demo", NULL);
g_menu_append_item (menubar, menu_item);
GMenu *menu = g_menu_new ();
GMenuItem *menu_item_quit = g_menu_item_new ("Quit", "app.quit");
g_menu_append_item (menu, menu_item_quit);
Expand Down

0 comments on commit a712760

Please sign in to comment.