diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-18 22:30:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-20 08:24:52 -0400 |
commit | 4786a1669621be5ec89b59820e11192d4ccb0b61 (patch) | |
tree | 5696a5ecdae6028fdcf2b1e1b855cee109ad8be8 /gtk/gtktextview.c | |
parent | 14bb12125f1cd5c70bf069257f809544fe4dc42c (diff) | |
download | gtk+-4786a1669621be5ec89b59820e11192d4ccb0b61.tar.gz |
actionmuxer: Port internal users
Port all internal users of the action muxer
from the GActionGroup interface to the new
action muxer apis.
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r-- | gtk/gtktextview.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index f2993b4c28..1f899176e2 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -8741,7 +8741,7 @@ append_bubble_item (GtkTextView *text_view, const char *action_name; GMenuModel *link; gboolean is_toggle_action = FALSE; - GActionGroup *group = NULL; + GtkActionMuxer *muxer; gboolean enabled; const GVariantType *param_type; const GVariantType *state_type; @@ -8769,10 +8769,10 @@ append_bubble_item (GtkTextView *text_view, action_name = g_variant_get_string (att, NULL); g_variant_unref (att); - group = G_ACTION_GROUP (_gtk_widget_get_action_muxer (GTK_WIDGET (text_view), FALSE)); - if (group) + muxer = _gtk_widget_get_action_muxer (GTK_WIDGET (text_view), FALSE); + if (muxer) { - g_action_group_query_action (group, action_name, &enabled, ¶m_type, &state_type, NULL, NULL); + gtk_action_muxer_query_action (muxer, action_name, &enabled, ¶m_type, &state_type, NULL, NULL); if (!enabled) return; |