emojichooser: Pass chooser to add_emoji

This commit is contained in:
Timm Bäder 2018-10-11 12:27:17 +02:00
parent 114efa83c6
commit ae3e6d1949

View File

@ -284,9 +284,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_popover_popup (GTK_POPOVER (popover));
}