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 305975 - Register boxed types for PangoLayoutLine and PangoItem
Register boxed types for PangoLayoutLine and PangoItem
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2005-05-30 23:01 UTC by Gustavo Carneiro
Modified: 2005-07-22 15:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.25 KB, patch)
2005-05-30 23:01 UTC, Gustavo Carneiro
none Details | Review
also register boxed type for PangoItem (3.63 KB, patch)
2005-06-05 16:49 UTC, Gustavo Carneiro
none Details | Review

Description Gustavo Carneiro 2005-05-30 23:01:13 UTC
Version details: CVS HEAD

It would be most useful for pygtk if PangoLayoutLine would be registered as
boxed type, using ref/unref as copy/free functions.
Comment 1 Gustavo Carneiro 2005-05-30 23:01:42 UTC
Created attachment 47052 [details] [review]
patch
Comment 2 Gustavo Carneiro 2005-06-05 16:49:12 UTC
PangoItem should also be registered as gboxed...
Comment 3 Gustavo Carneiro 2005-06-05 16:49:43 UTC
Created attachment 47285 [details] [review]
also register boxed type for PangoItem
Comment 4 Owen Taylor 2005-07-22 15:32:02 UTC
2005-07-21  Owen Taylor  <otaylor@redhat.com>

        Based on patch from Gustavo J. A. M. Carneiro  (#305975)

        * pango/pango-layout.[ch] (pango_layout_line_ref)
        pango/pango-attributes.[ch] (pango_attr_list_ref): Return the
        argument to _ref() functions.

        * pango/pango-item.[ch]: Register PangoItem boxed type.

        * pango/pango-layout.[ch]: Register PangoLayoutLine boxed type.