GNOME Bugzilla – Bug 557990
Remove prefix from enums values
Last modified: 2011-01-16 23:36:59 UTC
As of now, values in enumerations have all the prefix CANVAS_. I think the prefix should be removed because it is redundant. Also, the C++ bindings of GTK+ (gtkmm, gdkmm, cairomm) don't add any prefix to the enum values (for example : Gdk::SHIFT_MASK, Gtk::PACK_START...)
Yes, Goocanvas::CANVAS_* is not nice.
Created attachment 122189 [details] [review] Patch to remove CANVAS_* from enums I'm not sure if fixing this would break any other software so I think that's why this has not been fixed, but just in case, I think this patch would fix this. It can be applied whenever it is convenient.
Great. Please apply. We are not really API or ABI stable yet, so it's OK.
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)