GNOME Bugzilla – Bug 517817
Goocanvas::TextModel alignment property not correctly wrapped
Last modified: 2011-01-16 23:37:00 UTC
The Goocanvas::TextModel alignment property is wrapped using the C API PangoAlignment type instead of the C++ Pango::Alignment type. Here is my patch Index: textmodel.hg =================================================================== --- textmodel.hg (revisione 1355) +++ textmodel.hg (copia locale) @@ -37,7 +37,7 @@ _WRAP_CREATE(const Glib::ustring& string = Glib::ustring(), double x = 0.0, double y = 0.0, double width = -1, Gtk::AnchorType anchor = Gtk::ANCHOR_NORTH_WEST) - _WRAP_PROPERTY("alignment", PangoAlignment) + _WRAP_PROPERTY("alignment", Pango::Alignment) _WRAP_PROPERTY("anchor", Gtk::AnchorType) _WRAP_PROPERTY("font", Glib::ustring) _WRAP_PROPERTY("font-desc", Pango::FontDescription) //TODO: Use pointer? */
Applied. Thanks. In future, please _attach_ an svn patch, with an entry in the ChangeLog.