[cairo-commit] goocanvas/src goocanvaswidget.c,1.8,1.9
Damon Chaplin
commit at pdx.freedesktop.org
Thu Mar 8 06:46:05 PST 2007
- Previous message: [cairo-commit] goocanvas/src goocanvasitem.c, 1.27,
1.28 goocanvasitem.h, 1.19, 1.20 goocanvasitemmodel.c, 1.13,
1.14 goocanvasitemmodel.h, 1.10, 1.11
- Next message: [cairo-commit] goocanvas ChangeLog,1.98,1.99
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: damon
Update of /cvs/cairo/goocanvas/src
In directory kemper:/tmp/cvs-serv3256/src
Modified Files:
goocanvaswidget.c
Log Message:
2007-03-08 Damon Chaplin <damon at gnome.org>
* src/goocanvaswidget.c (goo_canvas_widget_set_canvas): unparent the
widget if the canvas is set to NULL (i.e. when the item is removed
from the canvas).
Index: goocanvaswidget.c
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvaswidget.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- goocanvaswidget.c 6 Mar 2007 13:21:26 -0000 1.8
+++ goocanvaswidget.c 8 Mar 2007 14:45:58 -0000 1.9
@@ -312,6 +312,11 @@
GTK_WIDGET (simple->canvas));
}
}
+ else
+ {
+ if (witem->widget)
+ gtk_widget_unparent (witem->widget);
+ }
}
}
- Previous message: [cairo-commit] goocanvas/src goocanvasitem.c, 1.27,
1.28 goocanvasitem.h, 1.19, 1.20 goocanvasitemmodel.c, 1.13,
1.14 goocanvasitemmodel.h, 1.10, 1.11
- Next message: [cairo-commit] goocanvas ChangeLog,1.98,1.99
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list