From 9790726e8d0da3b16581957922e2ab8449815a59 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 31 Aug 2013 19:03:54 -0700 Subject: search-provider: fix string comparison Otherwise the provider won't update the string in the shell search overview. https://bugzilla.gnome.org/show_bug.cgi?id=707204 --- src/ephy-search-provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ephy-search-provider.c b/src/ephy-search-provider.c index 2f2ba47ce..cbdba1190 100644 --- a/src/ephy-search-provider.c +++ b/src/ephy-search-provider.c @@ -194,7 +194,7 @@ handle_get_result_metas (EphyShellSearchProvider2 *skeleton, for (i = 0; results[i]; i++) { - if (g_str_has_prefix (results[i], "special:search:") == 0) { + if (g_str_has_prefix (results[i], "special:search:")) { g_variant_builder_open (&builder, G_VARIANT_TYPE ("a{sv}")); g_variant_builder_add (&builder, "{sv}", "id", g_variant_new_string ("special:search")); -- cgit v1.2.3