diff options
author | Xan Lopez <xan@igalia.com> | 2012-03-14 20:06:55 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-14 20:06:55 +0800 |
commit | 44050bc63e4c131809af0f078e211587fe55e0f2 (patch) | |
tree | 180e7c26268ea2b84f900d2a367b4a2f6c804f6c | |
parent | 0e6cf976a163a6615afb95c4fd66c592dea118b8 (diff) | |
download | gsoc2013-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
-rw-r--r-- | embed/ephy-embed.c | 3 |
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); |