aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-02-22 00:53:33 +0800
committerXan Lopez <xan@igalia.com>2013-02-22 08:39:29 +0800
commit12fd29dfe5552d2ddcbacce47e242733deec07c7 (patch)
tree570c01207b97948cf2c73ac9e22ba92fe0c876f0
parent7986cb099459a96f99ea88ef8cf5c465a9f31cdf (diff)
downloadgsoc2013-epiphany-12fd29dfe5552d2ddcbacce47e242733deec07c7.tar
gsoc2013-epiphany-12fd29dfe5552d2ddcbacce47e242733deec07c7.tar.gz
gsoc2013-epiphany-12fd29dfe5552d2ddcbacce47e242733deec07c7.tar.bz2
gsoc2013-epiphany-12fd29dfe5552d2ddcbacce47e242733deec07c7.tar.lz
gsoc2013-epiphany-12fd29dfe5552d2ddcbacce47e242733deec07c7.tar.xz
gsoc2013-epiphany-12fd29dfe5552d2ddcbacce47e242733deec07c7.tar.zst
gsoc2013-epiphany-12fd29dfe5552d2ddcbacce47e242733deec07c7.zip
ephy-embed: use g_strcmp0 instead of checking manually for null strings
-rw-r--r--embed/ephy-embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index eef91061b..608a9a047 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -303,7 +303,7 @@ load_changed_cb (WebKitWebView *web_view,
const char *uri;
uri = webkit_web_view_get_uri (web_view);
- ephy_embed_set_overview_mode (embed, uri && strcmp (uri, "ephy-about:overview") == 0);
+ ephy_embed_set_overview_mode (embed, g_strcmp0 (uri, "ephy-about:overview") == 0);
break;
}
case WEBKIT_LOAD_COMMITTED: