diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2002-12-31 19:11:13 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2002-12-31 19:11:13 +0800 |
commit | beec33b028bdeb5f0da6ed51305f32e3b8041f6e (patch) | |
tree | 423f13ba51091c72712f28cd5c610457bb15333e /src | |
parent | 1e3579d624fa8b4c212017cbb6a8dd977dd7741d (diff) | |
download | gsoc2013-epiphany-beec33b028bdeb5f0da6ed51305f32e3b8041f6e.tar gsoc2013-epiphany-beec33b028bdeb5f0da6ed51305f32e3b8041f6e.tar.gz gsoc2013-epiphany-beec33b028bdeb5f0da6ed51305f32e3b8041f6e.tar.bz2 gsoc2013-epiphany-beec33b028bdeb5f0da6ed51305f32e3b8041f6e.tar.lz gsoc2013-epiphany-beec33b028bdeb5f0da6ed51305f32e3b8041f6e.tar.xz gsoc2013-epiphany-beec33b028bdeb5f0da6ed51305f32e3b8041f6e.tar.zst gsoc2013-epiphany-beec33b028bdeb5f0da6ed51305f32e3b8041f6e.zip |
Remove hidden filtering page.
2002-12-31 Marco Pesenti Gritti <marco@it.gnome.org>
* data/glade/prefs-dialog.glade:
Remove hidden filtering page.
* embed/ephy-history.c:
(ephy_history_autocompletion_source_foreach), (ephy_history_init),
(ephy_history_add_host), (ephy_history_visited),
(ephy_history_get_page_visits):
* lib/ephy-autocompletion.c: (ephy_autocompletion_refine_matches),
(ephy_autocompletion_update_matches_full_item):
* src/bookmarks/ephy-bookmarks.c:
(ephy_bookmarks_autocompletion_source_foreach):
Fix memory corruption in bookmarks refine.
Implement history autocompletion score.
Smarter host matching code.
Add some sanity checks.
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index e27a30496..2353ea7da 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -119,7 +119,6 @@ ephy_bookmarks_autocompletion_source_foreach (EphyAutocompletionSource *source, { EphyNode *kid; const char *url, *smart_url, *title, *keywords; - char *item; kid = g_ptr_array_index (children, i); url = ephy_node_get_property_string @@ -130,7 +129,6 @@ ephy_bookmarks_autocompletion_source_foreach (EphyAutocompletionSource *source, (kid, EPHY_NODE_BMK_PROP_TITLE); keywords = ephy_node_get_property_string (kid, EPHY_NODE_BMK_PROP_KEYWORDS); - item = g_strconcat (title, keywords, NULL); if (smart_url == NULL || g_utf8_strlen (smart_url, -1) == 0) @@ -139,13 +137,11 @@ ephy_bookmarks_autocompletion_source_foreach (EphyAutocompletionSource *source, } func (source, - smart_url ? NULL : item, + smart_url ? NULL : keywords, title, smart_url ? smart_url : url, (smart_url != NULL), TRUE, 0, data); - - g_free (item); } ephy_node_thaw (eb->priv->bookmarks); } |