After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 517817 - Goocanvas::TextModel alignment property not correctly wrapped
Goocanvas::TextModel alignment property not correctly wrapped
Status: RESOLVED FIXED
Product: goocanvasmm
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-02-21 08:44 UTC by Gennaro Bellizio
Modified: 2011-01-16 23:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Gennaro Bellizio 2008-02-21 08:44:50 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? */
Comment 1 Murray Cumming 2008-02-21 15:58:13 UTC
Applied. Thanks.

In future, please _attach_ an svn patch, with an entry in the ChangeLog.