mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 08:28:53 +02:00
GSimpleActionGroup: Deprecated redundant API
See https://bugzilla.gnome.org/show_bug.cgi?id=705600
This commit is contained in:
@@ -309,6 +309,8 @@ g_simple_action_group_new (void)
|
|||||||
* Returns: (transfer none): a #GAction, or %NULL
|
* Returns: (transfer none): a #GAction, or %NULL
|
||||||
*
|
*
|
||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
|
*
|
||||||
|
* Deprecated: 2.38: Use g_action_map_lookup_action()
|
||||||
*/
|
*/
|
||||||
GAction *
|
GAction *
|
||||||
g_simple_action_group_lookup (GSimpleActionGroup *simple,
|
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.
|
* The action group takes its own reference on @action.
|
||||||
*
|
*
|
||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
|
*
|
||||||
|
* Deprecated: 2.38: Use g_action_map_add_action()
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
g_simple_action_group_insert (GSimpleActionGroup *simple,
|
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.
|
* If no action of this name is in the group then nothing happens.
|
||||||
*
|
*
|
||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
|
*
|
||||||
|
* Deprecated: 2.38: Use g_action_map_remove_action()
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
g_simple_action_group_remove (GSimpleActionGroup *simple,
|
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.
|
* and adding them to the action group.
|
||||||
*
|
*
|
||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
|
*
|
||||||
|
* Deprecated: 2.38: Use g_action_map_add_action_entries()
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
g_simple_action_group_add_entries (GSimpleActionGroup *simple,
|
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
|
GLIB_AVAILABLE_IN_ALL
|
||||||
GSimpleActionGroup * g_simple_action_group_new (void);
|
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,
|
GAction * g_simple_action_group_lookup (GSimpleActionGroup *simple,
|
||||||
const gchar *action_name);
|
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,
|
void g_simple_action_group_insert (GSimpleActionGroup *simple,
|
||||||
GAction *action);
|
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,
|
void g_simple_action_group_remove (GSimpleActionGroup *simple,
|
||||||
const gchar *action_name);
|
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,
|
void g_simple_action_group_add_entries (GSimpleActionGroup *simple,
|
||||||
const GActionEntry *entries,
|
const GActionEntry *entries,
|
||||||
gint n_entries,
|
gint n_entries,
|
||||||
|
Reference in New Issue
Block a user