summaryrefslogtreecommitdiff
path: root/gdk/gdkinput.h
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-06-28 16:35:38 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-06-28 16:35:38 +0000
commitcd3ddf900fe4c392ba864bd6d12d914de211114a (patch)
tree19208d6a113e165fd0d831d61f781d46fd3edfa8 /gdk/gdkinput.h
parent796dc4b1d76e79ef3c4a95751c33aabf721bfc51 (diff)
downloadgdk-pixbuf-cd3ddf900fe4c392ba864bd6d12d914de211114a.tar.gz
The following changes correspond to bug #56812
2001-06-29 James Henstridge <james@daa.com.au> The following changes correspond to bug #56812 * gdk/gdkinput.h, gdk/gdkevents.c (GDK_TYPE_DEVICE): register type code for GdkDevice. * gdk/gdkcursor.[ch] (GDK_TYPE_CURSOR): register type code for GdkCursor.
Diffstat (limited to 'gdk/gdkinput.h')
-rw-r--r--gdk/gdkinput.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdk/gdkinput.h b/gdk/gdkinput.h
index d2fa666e5..d2a17f2eb 100644
--- a/gdk/gdkinput.h
+++ b/gdk/gdkinput.h
@@ -7,6 +7,8 @@
extern "C" {
#endif /* __cplusplus */
+#define GDK_TYPE_DEVICE (gdk_device_get_type ())
+
typedef struct _GdkDeviceKey GdkDeviceKey;
typedef struct _GdkDeviceAxis GdkDeviceAxis;
typedef struct _GdkDevice GdkDevice;
@@ -86,6 +88,13 @@ struct _GdkTimeCoord
gdouble axes[GDK_MAX_TIMECOORD_AXES];
};
+GType gdk_device_get_type (void);
+/* these two are no ops provided for the boxed type code */
+/* XXXX do they need to be exposed as public APIs at all? */
+GdkDevice *gdk_device_ref (GdkDevice *device);
+void gdk_device_unref (GdkDevice *device);
+
+
/* Returns a list of GdkDevice * */
GList * gdk_devices_list (void);