From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826
Description of problem:
gtk+-1.2.10 contains the function gdk_beep which is supposed to make a beep.
However this function always ignores the beep volume set using xset or the gnome
configuration tools, as it calls XBell(display, 100) rather than XBell(display,
0). XBell(display, 100) increases the current bell volume by 100%, ensuring it
always beeps. This problem was fixed in gtk-2.x.
There are many applications using gtk+-1.2 which beep (e.g. Mozilla-1.2a), but
it is impossible to set their volume. I propose patching the gdk_beep function
to modify the value 100 to 0 in the gtk+ package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Write gtk+ program to call gdk_beep
2. Observe it always beeps, even if xset volume configured to 0
Created attachment 77904 [details]
patch to modify beep volume to default X beep volume
Created attachment 77924 [details]
gdk_beep test program: compile with gcc test.c `gtk-config --cflags --libs`
Same as http://bugzilla.gnome.org/show_bug.cgi?id=60028
* Wed Jan 15 2003 Owen Taylor <email@example.com> 1.2.10-24
- Obey the system bell volume (#74802)