summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.c
diff options
context:
space:
mode:
authorAlex Larsson <alexl@redhat.com>2001-06-30 02:56:50 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-06-30 02:56:50 +0000
commit43696e841d807d9dba7b50314517069634d4cba2 (patch)
tree3418f45d3bc7bdcc326cdf5b64cb08a34dca7933 /gdk/gdkevents.c
parentee5ff7ddc23a90018b35102ac87e6ac41928da10 (diff)
downloadgdk-pixbuf-43696e841d807d9dba7b50314517069634d4cba2.tar.gz
Convert GdkVisual to a GObject.
2001-06-29 Alex Larsson <alexl@redhat.com> * gdk/gdkvisual.h: * gdk/gdkcolor.c: * gdk/x11/gdkx.h: * gdk/x11/gdkvisual-x11.c: Convert GdkVisual to a GObject. * gdk/gdkinput.h: * gdk/gdkevents.c: * gdk/x11/gdkinputprivate.h: * gdk/x11/gdkinput-gxi.c: * gdk/x11/gdkinput-none.c: * gdk/x11/gdkinput-x11.c: * gdk/x11/gdkinput-xfree.c: * gdk/x11/gdkinput.c: Convert GdkDevice to a GObject.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r--gdk/gdkevents.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 72bfbc236..5650694f7 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -1016,32 +1016,3 @@ gdk_event_get_type (void)
FALSE);
return our_type;
}
-
-/* These functions are defined here to avoid a new C file, as GdkDevice is
- * platform specific. (similar to how gdk_visual_get_type() is in gdkcolor.c)
- */
-GdkDevice *
-gdk_device_ref (GdkDevice *device)
-{
- return device;
-}
-
-void
-gdk_device_unref (GdkDevice *device)
-{
- return;
-}
-
-GType
-gdk_device_get_type (void)
-{
- static GType our_type = 0;
-
- if (our_type == 0)
- our_type = g_boxed_type_register_static ("GdkDevice",
- NULL,
- (GBoxedCopyFunc)gdk_device_ref,
- (GBoxedFreeFunc)gdk_device_unref,
- TRUE);
- return our_type;
-}