diff options
author | Alex Larsson <alexl@redhat.com> | 2001-09-10 16:50:43 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2001-09-10 16:50:43 +0000 |
commit | fdf4784610942390b5465a245434c5d699aa8728 (patch) | |
tree | c0623566e54257fb4292afd0fd0537f48ed07399 /pango | |
parent | af319ff03e4aedf7bf9466d4ddd6bed52f7cda4d (diff) | |
download | pango-fdf4784610942390b5465a245434c5d699aa8728.tar.gz |
Update to the new g_boxed_type_register_static API.
2001-09-10 Alex Larsson <alexl@redhat.com>
* pango/fonts.c:
* pango/glyphstring.c:
* pango/pango-attributes.c:
* pango/pango-color.c:
* pango/pango-tabs.c:
* pango/pango-utils.c:
Update to the new g_boxed_type_register_static API.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/fonts.c | 4 | ||||
-rw-r--r-- | pango/glyphstring.c | 4 | ||||
-rw-r--r-- | pango/pango-attributes.c | 4 | ||||
-rw-r--r-- | pango/pango-color.c | 4 | ||||
-rw-r--r-- | pango/pango-tabs.c | 4 | ||||
-rw-r--r-- | pango/pango-utils.c | 4 |
6 files changed, 6 insertions, 18 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index d8c9b1fa..17a0729d 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -36,10 +36,8 @@ pango_font_description_get_type (void) if (our_type == 0) our_type = g_boxed_type_register_static ("PangoFontDescription", - NULL, (GBoxedCopyFunc)pango_font_description_copy, - (GBoxedFreeFunc)pango_font_description_free, - FALSE); + (GBoxedFreeFunc)pango_font_description_free); return our_type; } diff --git a/pango/glyphstring.c b/pango/glyphstring.c index feaefe2e..26b67dd7 100644 --- a/pango/glyphstring.c +++ b/pango/glyphstring.c @@ -78,10 +78,8 @@ pango_glyph_string_get_type (void) if (our_type == 0) our_type = g_boxed_type_register_static ("PangoGlyphString", - NULL, (GBoxedCopyFunc)pango_glyph_string_copy, - (GBoxedFreeFunc)pango_glyph_string_free, - FALSE); + (GBoxedFreeFunc)pango_glyph_string_free); return our_type; } diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index d2519f89..9519c01a 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -717,10 +717,8 @@ pango_attr_list_get_type (void) if (our_type == 0) our_type = g_boxed_type_register_static ("PangoAttrList", - NULL, (GBoxedCopyFunc) pango_attr_list_copy, - (GBoxedFreeFunc) pango_attr_list_unref, - FALSE); + (GBoxedFreeFunc) pango_attr_list_unref); return our_type; } diff --git a/pango/pango-color.c b/pango/pango-color.c index dd1db8f3..8713529e 100644 --- a/pango/pango-color.c +++ b/pango/pango-color.c @@ -32,10 +32,8 @@ pango_color_get_type (void) if (our_type == 0) our_type = g_boxed_type_register_static ("PangoColor", - NULL, (GBoxedCopyFunc) pango_color_copy, - (GBoxedFreeFunc) pango_color_free, - FALSE); + (GBoxedFreeFunc) pango_color_free); return our_type; } diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c index 4dc9a319..7917a58b 100644 --- a/pango/pango-tabs.c +++ b/pango/pango-tabs.c @@ -159,10 +159,8 @@ pango_tab_array_get_type (void) if (our_type == 0) our_type = g_boxed_type_register_static ("PangoTabArray", - NULL, (GBoxedCopyFunc)pango_tab_array_copy, - (GBoxedFreeFunc)pango_tab_array_free, - FALSE); + (GBoxedFreeFunc)pango_tab_array_free); return our_type; } diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 6516c022..c39422b4 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -952,10 +952,8 @@ pango_language_get_type (void) if (our_type == 0) our_type = g_boxed_type_register_static ("PangoLanguage", - NULL, (GBoxedCopyFunc)pango_language_copy, - (GBoxedFreeFunc)pango_language_free, - FALSE); + (GBoxedFreeFunc)pango_language_free); return our_type; } |