diff options
Diffstat (limited to 'gdk/x11/gdkinput.c')
-rw-r--r-- | gdk/x11/gdkinput.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/gdk/x11/gdkinput.c b/gdk/x11/gdkinput.c index 2232f584d4..7e952c4492 100644 --- a/gdk/x11/gdkinput.c +++ b/gdk/x11/gdkinput.c @@ -66,18 +66,6 @@ _gdk_init_input_core (void) gdk_core_pointer->keys = NULL; } -static void -gdk_device_finalize (GObject *object) -{ - g_error ("A GdkDevice object was finalized. This should not happen"); -} - -static void -gdk_device_class_init (GObjectClass *class) -{ - class->finalize = gdk_device_finalize; -} - GType gdk_device_get_type (void) { @@ -90,7 +78,7 @@ gdk_device_get_type (void) sizeof (GdkDeviceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, - (GClassInitFunc) gdk_device_class_init, + (GClassInitFunc) NULL, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GdkDevicePrivate), |