r7169 - hippo-canvas/trunk/common/hippo



Author: otaylor
Date: 2008-01-09 21:26:26 -0600 (Wed, 09 Jan 2008)
New Revision: 7169

Modified:
   hippo-canvas/trunk/common/hippo/hippo-canvas-box.c
Log:
Clear the parent when removing a child from a box

Modified: hippo-canvas/trunk/common/hippo/hippo-canvas-box.c
===================================================================
--- hippo-canvas/trunk/common/hippo/hippo-canvas-box.c	2008-01-09 23:09:46 UTC (rev 7168)
+++ hippo-canvas/trunk/common/hippo/hippo-canvas-box.c	2008-01-10 03:26:26 UTC (rev 7169)
@@ -3906,6 +3906,7 @@
     box->children = g_slist_remove(box->children, c);
     disconnect_child(box, child);
     hippo_canvas_item_set_context(child, NULL);
+    hippo_canvas_item_set_parent(child, NULL);
  
     g_object_unref(child);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]