Define GDK_IS_CURSOR() and GDK_CURSOR().

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().
This commit is contained in:
Matthias Clasen 2005-06-17 19:37:29 +00:00 committed by Matthias Clasen
parent 3d6ed0595f
commit 4e077183cc
4 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2005-06-17 Matthias Clasen <mclasen@redhat.com> 2005-06-17 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().
* gdk/x11/gdkcursor-x11.c: * gdk/x11/gdkcursor-x11.c:
* gdk/gdkcursor.c: Improve some return_if_fail checks, * gdk/gdkcursor.c: Improve some return_if_fail checks,
and add the missing non-Xcursor fallback for and add the missing non-Xcursor fallback for

View File

@ -1,5 +1,7 @@
2005-06-17 Matthias Clasen <mclasen@redhat.com> 2005-06-17 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().
* gdk/x11/gdkcursor-x11.c: * gdk/x11/gdkcursor-x11.c:
* gdk/gdkcursor.c: Improve some return_if_fail checks, * gdk/gdkcursor.c: Improve some return_if_fail checks,
and add the missing non-Xcursor fallback for and add the missing non-Xcursor fallback for

View File

@ -1,5 +1,7 @@
2005-06-17 Matthias Clasen <mclasen@redhat.com> 2005-06-17 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().
* gdk/x11/gdkcursor-x11.c: * gdk/x11/gdkcursor-x11.c:
* gdk/gdkcursor.c: Improve some return_if_fail checks, * gdk/gdkcursor.c: Improve some return_if_fail checks,
and add the missing non-Xcursor fallback for and add the missing non-Xcursor fallback for

View File

@ -7,6 +7,8 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDK_TYPE_CURSOR (gdk_cursor_get_type ()) #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. /* Cursor types.
*/ */