aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-14 20:06:55 +0800
committerXan Lopez <xan@igalia.com>2012-03-14 20:06:55 +0800
commit44050bc63e4c131809af0f078e211587fe55e0f2 (patch)
tree180e7c26268ea2b84f900d2a367b4a2f6c804f6c /embed
parent0e6cf976a163a6615afb95c4fd66c592dea118b8 (diff)
downloadgsoc2013-epiphany-44050bc63e4c131809af0f078e211587fe55e0f2.tar
gsoc2013-epiphany-44050bc63e4c131809af0f078e211587fe55e0f2.tar.gz
gsoc2013-epiphany-44050bc63e4c131809af0f078e211587fe55e0f2.tar.bz2
gsoc2013-epiphany-44050bc63e4c131809af0f078e211587fe55e0f2.tar.lz
gsoc2013-epiphany-44050bc63e4c131809af0f078e211587fe55e0f2.tar.xz
gsoc2013-epiphany-44050bc63e4c131809af0f078e211587fe55e0f2.tar.zst
gsoc2013-epiphany-44050bc63e4c131809af0f078e211587fe55e0f2.zip
ephy-embed: do not pull in string.h for strcmp
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 98da57156..f3ac543a4 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -37,7 +37,6 @@
#include "nautilus-floating-bar.h"
#include <glib/gi18n.h>
-#include <string.h>
#include <webkit/webkit.h>
static void ephy_embed_constructed (GObject *object);
@@ -587,7 +586,7 @@ progress_update (EphyWebView *view, GParamSpec *pspec, EphyEmbed *embed)
}
uri = webkit_web_view_get_uri (priv->web_view);
- if (!uri || strcmp (uri, "about:blank") == 0)
+ if (!uri || g_str_equal (uri, "about:blank"))
return;
progress = webkit_web_view_get_progress (priv->web_view);