[gtk+/wip/window-scales2: 2/40] win32: Remove unused functions
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/window-scales2: 2/40] win32: Remove unused functions
- Date: Wed, 3 Jul 2013 12:42:08 +0000 (UTC)
commit 995a7e95b9ff03ae42ca59f1f7df61595e7137f9
Author: Alexander Larsson <alexl redhat com>
Date: Wed Jul 3 10:59:31 2013 +0200
win32: Remove unused functions
The _gdk_windowing_* stuff is not used anymore
gdk/win32/gdkdisplay-win32.c | 6 ------
gdk/win32/gdkwindow-win32.c | 32 --------------------------------
2 files changed, 0 insertions(+), 38 deletions(-)
---
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index 8e3ae35..d03e272 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -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)
{
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index e35b6a7..3336174 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -2144,27 +2144,6 @@ gdk_window_win32_get_device_state (GdkWindow *window,
}
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,
GdkScreen *screen,
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]