[epiphany] ephy-embed: do not pull in string.h for strcmp
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-embed: do not pull in string.h for strcmp
- Date: Wed, 14 Mar 2012 12:09:36 +0000 (UTC)
commit 44050bc63e4c131809af0f078e211587fe55e0f2
Author: Xan Lopez <xan igalia com>
Date: Wed Mar 14 13:06:55 2012 +0100
ephy-embed: do not pull in string.h for strcmp
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 98da571..f3ac543 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]