diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-06-15 22:36:46 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-06-15 21:41:11 -0400 |
commit | cc667926d6265df85f3cfb0896f4d2aeda5e537d (patch) | |
tree | 0e419bc6318bc5b0e7cae45f6044b4afc75db5b7 /gtk/gtkwidget.c | |
parent | bc56860fa1ab8d927ab49652a99da2e7e0003136 (diff) | |
download | gtk+-cc667926d6265df85f3cfb0896f4d2aeda5e537d.tar.gz |
Drop gtk_widget_get_action_group
Ths api exposes too much of the internal
action muxer setup; we want to add actions
to the muxer without an action group.
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r-- | gtk/gtkwidget.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 695085795c..532aecb3cb 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -12414,35 +12414,6 @@ gtk_widget_get_template_child (GtkWidget *widget, } /** - * gtk_widget_get_action_group: - * @widget: A #GtkWidget - * @prefix: The “prefix” of the action group. - * - * Retrieves the #GActionGroup that was registered using @prefix. The resulting - * #GActionGroup may have been registered to @widget or any #GtkWidget in its - * ancestry. - * - * If no action group was found matching @prefix, then %NULL is returned. - * - * Returns: (transfer none) (nullable): A #GActionGroup or %NULL. - */ -GActionGroup * -gtk_widget_get_action_group (GtkWidget *widget, - const gchar *prefix) -{ - GtkActionMuxer *muxer; - - g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL); - g_return_val_if_fail (prefix, NULL); - - muxer = _gtk_widget_get_action_muxer (widget, FALSE); - if (muxer) - return gtk_action_muxer_lookup (muxer, prefix); - - return NULL; -} - -/** * gtk_widget_activate_action: * @widget: a #GtkWidget * @name: a prefixed action name |