diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-06-13 19:37:59 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-06-13 19:37:59 -0400 |
commit | 5dbaade78cd581dec9f08baec76a53ffc63d657e (patch) | |
tree | 3d93af7fc13f47f83a61bbcb327b33f1623514f7 /gtk/gtkentry.c | |
parent | 4c94f7b217a28bcbfc6dea5d64d8325cff42f0a2 (diff) | |
download | gtk+-text-action-group.tar.gz |
quick port of GtkText to be an action grouptext-action-group
Just to see how that works.
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r-- | gtk/gtkentry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 878cfee2f3..9a269106db 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -3521,11 +3521,13 @@ set_show_emoji_icon (GtkEntry *entry, g_object_notify_by_pspec (G_OBJECT (entry), entry_props[PROP_SHOW_EMOJI_ICON]); gtk_widget_queue_resize (GTK_WIDGET (entry)); +#if 0 actions = gtk_widget_get_action_group (priv->text, "context"); action = g_action_map_lookup_action (G_ACTION_MAP (actions), "insert-emoji"); g_simple_action_set_enabled (G_SIMPLE_ACTION (action), priv->show_emoji_icon || (gtk_entry_get_input_hints (entry) & GTK_INPUT_HINT_NO_EMOJI) == 0); +#endif } GtkEventController * |