Commit e3da945
committed
Update GTK application menu handling on Linux
Replaces G_APPLICATION_FLAGS_NONE with G_APPLICATION_DEFAULT_FLAGS when creating the GTK application. Removes unsupported call to gtk_application_set_app_menu with legacy GtkMenu widgets and updates comments to clarify that application menus are not supported with legacy menus in GTK3. Returns false to indicate unsupported operation and adds a TODO for future GMenuModel implementation.1 parent 312c351 commit e3da945
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
0 commit comments