Don't force CA_PROP_CANBERRA_ENABLE to 1.

* src/core/bell.c: Don't force CA_PROP_CANBERRA_ENABLE to 1.
That was a misunderstanding on my part, and makes it impossible
to get rid of the bell.

svn path=/trunk/; revision=4165

https://bugzilla.gnome.org/show_bug.cgi?id=609585
This commit is contained in:
Matthias Clasen 2009-02-21 17:00:26 +00:00 committed by Owen W. Taylor
parent c51767eef1
commit 709ef05714

View File

@ -297,7 +297,6 @@ meta_bell_notify (MetaDisplay *display,
ca_proplist_create (&p); ca_proplist_create (&p);
ca_proplist_sets (p, CA_PROP_EVENT_ID, "bell-window-system"); ca_proplist_sets (p, CA_PROP_EVENT_ID, "bell-window-system");
ca_proplist_sets (p, CA_PROP_EVENT_DESCRIPTION, _("Bell event")); ca_proplist_sets (p, CA_PROP_EVENT_DESCRIPTION, _("Bell event"));
ca_proplist_sets (p, CA_PROP_CANBERRA_ENABLE, "1");
window = meta_display_lookup_x_window (display, xkb_bell_event->window); window = meta_display_lookup_x_window (display, xkb_bell_event->window);
if (!window && (display->focus_window) && (display->focus_window->frame)) if (!window && (display->focus_window) && (display->focus_window->frame))