diff options
author | Paolo Borelli <pborelli@gnome.org> | 2016-03-05 19:43:32 +0100 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2016-03-05 20:31:10 +0100 |
commit | 58a49c1a4bfaf36dc52dc8ff4ad1c91c85277967 (patch) | |
tree | 27e8f4b419bd597a0a794f636db715848ea9f550 | |
parent | 6066519e73085ea587870e30c83cc3e962ea5a45 (diff) | |
download | gtk+-58a49c1a4bfaf36dc52dc8ff4ad1c91c85277967.tar.gz |
win32: fix "unused variable" warning
-rw-r--r-- | gdk/win32/gdkdevice-virtual.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gdk/win32/gdkdevice-virtual.c b/gdk/win32/gdkdevice-virtual.c index 64bf29c5f2..452bd39a47 100644 --- a/gdk/win32/gdkdevice-virtual.c +++ b/gdk/win32/gdkdevice-virtual.c @@ -92,13 +92,8 @@ gdk_device_virtual_set_window_cursor (GdkDevice *device, GdkWindow *window, GdkCursor *cursor) { - GdkWindow *parent_window; - GdkWindowImplWin32 *impl; - GdkCursor *previous_cursor; - - impl = GDK_WINDOW_IMPL_WIN32 (window->impl); - - previous_cursor = impl->cursor; + GdkWindowImplWin32 *impl = GDK_WINDOW_IMPL_WIN32 (window->impl); + GdkCursor *previous_cursor = impl->cursor; if (cursor != NULL && GDK_WIN32_CURSOR (cursor)->hcursor != NULL) { |