aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2003-12-17 01:29:43 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-12-17 01:29:43 +0800
commit7a407a918297b8c54ee79174aac54bc84de97d29 (patch)
tree2b23c9bb51f5b388861697b0470652ec5a5e1e44 /src/bookmarks
parent7339c460e72364aad2de893ab3c13549efc01d9b (diff)
downloadgsoc2013-epiphany-7a407a918297b8c54ee79174aac54bc84de97d29.tar
gsoc2013-epiphany-7a407a918297b8c54ee79174aac54bc84de97d29.tar.gz
gsoc2013-epiphany-7a407a918297b8c54ee79174aac54bc84de97d29.tar.bz2
gsoc2013-epiphany-7a407a918297b8c54ee79174aac54bc84de97d29.tar.lz
gsoc2013-epiphany-7a407a918297b8c54ee79174aac54bc84de97d29.tar.xz
gsoc2013-epiphany-7a407a918297b8c54ee79174aac54bc84de97d29.tar.zst
gsoc2013-epiphany-7a407a918297b8c54ee79174aac54bc84de97d29.zip
*** empty log message ***
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c4
-rw-r--r--src/bookmarks/ephy-bookmarks-export.c3
-rw-r--r--src/bookmarks/ephy-bookmarks-menu.c3
-rw-r--r--src/bookmarks/ephy-bookmarks.c6
-rw-r--r--src/bookmarks/ephy-topic-action.c3
-rw-r--r--src/bookmarks/ephy-topics-selector.c1
6 files changed, 0 insertions, 20 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 088af8a70..f2bd52b6e 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1186,8 +1186,6 @@ search_entry_search_cb (GtkWidget *entry, const char *search_text, EphyBookmarks
search_text = gtk_editable_get_chars (GTK_EDITABLE (entry), 0, -1);
- GDK_THREADS_ENTER ();
-
ephy_node_filter_empty (editor->priv->bookmarks_filter);
ephy_node_filter_add_expression (editor->priv->bookmarks_filter,
ephy_node_filter_expression_new (EPHY_NODE_FILTER_EXPRESSION_STRING_PROP_CONTAINS,
@@ -1200,8 +1198,6 @@ search_entry_search_cb (GtkWidget *entry, const char *search_text, EphyBookmarks
search_text),
0);
ephy_node_filter_done_changing (editor->priv->bookmarks_filter);
-
- GDK_THREADS_LEAVE ();
}
static GtkWidget *
diff --git a/src/bookmarks/ephy-bookmarks-export.c b/src/bookmarks/ephy-bookmarks-export.c
index 1043f19c0..42bc28783 100644
--- a/src/bookmarks/ephy-bookmarks-export.c
+++ b/src/bookmarks/ephy-bookmarks-export.c
@@ -56,7 +56,6 @@ write_topics_list (EphyNode *topics,
keywords = g_list_prepend (keywords, kid);
}
}
- ephy_node_thaw (topics);
for (l = keywords; l != NULL; l = l->next)
{
@@ -186,7 +185,6 @@ ephy_bookmarks_export_rdf (EphyBookmarks *bookmarks,
ret = xmlTextWriterEndElement (writer); /* rdf:li */
if (ret < 0) break;
}
- ephy_node_thaw (bmks);
if (ret < 0) goto out;
ret = xmlTextWriterEndElement (writer); /* rdf:Seq */
@@ -262,7 +260,6 @@ ephy_bookmarks_export_rdf (EphyBookmarks *bookmarks,
g_free (link);
}
- ephy_node_thaw (bmks);
if (ret < 0) goto out;
ret = xmlTextWriterEndElement (writer); /* rdf:RDF */
diff --git a/src/bookmarks/ephy-bookmarks-menu.c b/src/bookmarks/ephy-bookmarks-menu.c
index 7548dfce9..b1b546ae6 100644
--- a/src/bookmarks/ephy-bookmarks-menu.c
+++ b/src/bookmarks/ephy-bookmarks-menu.c
@@ -225,8 +225,6 @@ add_bookmarks_menu (EphyBookmarksMenu *menu, EphyNode *node, const char *path)
}
g_list_free (node_list);
}
-
- ephy_node_thaw (node);
}
static void
@@ -269,7 +267,6 @@ ephy_bookmarks_menu_rebuild (EphyBookmarksMenu *menu)
node_list = g_list_prepend (node_list, kid);
}
}
- ephy_node_thaw (topics);
node_list = g_list_sort (node_list, (GCompareFunc)sort_topics);
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 3ae0d41e4..c569ec2ca 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -335,7 +335,6 @@ compute_lower_fav (EphyNode *favorites, double *score)
result = child;
}
}
- ephy_node_thaw (favorites);
if (result == NULL) *score = 0;
@@ -449,7 +448,6 @@ get_topics_list (EphyBookmarks *eb,
*no_topics = FALSE;
}
}
- ephy_node_thaw (eb->priv->keywords);
return g_string_free (list, FALSE);
}
@@ -497,7 +495,6 @@ topics_removed_cb (EphyNode *node,
g_free (list);
}
- ephy_node_thaw (child);
g_signal_emit (G_OBJECT (eb), ephy_bookmarks_signals[TREE_CHANGED], 0);
}
@@ -753,11 +750,9 @@ ephy_bookmarks_find_bookmark (EphyBookmarks *eb,
if (location != NULL && strcmp (url, location) == 0)
{
- ephy_node_thaw (eb->priv->bookmarks);
return kid;
}
}
- ephy_node_thaw (eb->priv->bookmarks);
return NULL;
}
@@ -1054,7 +1049,6 @@ ephy_bookmarks_find_keyword (EphyBookmarks *eb,
node = kid;
}
}
- ephy_node_thaw (eb->priv->keywords);
return node;
}
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 2bdc167fc..1861418ff 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -293,8 +293,6 @@ append_bookmarks_menu (EphyTopicAction *action, GtkWidget *menu, EphyNode *node,
g_list_free (node_list);
}
-
- ephy_node_thaw (node);
}
static GtkWidget *
@@ -400,7 +398,6 @@ build_topics_menu (EphyTopicAction *action, EphyNode *node)
gtk_widget_show (bmk_menu);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), bmk_menu);
}
- ephy_node_thaw (node);
g_list_free (node_list);
uncategorized = ephy_bookmarks_get_not_categorized (bookmarks);
diff --git a/src/bookmarks/ephy-topics-selector.c b/src/bookmarks/ephy-topics-selector.c
index e1a583a72..7dd84a501 100644
--- a/src/bookmarks/ephy-topics-selector.c
+++ b/src/bookmarks/ephy-topics-selector.c
@@ -219,7 +219,6 @@ fill_model (EphyTopicsSelector *editor)
-1);
}
}
- ephy_node_thaw (keywords);
}
static void