diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c index 69701ffcf1..2783c3b654 100644 --- a/gtk/gtkemojichooser.c +++ b/gtk/gtkemojichooser.c @@ -497,7 +497,7 @@ filter_func (GtkFlowBoxChild *child, goto out; g_variant_get_child (emoji_data, 1, "&s", &name); - res = strstr (name, text) != NULL; + res = g_str_match_string (text, name, TRUE); out: if (res)