From ca1c89c5bda7cffd7eacec0c8a7be06e7a98131c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 8 Jun 2020 18:19:57 -0400 Subject: broadway: Drop a pointless vfunc A vfunc that just returns FALSE is not useful. --- gdk/broadway/gdkdevice-broadway.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gdk/broadway') diff --git a/gdk/broadway/gdkdevice-broadway.c b/gdk/broadway/gdkdevice-broadway.c index a936d36d36..4ab5295c7d 100644 --- a/gdk/broadway/gdkdevice-broadway.c +++ b/gdk/broadway/gdkdevice-broadway.c @@ -23,12 +23,6 @@ #include "gdksurfaceprivate.h" #include "gdkprivate-broadway.h" -static gboolean gdk_broadway_device_get_history (GdkDevice *device, - GdkSurface *surface, - guint32 start, - guint32 stop, - GdkTimeCoord ***events, - gint *n_events); static void gdk_broadway_device_get_state (GdkDevice *device, GdkSurface *surface, gdouble *axes, @@ -64,7 +58,6 @@ gdk_broadway_device_class_init (GdkBroadwayDeviceClass *klass) { GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass); - device_class->get_history = gdk_broadway_device_get_history; device_class->get_state = gdk_broadway_device_get_state; device_class->set_surface_cursor = gdk_broadway_device_set_surface_cursor; device_class->query_state = gdk_broadway_device_query_state; @@ -84,17 +77,6 @@ gdk_broadway_device_init (GdkBroadwayDevice *device_core) _gdk_device_add_axis (device, NULL, GDK_AXIS_Y, 0, 0, 1); } -static gboolean -gdk_broadway_device_get_history (GdkDevice *device, - GdkSurface *surface, - guint32 start, - guint32 stop, - GdkTimeCoord ***events, - gint *n_events) -{ - return FALSE; -} - static void gdk_broadway_device_get_state (GdkDevice *device, GdkSurface *surface, -- cgit v1.2.1