Zoom: avoid using Gdk.beep (#2022)

This commit is contained in:
Leo 2024-08-14 02:13:04 +09:00 committed by GitHub
parent 4461b501c1
commit d1b04e228c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,7 @@ public class Gala.Zoom : Object {
// Nothing to do if zooming out of our bounds is requested
if ((current_zoom <= MIN_ZOOM && delta < 0) || (current_zoom >= MAX_ZOOM && delta >= 0)) {
if (play_sound) {
Gdk.beep ();
Clutter.get_default_backend ().get_default_seat ().bell_notify ();
}
return;
}