[clutter/clutter-1.16] input-device-x11: Remove more dead code
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.16] input-device-x11: Remove more dead code
- Date: Thu, 11 Jul 2013 18:38:12 +0000 (UTC)
commit 01707f0da973d7ba149971b92ea51af9f99d4f2d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 11 14:04:14 2013 -0400
input-device-x11: Remove more dead code
It seems this API has never been used..
clutter/x11/clutter-input-device-core-x11.c | 21 ---------------------
clutter/x11/clutter-input-device-core-x11.h | 6 ------
2 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/clutter/x11/clutter-input-device-core-x11.c b/clutter/x11/clutter-input-device-core-x11.c
index 0835c17..0e80b6e 100644
--- a/clutter/x11/clutter-input-device-core-x11.c
+++ b/clutter/x11/clutter-input-device-core-x11.c
@@ -77,24 +77,3 @@ static void
clutter_input_device_x11_init (ClutterInputDeviceX11 *self)
{
}
-
-void
-_clutter_input_device_x11_set_keycodes (ClutterInputDeviceX11 *device_x11,
- int min_keycode,
- int max_keycode)
-{
- device_x11->min_keycode = min_keycode;
- device_x11->max_keycode = max_keycode;
-}
-
-int
-_clutter_input_device_x11_get_min_keycode (ClutterInputDeviceX11 *device_x11)
-{
- return device_x11->min_keycode;
-}
-
-int
-_clutter_input_device_x11_get_max_keycode (ClutterInputDeviceX11 *device_x11)
-{
- return device_x11->max_keycode;
-}
diff --git a/clutter/x11/clutter-input-device-core-x11.h b/clutter/x11/clutter-input-device-core-x11.h
index ce6b125..c264051 100644
--- a/clutter/x11/clutter-input-device-core-x11.h
+++ b/clutter/x11/clutter-input-device-core-x11.h
@@ -39,12 +39,6 @@ typedef struct _ClutterInputDeviceX11 ClutterInputDeviceX11;
GType _clutter_input_device_x11_get_type (void) G_GNUC_CONST;
-void _clutter_input_device_x11_set_keycodes (ClutterInputDeviceX11 *device_x11,
- int min_keycode,
- int max_keycode);
-int _clutter_input_device_x11_get_min_keycode (ClutterInputDeviceX11 *device_x11);
-int _clutter_input_device_x11_get_max_keycode (ClutterInputDeviceX11 *device_x11);
-
G_END_DECLS
#endif /* __CLUTTER_INPUT_DEVICE_X11_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]