diff options
author | Adam Hooper <adamh@src.gnome.org> | 2004-04-10 00:59:36 +0800 |
---|---|---|
committer | Adam Hooper <adamh@src.gnome.org> | 2004-04-10 00:59:36 +0800 |
commit | 19b0d73f92fd47c44c140869dcc8d252869b9c02 (patch) | |
tree | c4b4fa6adfa3b691297972f54216f33216059dc0 /embed | |
parent | 6e39ba4a5df4a9102bd97d42ab29f4204aeeb43d (diff) | |
download | gsoc2013-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 'embed')
-rw-r--r-- | embed/ephy-encodings.c | 4 | ||||
-rw-r--r-- | embed/ephy-favicon-cache.c | 1 | ||||
-rw-r--r-- | embed/ephy-history.c | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/embed/ephy-encodings.c b/embed/ephy-encodings.c index 36f5ac14b..61b84617f 100644 --- a/embed/ephy-encodings.c +++ b/embed/ephy-encodings.c @@ -448,10 +448,6 @@ ephy_encodings_init (EphyEncodings *encodings) encodings->priv->encodings = ephy_node_new_with_id (db, ENCODINGS_NODE_ID); encodings->priv->detectors = ephy_node_new_with_id (db, DETECTORS_NODE_ID); - ephy_node_ref (encodings->priv->root); - ephy_node_ref (encodings->priv->encodings); - ephy_node_ref (encodings->priv->detectors); - /* now fill the db */ for (i = 0; i < n_encoding_entries; i++) { diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index ecd23339d..1854c6813 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -240,7 +240,6 @@ ephy_favicon_cache_init (EphyFaviconCache *cache) /* Icons */ cache->priv->icons = ephy_node_new_with_id (db, ICONS_NODE_ID); - ephy_node_ref (cache->priv->icons); ephy_node_signal_connect_object (cache->priv->icons, EPHY_NODE_CHILD_ADDED, (EphyNodeCallback) icons_added_cb, diff --git a/embed/ephy-history.c b/embed/ephy-history.c index 300c601a0..26ff343b3 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -482,7 +482,6 @@ ephy_history_init (EphyHistory *eb) /* Pages */ eb->priv->pages = ephy_node_new_with_id (db, PAGES_NODE_ID); - ephy_node_ref (eb->priv->pages); g_value_init (&value, G_TYPE_STRING); g_value_set_string (&value, _("All")); ephy_node_set_property (eb->priv->pages, @@ -513,7 +512,6 @@ ephy_history_init (EphyHistory *eb) /* Hosts */ eb->priv->hosts = ephy_node_new_with_id (db, HOSTS_NODE_ID); - ephy_node_ref (eb->priv->hosts); ephy_node_signal_connect_object (eb->priv->hosts, EPHY_NODE_CHILD_ADDED, (EphyNodeCallback) hosts_added_cb, |