diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c index 0da57270b0..9697dad4b6 100644 --- a/gtk/gtkemojichooser.c +++ b/gtk/gtkemojichooser.c @@ -535,7 +535,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)