gnomemm r1778 - in goocanvasmm/trunk: . goocanvas/src



Author: jaalburqu
Date: Fri Nov  7 20:20:53 2008
New Revision: 1778
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1778&view=rev

Log:
2008-11-07  Josà Alburquerque  <jaalburqu svn gnome org>

	* goocanvas/src/enums.hg:
	* goocanvas/src/itemmodel.hg:
	* goocanvas/src/path.hg: Modify enums so that CANVAS_* is removed.
	Bug #557990 (Louis-Francis RattÃ-Boulianne)

Modified:
   goocanvasmm/trunk/ChangeLog
   goocanvasmm/trunk/goocanvas/src/enums.hg
   goocanvasmm/trunk/goocanvas/src/itemmodel.hg
   goocanvasmm/trunk/goocanvas/src/path.hg

Modified: goocanvasmm/trunk/goocanvas/src/enums.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/enums.hg	(original)
+++ goocanvasmm/trunk/goocanvas/src/enums.hg	Fri Nov  7 20:20:53 2008
@@ -26,10 +26,9 @@
 namespace Goocanvas
 {
 
-//TODO: Somehow make the enum values be ITEM_VISIBLE instead of CANVAS_ITEM_VISIBLE. It seems to just find the first _.
-_WRAP_ENUM(PointerEvents,GooCanvasPointerEvents)
-_WRAP_ENUM(ItemVisibility,GooCanvasItemVisibility)
-_WRAP_ENUM(PathCommandType,GooCanvasPathCommandType)
+_WRAP_ENUM(PointerEvents,GooCanvasPointerEvents, s#^CANVAS_##)
+_WRAP_ENUM(ItemVisibility,GooCanvasItemVisibility, s#^CANVAS_##)
+_WRAP_ENUM(PathCommandType,GooCanvasPathCommandType, s#^CANVAS_##)
 
 } //namespace Goocanvas
 

Modified: goocanvasmm/trunk/goocanvas/src/itemmodel.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/itemmodel.hg	(original)
+++ goocanvasmm/trunk/goocanvas/src/itemmodel.hg	Fri Nov  7 20:20:53 2008
@@ -33,7 +33,7 @@
   class Canvas ;
   class Item ;
 
-_WRAP_ENUM(AnimateType,GooCanvasAnimateType)
+_WRAP_ENUM(AnimateType,GooCanvasAnimateType, s#^CANVAS_##)
 
 class ItemModel : public Glib::Interface
 {

Modified: goocanvasmm/trunk/goocanvas/src/path.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/path.hg	(original)
+++ goocanvasmm/trunk/goocanvas/src/path.hg	Fri Nov  7 20:20:53 2008
@@ -25,7 +25,7 @@
 {
 
 /*
-_WRAP_ENUM(PathCommandType,GooCanvasPathCommandType)
+_WRAP_ENUM(PathCommandType,GooCanvasPathCommandType, s#^CANVAS_##)
 */
 
 class Path : public Goocanvas::ItemSimple



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