forked from AuroraMiddleware/gtk
win32: Drop pointless vfuncs
These are not useful.
This commit is contained in:
parent
876560924f
commit
da9b3a9256
@ -63,18 +63,6 @@ _gdk_device_virtual_set_active (GdkDevice *device,
|
|||||||
g_signal_emit_by_name (G_OBJECT (device), "changed");
|
g_signal_emit_by_name (G_OBJECT (device), "changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
|
||||||
gdk_device_virtual_get_history (GdkDevice *device,
|
|
||||||
GdkSurface *window,
|
|
||||||
guint32 start,
|
|
||||||
guint32 stop,
|
|
||||||
GdkTimeCoord ***events,
|
|
||||||
gint *n_events)
|
|
||||||
{
|
|
||||||
/* History is only per slave device */
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gdk_device_virtual_get_state (GdkDevice *device,
|
gdk_device_virtual_get_state (GdkDevice *device,
|
||||||
GdkSurface *window,
|
GdkSurface *window,
|
||||||
@ -188,7 +176,6 @@ gdk_device_virtual_class_init (GdkDeviceVirtualClass *klass)
|
|||||||
{
|
{
|
||||||
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
||||||
|
|
||||||
device_class->get_history = gdk_device_virtual_get_history;
|
|
||||||
device_class->get_state = gdk_device_virtual_get_state;
|
device_class->get_state = gdk_device_virtual_get_state;
|
||||||
device_class->set_surface_cursor = gdk_device_virtual_set_surface_cursor;
|
device_class->set_surface_cursor = gdk_device_virtual_set_surface_cursor;
|
||||||
device_class->query_state = gdk_device_virtual_query_state;
|
device_class->query_state = gdk_device_virtual_query_state;
|
||||||
|
@ -29,17 +29,6 @@
|
|||||||
|
|
||||||
G_DEFINE_TYPE (GdkDeviceWin32, gdk_device_win32, GDK_TYPE_DEVICE)
|
G_DEFINE_TYPE (GdkDeviceWin32, gdk_device_win32, GDK_TYPE_DEVICE)
|
||||||
|
|
||||||
static gboolean
|
|
||||||
gdk_device_win32_get_history (GdkDevice *device,
|
|
||||||
GdkSurface *window,
|
|
||||||
guint32 start,
|
|
||||||
guint32 stop,
|
|
||||||
GdkTimeCoord ***events,
|
|
||||||
gint *n_events)
|
|
||||||
{
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gdk_device_win32_get_state (GdkDevice *device,
|
gdk_device_win32_get_state (GdkDevice *device,
|
||||||
GdkSurface *window,
|
GdkSurface *window,
|
||||||
@ -235,7 +224,6 @@ gdk_device_win32_class_init (GdkDeviceWin32Class *klass)
|
|||||||
{
|
{
|
||||||
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
||||||
|
|
||||||
device_class->get_history = gdk_device_win32_get_history;
|
|
||||||
device_class->get_state = gdk_device_win32_get_state;
|
device_class->get_state = gdk_device_win32_get_state;
|
||||||
device_class->set_surface_cursor = gdk_device_win32_set_surface_cursor;
|
device_class->set_surface_cursor = gdk_device_win32_set_surface_cursor;
|
||||||
device_class->query_state = gdk_device_win32_query_state;
|
device_class->query_state = gdk_device_win32_query_state;
|
||||||
|
@ -28,17 +28,6 @@
|
|||||||
|
|
||||||
G_DEFINE_TYPE (GdkDeviceWintab, gdk_device_wintab, GDK_TYPE_DEVICE)
|
G_DEFINE_TYPE (GdkDeviceWintab, gdk_device_wintab, GDK_TYPE_DEVICE)
|
||||||
|
|
||||||
static gboolean
|
|
||||||
gdk_device_wintab_get_history (GdkDevice *device,
|
|
||||||
GdkSurface *window,
|
|
||||||
guint32 start,
|
|
||||||
guint32 stop,
|
|
||||||
GdkTimeCoord ***events,
|
|
||||||
gint *n_events)
|
|
||||||
{
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static GdkModifierType
|
static GdkModifierType
|
||||||
get_current_mask (void)
|
get_current_mask (void)
|
||||||
{
|
{
|
||||||
@ -267,7 +256,6 @@ gdk_device_wintab_class_init (GdkDeviceWintabClass *klass)
|
|||||||
{
|
{
|
||||||
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
|
||||||
|
|
||||||
device_class->get_history = gdk_device_wintab_get_history;
|
|
||||||
device_class->get_state = gdk_device_wintab_get_state;
|
device_class->get_state = gdk_device_wintab_get_state;
|
||||||
device_class->set_surface_cursor = gdk_device_wintab_set_surface_cursor;
|
device_class->set_surface_cursor = gdk_device_wintab_set_surface_cursor;
|
||||||
device_class->query_state = gdk_device_wintab_query_state;
|
device_class->query_state = gdk_device_wintab_query_state;
|
||||||
|
Loading…
Reference in New Issue
Block a user