aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
authorAdam Hooper <adamh@src.gnome.org>2004-04-10 00:59:36 +0800
committerAdam Hooper <adamh@src.gnome.org>2004-04-10 00:59:36 +0800
commit19b0d73f92fd47c44c140869dcc8d252869b9c02 (patch)
treec4b4fa6adfa3b691297972f54216f33216059dc0 /src/bookmarks/ephy-bookmarks.c
parent6e39ba4a5df4a9102bd97d42ab29f4204aeeb43d (diff)
downloadgsoc2013-epiphany-19b0d73f92fd47c44c140869dcc8d252869b9c02.tar
gsoc2013-epiphany-19b0d73f92fd47c44c140869dcc8d252869b9c02.tar.gz
gsoc2013-epiphany-19b0d73f92fd47c44c140869dcc8d252869b9c02.tar.bz2
gsoc2013-epiphany-19b0d73f92fd47c44c140869dcc8d252869b9c02.tar.lz
gsoc2013-epiphany-19b0d73f92fd47c44c140869dcc8d252869b9c02.tar.xz
gsoc2013-epiphany-19b0d73f92fd47c44c140869dcc8d252869b9c02.tar.zst
gsoc2013-epiphany-19b0d73f92fd47c44c140869dcc8d252869b9c02.zip
Change initial refcound of EphyNode to 1, not 0
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index d9a0f7b7d..6e765e6d6 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -640,7 +640,6 @@ ephy_bookmarks_init (EphyBookmarks *eb)
/* Bookmarks */
eb->priv->bookmarks = ephy_node_new_with_id (db, BOOKMARKS_NODE_ID);
- ephy_node_ref (eb->priv->bookmarks);
g_value_init (&value, G_TYPE_STRING);
g_value_set_string (&value, _("All"));
ephy_node_set_property (eb->priv->bookmarks,
@@ -658,7 +657,6 @@ ephy_bookmarks_init (EphyBookmarks *eb)
/* Keywords */
eb->priv->keywords = ephy_node_new_with_id (db, KEYWORDS_NODE_ID);
- ephy_node_ref (eb->priv->keywords);
g_value_init (&value, G_TYPE_INT);
g_value_set_int (&value, EPHY_NODE_ALL_PRIORITY);
ephy_node_set_property (eb->priv->bookmarks,
@@ -675,7 +673,6 @@ ephy_bookmarks_init (EphyBookmarks *eb)
/* Favorites */
eb->priv->favorites = ephy_node_new_with_id (db, FAVORITES_NODE_ID);
- ephy_node_ref (eb->priv->favorites);
g_value_init (&value, G_TYPE_STRING);
g_value_set_string (&value, _("Most Visited"));
ephy_node_set_property (eb->priv->favorites,
@@ -692,7 +689,6 @@ ephy_bookmarks_init (EphyBookmarks *eb)
/* Not categorized */
eb->priv->notcategorized = ephy_node_new_with_id (db, BMKS_NOTCATEGORIZED_NODE_ID);
- ephy_node_ref (eb->priv->notcategorized);
g_value_init (&value, G_TYPE_STRING);
g_value_set_string (&value, _("Not Categorized"));
ephy_node_set_property (eb->priv->notcategorized,
@@ -709,7 +705,6 @@ ephy_bookmarks_init (EphyBookmarks *eb)
/* Smart bookmarks */
eb->priv->smartbookmarks = ephy_node_new_with_id (db, SMARTBOOKMARKS_NODE_ID);
- ephy_node_ref (eb->priv->smartbookmarks);
if (g_file_test (eb->priv->xml_file, G_FILE_TEST_EXISTS) == FALSE
&& g_file_test (eb->priv->rdf_file, G_FILE_TEST_EXISTS) == FALSE)