[epiphany] search-provider: fix string comparison
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] search-provider: fix string comparison
- Date: Sun, 1 Sep 2013 08:24:02 +0000 (UTC)
commit 9790726e8d0da3b16581957922e2ab8449815a59
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Aug 31 19:03:54 2013 -0700
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-search-provider.c b/src/ephy-search-provider.c
index 2f2ba47..cbdba11 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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]