diff options
author | Benjamin Otte <otte@gnome.org> | 2016-02-06 05:46:09 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-02-11 03:44:47 +0100 |
commit | 76e56c503850c6f9a699d6cc1a5c4bf518a885b2 (patch) | |
tree | b6219883048e38e48df151e06eb240fa0b34101b /gdk/win32/gdkdevice-virtual.c | |
parent | ccbfa64d6793d244bf9fac4aea33c462f5a1bdbe (diff) | |
download | gtk+-76e56c503850c6f9a699d6cc1a5c4bf518a885b2.tar.gz |
win32: Stop using _gdk_display global in device code
Use gdk_device_get_display() instead.
Diffstat (limited to 'gdk/win32/gdkdevice-virtual.c')
-rw-r--r-- | gdk/win32/gdkdevice-virtual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdkdevice-virtual.c b/gdk/win32/gdkdevice-virtual.c index 46e694d36d..a0f485ed2f 100644 --- a/gdk/win32/gdkdevice-virtual.c +++ b/gdk/win32/gdkdevice-virtual.c @@ -148,7 +148,7 @@ gdk_device_virtual_set_window_cursor (GdkDevice *device, parent_window = parent_window->parent; } else - replacement_cursor = _gdk_win32_display_get_cursor_for_type (_gdk_display, GDK_LEFT_PTR); + replacement_cursor = _gdk_win32_display_get_cursor_for_type (gdk_device_get_display (device), GDK_LEFT_PTR); } SetCursor (GDK_WIN32_CURSOR (replacement_cursor)->hcursor); |