Clean up clutter-private.h/1
Move DeviceManager/InputDevice private API to a different header.
This commit is contained in:
@ -520,7 +520,7 @@ clutter_event_get_device_id (const ClutterEvent *event)
|
||||
}
|
||||
|
||||
if (device != NULL)
|
||||
return device->id;
|
||||
return clutter_input_device_get_device_id (device);
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
@ -574,7 +574,7 @@ clutter_event_get_device_type (const ClutterEvent *event)
|
||||
}
|
||||
|
||||
if (device != NULL)
|
||||
return device->device_type;
|
||||
return clutter_input_device_get_device_type (device);
|
||||
else
|
||||
return CLUTTER_POINTER_DEVICE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user