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
@ -65,10 +65,8 @@ stock_item_info_get_type (void)
|
||||
|
||||
if (our_type == 0)
|
||||
our_type = g_boxed_type_register_static ("StockItemInfo",
|
||||
NULL,
|
||||
(GBoxedCopyFunc) stock_item_info_copy,
|
||||
(GBoxedFreeFunc) stock_item_info_free,
|
||||
FALSE);
|
||||
(GBoxedFreeFunc) stock_item_info_free);
|
||||
|
||||
return our_type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user