[goocanvasmm] Remove ItemSimple::get_bounds()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goocanvasmm] Remove ItemSimple::get_bounds()
- Date: Sun, 12 Jan 2014 15:48:02 +0000 (UTC)
commit 9d903a637194eb999ce0a9e40a6a00d14ef3fd21
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Tue Jan 7 19:04:25 2014 +0100
Remove ItemSimple::get_bounds()
* goocanvas/src/itemsimple.hg: ItemSimple::get_bounds() overrides
Item::get_bounds(), which it shouldn't do. Remove ItemSimple::get_bounds().
Bug #721627.
goocanvas/src/itemsimple.hg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/goocanvas/src/itemsimple.hg b/goocanvas/src/itemsimple.hg
index 2f5de8e..f1330c3 100644
--- a/goocanvas/src/itemsimple.hg
+++ b/goocanvas/src/itemsimple.hg
@@ -89,9 +89,9 @@ public:
_WRAP_PROPERTY("clip-path", Glib::ustring)
_WRAP_PROPERTY("clip-fill-rule", Cairo::FillRule)
+ // Don't override Item::get_bounds(). It can do more than taking a copy of
+ // GooCanvasItemSimple.bounds, such as first updating it.
#m4 _CONVERSION(`Bounds',`GooCanvasBounds',*($3).gobj())
-#m4 _CONVERSION(`GooCanvasBounds',`Bounds',`Glib::wrap(&$3)')
- _MEMBER_GET(bounds, bounds, Bounds, GooCanvasBounds);
_MEMBER_SET(bounds, bounds, Bounds, GooCanvasBounds);
protected:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]