mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Prefer MessageBeep() over Beep()
Only the former respects the sound volume setting. If MessageBeep() fails fall back to the latter.
(cherry picked from commit 5e59db1554
)
This commit is contained in:
parent
8a9d458baf
commit
1050485a13
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user