mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-22 15:04:37 +00:00
parent
defdf8e6ae
commit
7cedb64d3f
1 changed files with 3 additions and 0 deletions
|
@ -437,6 +437,9 @@ populate_emoji_chooser (gpointer data)
|
|||
if (!chooser->data)
|
||||
{
|
||||
bytes = g_resources_lookup_data ("/org/gtk/libgtk/emoji/emoji.data", 0, NULL);
|
||||
if (bytes == NULL) {
|
||||
bytes = g_resources_lookup_data ("/org/gtk/libgtk/emoji/en.data", 0, NULL);
|
||||
}
|
||||
chooser->data = g_variant_ref_sink (g_variant_new_from_bytes (G_VARIANT_TYPE ("a(auss)"), bytes, TRUE));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue