summaryrefslogtreecommitdiff
path: root/gdk/gdkdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkdevice.c')
-rw-r--r--gdk/gdkdevice.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index d8b66f1a83..6c3832262b 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -1760,18 +1760,18 @@ gdk_device_get_last_event_window (GdkDevice *device)
}
/**
- * gdk_device_get_time:
+ * gdk_device_get_motion_time:
* @device: a #GdkDevice
*
- * Returns the timestamp of the last event involving this device that GDK has
- * received.
+ * Returns the timestamp of the last motion event involving this device
+ * that GDK has received.
*
* Returns: the timestamp of the last event for this device
*
* Since: 3.16
*/
guint32
-gdk_device_get_time (GdkDevice *device)
+gdk_device_get_motion_time (GdkDevice *device)
{
g_return_val_if_fail (GDK_IS_DEVICE (device), 0);
@@ -1779,8 +1779,8 @@ gdk_device_get_time (GdkDevice *device)
}
void
-_gdk_device_set_time (GdkDevice *device,
- guint32 time)
+_gdk_device_set_motion_time (GdkDevice *device,
+ guint32 time)
{
if (time > device->time)
{