summaryrefslogtreecommitdiff
path: root/gdk/directfb
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-08-30 03:30:43 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-08-30 03:30:43 +0000
commit6760faeb4b36dac9e1c226d7d9485a47be28bf24 (patch)
tree1105c08f109882b0b26b58c12a35a8161af18eaa /gdk/directfb
parent4e3d7dd0884bf9545c30744a10494e1c2b9c09a2 (diff)
downloadgtk+-6760faeb4b36dac9e1c226d7d9485a47be28bf24.tar.gz
Add a function to beep on a window. For X11, implement this with XkbBell.
2006-08-29 Matthias Clasen <mclasen@redhat.com> * gdk/gdkwindow.h: * gdk/gdk.symbols: * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): * gdk/win32/gdkwindow-win32.c (gdk_window_beep): * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function to beep on a window. For X11, implement this with XkbBell. (#353455, Mariano Suárez-Alvarez)
Diffstat (limited to 'gdk/directfb')
-rw-r--r--gdk/directfb/gdkwindow-directfb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk/directfb/gdkwindow-directfb.c b/gdk/directfb/gdkwindow-directfb.c
index edbc3901a2..a374400b32 100644
--- a/gdk/directfb/gdkwindow-directfb.c
+++ b/gdk/directfb/gdkwindow-directfb.c
@@ -2990,6 +2990,12 @@ gdk_window_impl_directfb_paintable_init (GdkPaintableIface *iface)
iface->process_updates = gdk_window_impl_directfb_process_updates;
}
+void
+gdk_window_beep (GdkWindow *window)
+{
+ gdk_display_beep (GDK_WINDOW_DISPLAY (window));
+}
+
#define __GDK_WINDOW_X11_C__
#include "gdkaliasdef.c"