diff options
author | Tim Janik <timj@gtk.org> | 2001-03-07 14:33:53 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-03-07 14:33:53 +0000 |
commit | 17a36cd568219f8684962c274cd4832ad0feb1b2 (patch) | |
tree | 6dfda823b5252c02f0896defaa37f22566b10810 /pango/pango-attributes.c | |
parent | 94742208d8f1e274d8a5db4515acfbd4b3d9e4fa (diff) | |
download | pango-17a36cd568219f8684962c274cd4832ad0feb1b2.tar.gz |
fixed up g_boxed_type_register_static() since GLib signature changed.
Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
* pango/pango-attributes.c: fixed up g_boxed_type_register_static()
since GLib signature changed.
* got rid of bogus g_type_init() calls.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index a28dd7a1..e8c7c731 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -689,13 +689,11 @@ 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); - } + our_type = g_boxed_type_register_static ("PangoAttrList", + NULL, + pango_attr_list_copy, + pango_attr_list_unref, + FALSE); return our_type; } @@ -1505,13 +1503,11 @@ pango_color_get_type (void) static GType our_type = 0; if (our_type == 0) - { - g_type_init (0); - - our_type = g_boxed_type_register_static ("PangoColor", - pango_color_copy, - pango_color_free); - } + our_type = g_boxed_type_register_static ("PangoColor", + NULL, + pango_color_copy, + pango_color_free, + FALSE); return our_type; } |