aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
authorRaphael Slinckx <rslinckx@cvs.gnome.org>2005-09-17 01:51:54 +0800
committerRaphaƫl Slinckx <rslinckx@src.gnome.org>2005-09-17 01:51:54 +0800
commit60d3fe5725287c2d95e518aec3868b7bb9d7bd7a (patch)
tree53472749c499f6b2171c27d0b54d334c1a65faca /src/bookmarks/ephy-bookmarks.c
parentc12bdc7dee5f0521be6e91bdcf09bf88f862d60c (diff)
downloadgsoc2013-epiphany-60d3fe5725287c2d95e518aec3868b7bb9d7bd7a.tar
gsoc2013-epiphany-60d3fe5725287c2d95e518aec3868b7bb9d7bd7a.tar.gz
gsoc2013-epiphany-60d3fe5725287c2d95e518aec3868b7bb9d7bd7a.tar.bz2
gsoc2013-epiphany-60d3fe5725287c2d95e518aec3868b7bb9d7bd7a.tar.lz
gsoc2013-epiphany-60d3fe5725287c2d95e518aec3868b7bb9d7bd7a.tar.xz
gsoc2013-epiphany-60d3fe5725287c2d95e518aec3868b7bb9d7bd7a.tar.zst
gsoc2013-epiphany-60d3fe5725287c2d95e518aec3868b7bb9d7bd7a.zip
Repair the previous b0rkage, see previous log
2005-09-16 Raphael Slinckx <rslinckx@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (bookmark_activate_with_flags), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb): * src/bookmarks/ephy-bookmarks.c: (impl_resolve_address): Repair the previous b0rkage, see previous log
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 3e222eaf6..4a9357834 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -1342,25 +1342,6 @@ impl_resolve_address (EphyBookmarks *eb,
char *pos, *oldpos, *arg, *escaped_arg, *encoding, *optionsend;
if (address == NULL) return NULL;
-
- /* The entered search term is empty "" */
- if (content == NULL || content[0] == '\0')
- {
- GnomeVFSURI *uri = gnome_vfs_uri_new (address);
- if (uri != NULL)
- {
- char *real_address = g_strconcat (
- gnome_vfs_uri_get_scheme (uri),
- "://",
- gnome_vfs_uri_get_host_name (uri),
- NULL);
- gnome_vfs_uri_unref (uri);
-
- return real_address;
- }
- }
-
- /* Either there was a search term, or gnome-vfs URI had a problem */
if (content == NULL) content = "";
result = g_string_new_len (NULL, strlen (content) + strlen (address));