aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-03-17 04:56:08 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-03-17 04:56:08 +0800
commit93f86704158a50b2b6a67d439d0c022353916537 (patch)
tree315ad0242a8c8c0b9c1d370f62565dfe4faf2112 /src/ephy-location-action.c
parentacfed7e28131b25fbc964f0050786df69691157e (diff)
downloadgsoc2013-epiphany-93f86704158a50b2b6a67d439d0c022353916537.tar
gsoc2013-epiphany-93f86704158a50b2b6a67d439d0c022353916537.tar.gz
gsoc2013-epiphany-93f86704158a50b2b6a67d439d0c022353916537.tar.bz2
gsoc2013-epiphany-93f86704158a50b2b6a67d439d0c022353916537.tar.lz
gsoc2013-epiphany-93f86704158a50b2b6a67d439d0c022353916537.tar.xz
gsoc2013-epiphany-93f86704158a50b2b6a67d439d0c022353916537.tar.zst
gsoc2013-epiphany-93f86704158a50b2b6a67d439d0c022353916537.zip
Revert the bookmark/history item no-dupes patch. It was slowing down ephy.
svn path=/branches/gnome-2-22/; revision=8112
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);