Update to use the new g_boxed_type_register_static API.
2001-09-10 Alex Larsson <alexl@redhat.com> * demos/gtk-demo/stock_browser.c: * gdk/gdkcolor.c: * gdk/gdkcursor.c: * gdk/gdkevents.c: * gdk/gdkrectangle.c: * gtk/gtktypeutils.c: Update to use the new g_boxed_type_register_static API.
This commit is contained in:
committed by
Alexander Larsson
parent
63a9502159
commit
1a69c439de
@ -98,10 +98,8 @@ gdk_rectangle_get_type (void)
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static ("GdkRectangle",
|
||||
NULL,
|
||||
(GBoxedCopyFunc)gdk_rectangle_copy,
|
||||
(GBoxedFreeFunc)g_free,
|
||||
FALSE);
|
||||
(GBoxedFreeFunc)g_free);
|
||||
return our_type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user