mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
GMenu: add g_menu_remove_all() API
Removes all of the items from a GMenu. The keyboard indicator wants to do this as part of refreshing the layout list, as an example. https://bugzilla.gnome.org/show_bug.cgi?id=697601
This commit is contained in:
@@ -63,6 +63,9 @@ GLIB_AVAILABLE_IN_2_32
|
||||
void g_menu_remove (GMenu *menu,
|
||||
gint position);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_38
|
||||
void g_menu_remove_all (GMenu *menu);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_menu_insert (GMenu *menu,
|
||||
gint position,
|
||||
|
Reference in New Issue
Block a user