diff options
author | Alexander Larsson <alla@lysator.liu.se> | 2001-02-28 17:39:36 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2001-02-28 17:39:36 +0000 |
commit | 835ef9ddfc5d71b136ed5c491533d76875bd6951 (patch) | |
tree | 3beb5c1403c8eef0fe062180203002fad9d3cd35 /pango/pango-attributes.c | |
parent | 51df27fae443be766b686da2759617af3c1d7193 (diff) | |
download | pango-835ef9ddfc5d71b136ed5c491533d76875bd6951.tar.gz |
Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.
2001-02-28 Alexander Larsson <alla@lysator.liu.se>
* pango/pango-attributes.[c]:
Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index af04ffed..a28dd7a1 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -683,6 +683,23 @@ pango_attr_shape_new (const PangoRectangle *ink_rect, return (PangoAttribute *)result; } +GType +pango_attr_list_get_type (void) +{ + static GType our_type = 0; + + if (our_type == 0) + { + g_type_init (0); + + our_type = g_boxed_type_register_static ("PangoAttrList", + pango_attr_list_copy, + pango_attr_list_unref); + } + + return our_type; +} + /** * pango_attr_list_new: * |