mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
GSimpleActionGroup: Deprecated redundant API
See https://bugzilla.gnome.org/show_bug.cgi?id=705600
This commit is contained in:
parent
a5fd296cc8
commit
844589b03e
@ -309,6 +309,8 @@ g_simple_action_group_new (void)
|
||||
* Returns: (transfer none): a #GAction, or %NULL
|
||||
*
|
||||
* Since: 2.28
|
||||
*
|
||||
* Deprecated: 2.38: Use g_action_map_lookup_action()
|
||||
*/
|
||||
GAction *
|
||||
g_simple_action_group_lookup (GSimpleActionGroup *simple,
|
||||
@ -332,6 +334,8 @@ g_simple_action_group_lookup (GSimpleActionGroup *simple,
|
||||
* The action group takes its own reference on @action.
|
||||
*
|
||||
* Since: 2.28
|
||||
*
|
||||
* Deprecated: 2.38: Use g_action_map_add_action()
|
||||
**/
|
||||
void
|
||||
g_simple_action_group_insert (GSimpleActionGroup *simple,
|
||||
@ -352,6 +356,8 @@ g_simple_action_group_insert (GSimpleActionGroup *simple,
|
||||
* If no action of this name is in the group then nothing happens.
|
||||
*
|
||||
* Since: 2.28
|
||||
*
|
||||
* Deprecated: 2.38: Use g_action_map_remove_action()
|
||||
**/
|
||||
void
|
||||
g_simple_action_group_remove (GSimpleActionGroup *simple,
|
||||
@ -375,6 +381,8 @@ g_simple_action_group_remove (GSimpleActionGroup *simple,
|
||||
* and adding them to the action group.
|
||||
*
|
||||
* Since: 2.30
|
||||
*
|
||||
* Deprecated: 2.38: Use g_action_map_add_action_entries()
|
||||
**/
|
||||
void
|
||||
g_simple_action_group_add_entries (GSimpleActionGroup *simple,
|
||||
|
@ -76,19 +76,19 @@ GType g_simple_action_group_get_type (void) G
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GSimpleActionGroup * g_simple_action_group_new (void);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GLIB_DEPRECATED_IN_2_38_FOR (g_action_map_lookup_action)
|
||||
GAction * g_simple_action_group_lookup (GSimpleActionGroup *simple,
|
||||
const gchar *action_name);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GLIB_DEPRECATED_IN_2_38_FOR (g_action_map_add_action)
|
||||
void g_simple_action_group_insert (GSimpleActionGroup *simple,
|
||||
GAction *action);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GLIB_DEPRECATED_IN_2_38_FOR (g_action_map_remove_action)
|
||||
void g_simple_action_group_remove (GSimpleActionGroup *simple,
|
||||
const gchar *action_name);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
GLIB_DEPRECATED_IN_2_38_FOR (g_action_map_add_action_entries)
|
||||
void g_simple_action_group_add_entries (GSimpleActionGroup *simple,
|
||||
const GActionEntry *entries,
|
||||
gint n_entries,
|
||||
|
Loading…
Reference in New Issue
Block a user