mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
macos: Fix up app menu support
We were forgetting to add the newly loaded app menu to the combined menubar. Pointed out by Dominik Reichardt in #6524. Fixes: #6524
This commit is contained in:
parent
b4f5432d5a
commit
259ad83de9
@ -223,8 +223,7 @@ gtk_application_impl_quartz_startup (GtkApplicationImpl *impl,
|
||||
g_object_set_data_full (G_OBJECT (impl), "APP_DATA", g_object_ref (app_menu), g_object_unref);
|
||||
g_object_unref (builder);
|
||||
}
|
||||
else
|
||||
gtk_application_impl_quartz_set_app_menu (impl, app_menu);
|
||||
gtk_application_impl_quartz_set_app_menu (impl, app_menu);
|
||||
|
||||
/* This may or may not add an item to 'combined' */
|
||||
gtk_application_impl_set_menubar (impl, gtk_application_get_menubar (impl->application));
|
||||
|
Loading…
Reference in New Issue
Block a user