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:
Alex Larsson
2001-09-10 16:54:07 +00:00
committed by Alexander Larsson
parent 63a9502159
commit 1a69c439de
13 changed files with 76 additions and 31 deletions

View File

@ -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;
}