aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/src/emojichooser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/emojichooser.c b/main/src/emojichooser.c
index 5ffc15c3..ba401ddc 100644
--- a/main/src/emojichooser.c
+++ b/main/src/emojichooser.c
@@ -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));
}