mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
gactionmap: Add g_action_map_remove_action_entries()
Since we have a convenience method to add actions let's allow to remove them just as easily. This makes resource cleanup as simple as initially adding the entries.
This commit is contained in:
committed by
Philip Withnall
parent
ac840b954f
commit
b3b23072f3
@@ -91,6 +91,10 @@ void g_action_map_add_action_entries (GAction
|
||||
const GActionEntry *entries,
|
||||
gint n_entries,
|
||||
gpointer user_data);
|
||||
GIO_AVAILABLE_IN_2_78
|
||||
void g_action_map_remove_action_entries (GActionMap *action_map,
|
||||
const GActionEntry *entries,
|
||||
gint n_entries);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user