Index: src/ephy-tab.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/ephy-tab.c,v
retrieving revision 1.87
diff -u -r1.87 ephy-tab.c
--- src/ephy-tab.c	6 Feb 2004 22:56:43 -0000	1.87
+++ src/ephy-tab.c	8 Feb 2004 11:43:23 -0000
@@ -957,7 +957,7 @@
 	}
 }
 
-static void
+static gboolean
 open_link_in_new_tab (EphyTab *tab,
 		      const char *link_address)
 {
@@ -965,7 +965,7 @@
 	gboolean new_tab;
 
 	window = ephy_tab_get_window (tab);
-	g_return_if_fail (window != NULL);
+	g_return_val_if_fail (window != NULL, FALSE);
 
 	new_tab = address_has_web_scheme (link_address);
 
@@ -976,10 +976,8 @@
 				    EPHY_NEW_TAB_OPEN_PAGE |
 				    EPHY_NEW_TAB_IN_EXISTING_WINDOW);
 	}
-	else
-	{
-		ephy_window_load_url (window, link_address);
-	}
+
+	return new_tab;
 }
 
 static void
@@ -1059,7 +1057,7 @@
 
 		ephy_embed_event_get_property (event, "link", &value);
 		link_address = g_value_get_string (value);
-		open_link_in_new_tab (tab, link_address);
+		handled = open_link_in_new_tab (tab, link_address);
 	}
 	/* shift+click saves the link target */
 	else if (is_link && is_left_click && with_shift)
