aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-02-26 03:37:26 +0800
committerChristian Persch <chpe@src.gnome.org>2008-02-26 03:37:26 +0800
commitd21357e5d65e5e06710cdece80e66970f68cbd19 (patch)
tree5626081f72840a102d17f06e0c9572a6c637a56e /src
parent1640ccb99f6b590bd639d907f656c9e6d41c36c7 (diff)
downloadgsoc2013-epiphany-d21357e5d65e5e06710cdece80e66970f68cbd19.tar
gsoc2013-epiphany-d21357e5d65e5e06710cdece80e66970f68cbd19.tar.gz
gsoc2013-epiphany-d21357e5d65e5e06710cdece80e66970f68cbd19.tar.bz2
gsoc2013-epiphany-d21357e5d65e5e06710cdece80e66970f68cbd19.tar.lz
gsoc2013-epiphany-d21357e5d65e5e06710cdece80e66970f68cbd19.tar.xz
gsoc2013-epiphany-d21357e5d65e5e06710cdece80e66970f68cbd19.tar.zst
gsoc2013-epiphany-d21357e5d65e5e06710cdece80e66970f68cbd19.zip
Adapt to gio API change
svn path=/trunk/; revision=7981
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c4
-rw-r--r--src/bookmarks/ephy-bookmarks-export.c4
-rw-r--r--src/popup-commands.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 39a9833e7..d035964b5 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -370,7 +370,7 @@ ephy_bookmark_action_activate (EphyBookmarkAction *action,
char *scheme;
char *host_name;
- scheme = g_uri_get_scheme (location);
+ scheme = g_uri_parse_scheme (location);
host_name = ephy_string_get_host_name (location);
address = g_strconcat (scheme,
"://",
@@ -515,7 +515,7 @@ query_tooltip_cb (GtkWidget *proxy,
char *scheme;
char *host_name;
- scheme = g_uri_get_scheme (location);
+ scheme = g_uri_parse_scheme (location);
host_name = ephy_string_get_host_name (location);
if (title[0] == '\0')
diff --git a/src/bookmarks/ephy-bookmarks-export.c b/src/bookmarks/ephy-bookmarks-export.c
index fef48f6f3..351cf7ff3 100644
--- a/src/bookmarks/ephy-bookmarks-export.c
+++ b/src/bookmarks/ephy-bookmarks-export.c
@@ -233,7 +233,7 @@ write_rdf (EphyBookmarks *bookmarks,
char *scheme;
char *host_name;
- scheme = g_uri_get_scheme (url);
+ scheme = g_uri_parse_scheme (url);
host_name = ephy_string_get_host_name (url);
link = g_strconcat (scheme,
"://",
@@ -304,7 +304,7 @@ write_rdf (EphyBookmarks *bookmarks,
char *scheme;
char *host_name;
- scheme = g_uri_get_scheme (url);
+ scheme = g_uri_parse_scheme (url);
host_name = ephy_string_get_host_name (url);
link = g_strconcat (scheme,
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 330030a67..dbd9baf10 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -486,7 +486,7 @@ popup_cmd_open_image (GtkAction *action,
value = ephy_embed_event_get_property (event, "image");
address = g_value_get_string (value);
- scheme = g_uri_get_scheme (address);
+ scheme = g_uri_parse_scheme (address);
if (scheme == NULL) return;
if (strcmp (scheme, "file") == 0)