diff options
author | Kalev Lember <kalevlember@gmail.com> | 2012-03-10 13:37:34 +0200 |
---|---|---|
committer | Kalev Lember <kalevlember@gmail.com> | 2012-03-10 13:40:42 +0200 |
commit | 526fc2fbdbdab6aa76625f0f60dc9ca7fa6c1bc2 (patch) | |
tree | 35c54d9cf9f2e2435417ff37525b249ea97d7995 /gdk | |
parent | d5822b7246a68a9dd22a8996da0d02564b77b1d3 (diff) | |
download | gtk+-526fc2fbdbdab6aa76625f0f60dc9ca7fa6c1bc2.tar.gz |
win32: Finish making query_state() vfunc a void vfunc
Commit 114b45c converted all the backends but missed a few details in
gdkdevice-win32. This fixes it up.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/win32/gdkdevice-win32.c | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/gdk/win32/gdkdevice-win32.c b/gdk/win32/gdkdevice-win32.c index e3d8106ca2..1cc1797ce3 100644 --- a/gdk/win32/gdkdevice-win32.c +++ b/gdk/win32/gdkdevice-win32.c @@ -43,15 +43,15 @@ static void gdk_device_win32_warp (GdkDevice *device, GdkScreen *screen, gint x, gint y); -static gboolean gdk_device_win32_query_state (GdkDevice *device, - GdkWindow *window, - GdkWindow **root_window, - GdkWindow **child_window, - gint *root_x, - gint *root_y, - gint *win_x, - gint *win_y, - GdkModifierType *mask); +static void gdk_device_win32_query_state (GdkDevice *device, + GdkWindow *window, + GdkWindow **root_window, + GdkWindow **child_window, + gint *root_x, + gint *root_y, + gint *win_x, + gint *win_y, + GdkModifierType *mask); static GdkGrabStatus gdk_device_win32_grab (GdkDevice *device, GdkWindow *window, gboolean owner_events, @@ -249,14 +249,9 @@ gdk_device_win32_query_state (GdkDevice *device, gint *win_y, GdkModifierType *mask) { - gboolean return_val; POINT point; HWND hwnd, hwndc; - g_return_val_if_fail (window == NULL || GDK_IS_WINDOW (window), FALSE); - - return_val = TRUE; - hwnd = GDK_WINDOW_HWND (window); GetCursorPos (&point); |