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 725681 - Pango text attributes cannot be used through gobject-introspection
Pango text attributes cannot be used through gobject-introspection
Status: RESOLVED DUPLICATE of bug 646788
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-04 19:59 UTC by David Shea
Modified: 2014-03-05 22:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to provide GObject boxed types for PangoAttribute and PangoAttrIterator (2.23 KB, patch)
2014-03-05 22:35 UTC, David Shea
none Details | Review

Description David Shea 2014-03-04 19:59:00 UTC
As far as I can tell PangoAttribute objects can not be used through gobject-introspection. None of the pango_attr_*_new functions are introspectable, and pango_attribute_init cannot be used directly since there is no way to create the PangoAttrClass object, since PangoAttrClass contains non-introspectable elements.
Comment 1 Behdad Esfahbod 2014-03-04 20:58:43 UTC
Known issue.  There's a duplicate somewhere...
Comment 2 David Shea 2014-03-05 22:35:00 UTC
Created attachment 271047 [details] [review]
patch to provide GObject boxed types for PangoAttribute and PangoAttrIterator 

Could you just add boxed types like most of the other Pango types have?
Comment 3 David Shea 2014-03-05 22:51:39 UTC
Anyway, now that I look for it, I think 646788 is the duplicate you're talking about.

*** This bug has been marked as a duplicate of bug 646788 ***