diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-09-01 10:03:54 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-09-01 10:06:26 +0800 |
commit | 9790726e8d0da3b16581957922e2ab8449815a59 (patch) | |
tree | d806beb9b2b7a1dcf7e07b4f18cbca20c0760d39 | |
parent | ab49d2c7b370d7a2d2089404d436551d0e851ff3 (diff) | |
download | gsoc2013-epiphany-9790726e8d0da3b16581957922e2ab8449815a59.tar gsoc2013-epiphany-9790726e8d0da3b16581957922e2ab8449815a59.tar.gz gsoc2013-epiphany-9790726e8d0da3b16581957922e2ab8449815a59.tar.bz2 gsoc2013-epiphany-9790726e8d0da3b16581957922e2ab8449815a59.tar.lz gsoc2013-epiphany-9790726e8d0da3b16581957922e2ab8449815a59.tar.xz gsoc2013-epiphany-9790726e8d0da3b16581957922e2ab8449815a59.tar.zst gsoc2013-epiphany-9790726e8d0da3b16581957922e2ab8449815a59.zip |
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
-rw-r--r-- | src/ephy-search-provider.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |