Commit 0c990645 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

win32: Remove unused functions

The _gdk_windowing_* stuff is not used anymore
parent daaf2a0d
......@@ -33,12 +33,6 @@
#undef HAVE_MONITOR_INFO
#endif
void
_gdk_windowing_set_default_display (GdkDisplay *display)
{
g_assert (display == NULL || _gdk_display == display);
}
static gulong
gdk_win32_display_get_next_serial (GdkDisplay *display)
{
......
......@@ -2143,27 +2143,6 @@ gdk_window_win32_get_device_state (GdkWindow *window,
return (child != NULL);
}
void
_gdk_windowing_get_device_state (GdkDisplay *display,
GdkDevice *device,
GdkScreen **screen,
gint *x,
gint *y,
GdkModifierType *mask)
{
g_return_if_fail (display == _gdk_display);
if (screen)
*screen = _gdk_screen;
GDK_DEVICE_GET_CLASS (device)->query_state (device,
gdk_screen_get_root_window (_gdk_screen),
NULL, NULL,
x, y,
NULL, NULL,
mask);
}
void
gdk_display_warp_device (GdkDisplay *display,
GdkDevice *device,
......@@ -2179,17 +2158,6 @@ gdk_display_warp_device (GdkDisplay *display,
GDK_DEVICE_GET_CLASS (device)->warp (device, screen, x, y);
}
GdkWindow*
_gdk_windowing_window_at_device_position (GdkDisplay *display,
GdkDevice *device,
gint *win_x,
gint *win_y,
GdkModifierType *mask,
gboolean get_toplevel)
{
return GDK_DEVICE_GET_CLASS (device)->window_at_position (device, win_x, win_y, mask, get_toplevel);
}
static GdkEventMask
gdk_win32_window_get_events (GdkWindow *window)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment