]> Pileus Git - ~andy/gtk/commit
gdk: Make query_state() vfunc a void vfunc
authorBenjamin Otte <otte@redhat.com>
Fri, 9 Mar 2012 12:20:41 +0000 (13:20 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 9 Mar 2012 12:23:05 +0000 (13:23 +0100)
commit114b45c7ebb03b6b63dcbb51855d5ea87f634171
treea23397e6260d50f2aaedb9b48823268d9a5175fc
parent50e3f532b93f7d7eb755804a80c69eac79ca078e
gdk: Make query_state() vfunc a void vfunc

... and make sure the backends implement it that way.

query_state() return value was ignored in all of GDK and caused crashes
when it failed.
gdk/gdkdevice.c
gdk/gdkdeviceprivate.h
gdk/quartz/gdkdevice-core-quartz.c
gdk/wayland/gdkdevice-wayland.c
gdk/win32/gdkdevice-win32.c
gdk/win32/gdkdevice-wintab.c
gdk/x11/gdkdevice-core-x11.c
gdk/x11/gdkdevice-xi2.c