From 8e3ea42aba01c5f784b4d356b7651cb33171cf03 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sat, 18 Jun 2005 11:25:14 +0000 Subject: remove GDK_CURSOR and GDK_IS_CURSOR, instance checks don't work on boxed Sat Jun 18 04:22:51 2005 Manish Singh * gdk/gdkcursor.h: remove GDK_CURSOR and GDK_IS_CURSOR, instance checks don't work on boxed types. * gdk/x11/gdkcursor-x11.c: * gdk/gdkcursor.c: make return_if_fail checks != NULL instead of GDK_IS_CURSOR. --- gdk/gdkcursor.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdk/gdkcursor.h') diff --git a/gdk/gdkcursor.h b/gdk/gdkcursor.h index 086f55e700..ed93ccb98c 100644 --- a/gdk/gdkcursor.h +++ b/gdk/gdkcursor.h @@ -7,8 +7,6 @@ G_BEGIN_DECLS #define GDK_TYPE_CURSOR (gdk_cursor_get_type ()) -#define GDK_CURSOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_CURSOR, GdkCursor)) -#define GDK_IS_CURSOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_CURSOR)) /* Cursor types. */ -- cgit v1.2.1