]> Pileus Git - ~andy/gtk/commit
gdk: Move window beeps into GdkWindowImpl
authorBenjamin Otte <otte@redhat.com>
Thu, 25 Nov 2010 11:28:08 +0000 (12:28 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Dec 2010 19:21:05 +0000 (20:21 +0100)
commit4d1604c77de2b97c7759574fb3ca9a400be32403
tree55d630e8b124ed991833c1c1fd64c779a2686cdc
parent1269f8424f935a34d38106527ffce3e2cc8e35d0
gdk: Move window beeps into GdkWindowImpl

One less magic function. Also refactored it to make it easier to
implement. It now returns TRUE if it beeped and FALSE if it failed to do
so. A default implementation exists that just returns FALSE for all the
backends that can't beep windows (read: everything but X11 with XKB -
and why on earth do keyboard libs implement beeping?)
gdk/gdkinternals.h
gdk/gdkwindow.c
gdk/gdkwindowimpl.c
gdk/gdkwindowimpl.h
gdk/quartz/gdkwindow-quartz.c
gdk/win32/gdkwindow-win32.c
gdk/x11/gdkwindow-x11.c