aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node.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 /lib/ephy-node.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 'lib/ephy-node.c')
-rw-r--r--lib/ephy-node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-node.c b/lib/ephy-node.c
index b8d5f8959..087d18fdc 100644
--- a/lib/ephy-node.c
+++ b/lib/ephy-node.c
@@ -318,7 +318,7 @@ ephy_node_new_with_id (EphyNodeDb *db, gulong reserved_id)
node = g_new0 (EphyNode, 1);
- node->ref_count = 0;
+ node->ref_count = 1;
node->id = reserved_id;