diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c index 94b7ac793c..dc139beb9b 100644 --- a/gdk/win32/gdkmain-win32.c +++ b/gdk/win32/gdkmain-win32.c @@ -197,7 +197,8 @@ void gdk_display_beep (GdkDisplay *display) { g_return_if_fail (display == gdk_display_get_default()); - Beep(1000, 50); + if (!MessageBeep (-1)) + Beep (1000, 50); } void