From f749858df339bc8f384b801fbbd7262e23422049 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Fri, 9 Aug 2013 10:57:50 +0200 Subject: [PATCH] evdev: remove dead code ClutterDeviceManager uses g_object_new directly, to pass the necessary properties down. https://bugzilla.gnome.org/show_bug.cgi?id=705710 --- clutter/evdev/clutter-input-device-evdev.c | 6 ------ clutter/evdev/clutter-input-device-evdev.h | 1 - 2 files changed, 7 deletions(-) diff --git a/clutter/evdev/clutter-input-device-evdev.c b/clutter/evdev/clutter-input-device-evdev.c index fc6b079d1..1ee21676a 100644 --- a/clutter/evdev/clutter-input-device-evdev.c +++ b/clutter/evdev/clutter-input-device-evdev.c @@ -181,12 +181,6 @@ clutter_input_device_evdev_init (ClutterInputDeviceEvdev *self) self->priv = clutter_input_device_evdev_get_instance_private (self); } -ClutterInputDeviceEvdev * -_clutter_input_device_evdev_new (void) -{ - return g_object_new (CLUTTER_TYPE_INPUT_DEVICE_EVDEV, NULL); -} - const gchar * _clutter_input_device_evdev_get_sysfs_path (ClutterInputDeviceEvdev *device) { diff --git a/clutter/evdev/clutter-input-device-evdev.h b/clutter/evdev/clutter-input-device-evdev.h index 4b76e6223..d2d3fd2ed 100644 --- a/clutter/evdev/clutter-input-device-evdev.h +++ b/clutter/evdev/clutter-input-device-evdev.h @@ -57,7 +57,6 @@ typedef struct _ClutterInputDeviceEvdev ClutterInputDeviceEvdev; GType clutter_input_device_evdev_get_type (void) G_GNUC_CONST; -ClutterInputDeviceEvdev * _clutter_input_device_evdev_new (void); const gchar * _clutter_input_device_evdev_get_sysfs_path (ClutterInputDeviceEvdev *device); const gchar * _clutter_input_device_evdev_get_device_path (ClutterInputDeviceEvdev *device);