diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-06-17 19:37:29 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-06-17 19:37:29 +0000 |
commit | 4e077183cc8cbadde9319c8e145338c330f94623 (patch) | |
tree | 28e9d8feaa595c1889b8e110f0d38ee4224af57e /gdk/gdkcursor.h | |
parent | 3d6ed0595fe33849f3913eddd06fea93402fa333 (diff) | |
download | gtk+-4e077183cc8cbadde9319c8e145338c330f94623.tar.gz |
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().
Diffstat (limited to 'gdk/gdkcursor.h')
-rw-r--r-- | gdk/gdkcursor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkcursor.h b/gdk/gdkcursor.h index ed93ccb98c..086f55e700 100644 --- a/gdk/gdkcursor.h +++ b/gdk/gdkcursor.h @@ -7,6 +7,8 @@ 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. */ |