[gtk/drop-device-history: 2/4] wayland: Drop a pointless vfunc
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/drop-device-history: 2/4] wayland: Drop a pointless vfunc
- Date: Mon, 8 Jun 2020 22:46:42 +0000 (UTC)
commit 876560924fe9e5affff16d75cef7817b539c057d
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 8 18:20:20 2020 -0400
wayland: Drop a pointless vfunc
A vfunc that just returns FALSE is not useful.
gdk/wayland/gdkdevice-wayland.c | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index c0708bc8af..17001aff1b 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -309,17 +309,6 @@ static void deliver_key_event (GdkWaylandSeat *seat,
uint32_t state,
gboolean from_key_repeat);
-static gboolean
-gdk_wayland_device_get_history (GdkDevice *device,
- GdkSurface *surface,
- guint32 start,
- guint32 stop,
- GdkTimeCoord ***events,
- gint *n_events)
-{
- return FALSE;
-}
-
static void
gdk_wayland_device_get_state (GdkDevice *device,
GdkSurface *surface,
@@ -828,7 +817,6 @@ gdk_wayland_device_class_init (GdkWaylandDeviceClass *klass)
{
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
- device_class->get_history = gdk_wayland_device_get_history;
device_class->get_state = gdk_wayland_device_get_state;
device_class->set_surface_cursor = gdk_wayland_device_set_surface_cursor;
device_class->query_state = gdk_wayland_device_query_state;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]