[gtk/gtk-3-24] emojichooser: Pass chooser to add_emoji



commit dbbc7b3859f4b5d504cc12a54b2eba40e040c7e8
Author: Timm Bäder <mail baedert org>
Date:   Thu Oct 11 12:27:17 2018 +0200

    emojichooser: Pass chooser to add_emoji
    
    https://gitlab.gnome.org/GNOME/gtk/issues/1398

 gtk/gtkemojichooser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c
index b2c161e381..3ca17b71f8 100644
--- a/gtk/gtkemojichooser.c
+++ b/gtk/gtkemojichooser.c
@@ -302,9 +302,9 @@ show_variations (GtkEmojiChooser *chooser,
 
   g_signal_connect (box, "child-activated", G_CALLBACK (emoji_activated), parent_popover);
 
-  add_emoji (box, FALSE, emoji_data, 0, NULL);
+  add_emoji (box, FALSE, emoji_data, 0, chooser);
   for (modifier = 0x1f3fb; modifier <= 0x1f3ff; modifier++)
-    add_emoji (box, FALSE, emoji_data, modifier, NULL);
+    add_emoji (box, FALSE, emoji_data, modifier, chooser);
 
   gtk_widget_show_all (view);
   gtk_popover_popup (GTK_POPOVER (popover));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]