aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSergio Villar Senin <svillar@igalia.com>2012-02-24 20:41:57 +0800
committerSergio Villar Senin <svillar@igalia.com>2012-02-24 20:41:57 +0800
commitf50cdfe8f63a38a931caae998c36571564d59f9f (patch)
tree45d764ff12a0d90a46fa968000c7474d9ce6177a /lib
parent62df9fbfc122699b421e541828d1b6dfd259269f (diff)
downloadgsoc2013-epiphany-f50cdfe8f63a38a931caae998c36571564d59f9f.tar
gsoc2013-epiphany-f50cdfe8f63a38a931caae998c36571564d59f9f.tar.gz
gsoc2013-epiphany-f50cdfe8f63a38a931caae998c36571564d59f9f.tar.bz2
gsoc2013-epiphany-f50cdfe8f63a38a931caae998c36571564d59f9f.tar.lz
gsoc2013-epiphany-f50cdfe8f63a38a931caae998c36571564d59f9f.tar.xz
gsoc2013-epiphany-f50cdfe8f63a38a931caae998c36571564d59f9f.tar.zst
gsoc2013-epiphany-f50cdfe8f63a38a931caae998c36571564d59f9f.zip
ephy-profile-utils: use == to compare SoupURI schemes
We can just use it as SOUP_URI_SCHEME_HTTPS is an intern static string.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-profile-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index 4b923ba3e..fe66b3b6a 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -96,7 +96,7 @@ normalize_and_prepare_uri (SoupURI *uri,
/* We normalize https? schemes here so that we use passwords
* we stored in https sites in their http counterparts, and
* vice-versa. */
- if (g_str_equal (uri->scheme, SOUP_URI_SCHEME_HTTPS))
+ if (uri->scheme == SOUP_URI_SCHEME_HTTPS)
soup_uri_set_scheme (uri, SOUP_URI_SCHEME_HTTP);
soup_uri_set_path (uri, "/");