summaryrefslogtreecommitdiff
path: root/gdk/gdkrectangle.c
diff options
context:
space:
mode:
authorAlex Larsson <alexl@redhat.com>2001-09-10 16:54:07 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-09-10 16:54:07 +0000
commit1a69c439debbde8ecd334853965e8d5011993e29 (patch)
tree50478cbcaf94ba0a4687208d088e227a0265898e /gdk/gdkrectangle.c
parent63a9502159ee3d872cd37c98a62ed2270368e261 (diff)
downloadgtk+-1a69c439debbde8ecd334853965e8d5011993e29.tar.gz
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.
Diffstat (limited to 'gdk/gdkrectangle.c')
-rw-r--r--gdk/gdkrectangle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdk/gdkrectangle.c b/gdk/gdkrectangle.c
index 27e181c535..c480d9f998 100644
--- a/gdk/gdkrectangle.c
+++ b/gdk/gdkrectangle.c
@@ -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;
}