aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index 38ffc47f1..99373f301 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -155,7 +155,6 @@ completion_func (GtkEntryCompletion *completion,
char *keywords = NULL;
gboolean ret = FALSE;
GtkTreeModel *model;
- GtkTreeIter iter2;
EphyLocationActionPrivate *priv;
priv = EPHY_LOCATION_ACTION (data)->priv;
@@ -202,17 +201,6 @@ completion_func (GtkEntryCompletion *completion,
}
}
- gtk_tree_model_sort_convert_iter_to_child_iter
- (GTK_TREE_MODEL_SORT (model), &iter2, iter);
-
- /* This checks if the item's URL exists as a bookmark, if that's true
- * and we are seeing an history item, then we skip showing it.
- * The bookmark will be shown instead since we are not filtering it out.
- */
- if (ephy_bookmarks_find_bookmark (priv->bookmarks, url) != NULL &&
- (iter2.user_data2 == priv->history))
- ret = FALSE;
-
g_free (item);
g_free (url);
g_free (keywords);