summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-05-21 12:13:05 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-05-21 12:13:05 -0400
commiteff1fe2500f07fa2b4683ff52fe92e39e6487b05 (patch)
tree4b7dbf0418be3232c1d1b84f1e8845a973bfe0b7 /gdk
parent82e27aede9aa866d147fc087d618314c50243825 (diff)
downloadgtk+-eff1fe2500f07fa2b4683ff52fe92e39e6487b05.tar.gz
Make the !xkb build survive a little longer
This fixes bug 619114.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkdisplay-x11.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index c0cbc99f52..6cded79e4b 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -690,7 +690,11 @@ gdk_display_beep (GdkDisplay *display)
{
g_return_if_fail (GDK_IS_DISPLAY (display));
+#ifdef HAVE_XKB
XkbBell (GDK_DISPLAY_XDISPLAY (display), None, 0, None);
+#else
+ XBell (GDK_DISPLAY_XDISPLAY (display), 0);
+#endif
}
/**