[gtk: 1/4] emoji: Fix the convert-emoji program




commit 70ce353a58a97f02d6cbed8d411efcae63d1190b
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Tue Feb 22 10:44:43 2022 +0100

    emoji: Fix the convert-emoji program
    
    The annotation field has been renamed to label in emojibase-data
    
    https://github.com/milesj/emojibase/blob/b85382524c/packages/data/CHANGELOG.md

 gtk/emoji/convert-emoji.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/emoji/convert-emoji.c b/gtk/emoji/convert-emoji.c
index c5b8085e14..d09a17eaba 100644
--- a/gtk/emoji/convert-emoji.c
+++ b/gtk/emoji/convert-emoji.c
@@ -122,7 +122,7 @@ main (int argc, char *argv[])
         continue;
 
       group = json_object_get_int_member (obj, "group");
-      name = json_object_get_string_member (obj, "annotation");
+      name = json_object_get_string_member (obj, "label");
 
       if (json_object_has_member (obj, "skins"))
         {


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