summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu H <wiiu3dsxl13127@gmail.com>2020-04-13 15:27:40 +0000
committerMatthias Clasen <mclasen@redhat.com>2020-04-13 16:29:02 -0400
commit57a56538eb198b809d28d45fc7cd65f61e777f27 (patch)
tree87abade7dfe3bfb197e59547fcbeee5b4b7030b1
parent6fbc9e8c3e8065f9e08118191448200f4409edd0 (diff)
downloadgtk+-57a56538eb198b809d28d45fc7cd65f61e777f27.tar.gz
Remove the blacklist list in convert-emoji.c since now it is supported
-rw-r--r--gtk/emoji/convert-emoji.c44
-rw-r--r--gtk/emoji/emoji.databin53533 -> 55307 bytes
2 files changed, 0 insertions, 44 deletions
diff --git a/gtk/emoji/convert-emoji.c b/gtk/emoji/convert-emoji.c
index 202ca3f481..92bf66b385 100644
--- a/gtk/emoji/convert-emoji.c
+++ b/gtk/emoji/convert-emoji.c
@@ -55,35 +55,6 @@ parse_code (GVariantBuilder *b,
return TRUE;
}
-static const char *blacklist[] = {
- "child",
- "adult",
- "older adult",
- "woman with headscarf",
- "bearded person",
- "breast-feeding",
- "mage",
- "fairy",
- "vampire",
- "merperson",
- "merman",
- "mermaid",
- " elf", // avoid matching selfie
- "genie",
- "zombie",
- "in steamy room",
- "climbing",
- "in lotus position",
- "person in bed",
- "man in suit levitating",
- "horse racing",
- "snowboarder",
- "golfing",
- "love-you gesture",
- "palms up together",
- NULL
-};
-
int
main (int argc, char *argv[])
{
@@ -171,21 +142,6 @@ main (int argc, char *argv[])
name = json_object_get_string_member (obj, "name");
code = g_strdup (json_object_get_string_member (obj, "code"));
- if (strcmp (name, "world map") == 0)
- continue;
-
- skip = FALSE;
- for (j = 0; blacklist[j]; j++)
- {
- if (strstr (name, blacklist[j]) != 0)
- {
- skip = TRUE;
- break;
- }
- }
- if (skip)
- continue;
-
has_variations = FALSE;
while (i < length)
{
diff --git a/gtk/emoji/emoji.data b/gtk/emoji/emoji.data
index fdf919d66f..15d093d933 100644
--- a/gtk/emoji/emoji.data
+++ b/gtk/emoji/emoji.data
Binary files differ