mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Merge branch 'emoji-multi-click' into 'main'
emojichooser: Avoid extra work Closes #6336 See merge request GNOME/gtk!7675
This commit is contained in:
commit
6c88713f82
@ -452,7 +452,8 @@ emoji_activated (GtkFlowBox *box,
|
||||
|
||||
item = (GVariant*) g_object_get_data (G_OBJECT (child), "emoji-data");
|
||||
modifier = (gunichar) GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (child), "modifier"));
|
||||
add_recent_item (chooser, item, modifier);
|
||||
if ((GtkWidget *) box != chooser->recent.box)
|
||||
add_recent_item (chooser, item, modifier);
|
||||
|
||||
g_signal_emit (data, signals[EMOJI_PICKED], 0, text);
|
||||
g_free (text);
|
||||
|
Loading…
Reference in New Issue
Block a user