summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkwindow-win32.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-01 17:32:32 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-11-01 19:44:28 -0400
commit473c642131e5dfcbfdf2c26e1d6464b5fbccc9a2 (patch)
tree5e01d8ae4b49dc75e70a759760bccdc85f42461d /gdk/win32/gdkwindow-win32.c
parent44a173824eb27505ccff956c927179e9c2d4513a (diff)
downloadgtk+-473c642131e5dfcbfdf2c26e1d6464b5fbccc9a2.tar.gz
win32: Remove an unused function
This also removed the last use of gdk_display_get_default_screen from the win32 backend.
Diffstat (limited to 'gdk/win32/gdkwindow-win32.c')
-rw-r--r--gdk/win32/gdkwindow-win32.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index dcb70162ad..d4c865c6b5 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -135,12 +135,6 @@ static void _gdk_win32_impl_release_dc (GdkWindowImplWin32 *impl);
#define WINDOW_IS_TOPLEVEL(window) \
(GDK_WINDOW_TYPE (window) != GDK_WINDOW_FOREIGN)
-GdkScreen *
-GDK_WINDOW_SCREEN (GObject *win)
-{
- return gdk_display_get_default_screen (gdk_display_get_default ());
-}
-
struct _GdkWin32Window {
GdkWindow parent;
};
@@ -4292,7 +4286,6 @@ setup_drag_move_resize_context (GdkWindow *window,
impl->snap_state == GDK_WIN32_AEROSNAP_STATE_HALFLEFT ||
impl->snap_state == GDK_WIN32_AEROSNAP_STATE_FULLUP))
{
- GdkScreen *screen;
GdkMonitor *monitor;
gint wx, wy, wwidth, wheight;
gint swx, swy, swwidth, swheight;
@@ -4302,7 +4295,6 @@ setup_drag_move_resize_context (GdkWindow *window,
GdkDisplay *display;
display = gdk_window_get_display (window);
- screen = gdk_display_get_default_screen (display);
monitor = gdk_display_get_monitor_at_window (display, window);
gdk_window_get_geometry (window, &wx, &wy, &wwidth, &wheight);