diff --git a/clutter/clutter/clutter-input-device-private.h b/clutter/clutter/clutter-input-device-private.h index 31542f030..9c1c1f19d 100644 --- a/clutter/clutter/clutter-input-device-private.h +++ b/clutter/clutter/clutter-input-device-private.h @@ -178,8 +178,6 @@ CLUTTER_EXPORT void clutter_input_device_update_from_tool (ClutterInputDevice *device, ClutterInputDeviceTool *tool); CLUTTER_EXPORT -ClutterStage * _clutter_input_device_get_stage (ClutterInputDevice *device); -CLUTTER_EXPORT void _clutter_input_device_set_stage (ClutterInputDevice *device, ClutterStage *stage); CLUTTER_EXPORT diff --git a/clutter/clutter/clutter-input-device.c b/clutter/clutter/clutter-input-device.c index 8f669abf1..74a091140 100644 --- a/clutter/clutter/clutter-input-device.c +++ b/clutter/clutter/clutter-input-device.c @@ -655,20 +655,6 @@ _clutter_input_device_set_stage (ClutterInputDevice *device, */ } -/*< private > - * clutter_input_device_get_stage: - * @device: a #ClutterInputDevice - * - * Retrieves the stage currently associated with @device. - * - * Return value: The stage currently associated with @device. - */ -ClutterStage * -_clutter_input_device_get_stage (ClutterInputDevice *device) -{ - return device->stage; -} - static void _clutter_input_device_free_touch_info (gpointer data) { @@ -1086,25 +1072,6 @@ clutter_input_device_get_actor (ClutterInputDevice *device, return info->actor; } -/** - * clutter_input_device_get_pointer_stage: - * @device: a #ClutterInputDevice of type %CLUTTER_POINTER_DEVICE - * - * Retrieves the #ClutterStage underneath the pointer of @device - * - * Return value: (transfer none): a pointer to the #ClutterStage or %NULL - * - * Since: 1.2 - */ -ClutterStage * -clutter_input_device_get_pointer_stage (ClutterInputDevice *device) -{ - g_return_val_if_fail (CLUTTER_IS_INPUT_DEVICE (device), NULL); - g_return_val_if_fail (device->device_type == CLUTTER_POINTER_DEVICE, NULL); - - return device->stage; -} - /** * clutter_input_device_get_device_name: * @device: a #ClutterInputDevice diff --git a/clutter/clutter/clutter-input-device.h b/clutter/clutter/clutter-input-device.h index 0918d6366..5cc48e192 100644 --- a/clutter/clutter/clutter-input-device.h +++ b/clutter/clutter/clutter-input-device.h @@ -95,8 +95,6 @@ CLUTTER_EXPORT ClutterActor * clutter_input_device_get_actor (ClutterInputDevice *device, ClutterEventSequence *sequence); CLUTTER_EXPORT -ClutterStage * clutter_input_device_get_pointer_stage (ClutterInputDevice *device); -CLUTTER_EXPORT const gchar * clutter_input_device_get_device_name (ClutterInputDevice *device); CLUTTER_EXPORT ClutterInputMode clutter_input_device_get_device_mode (ClutterInputDevice *device);