Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 465548 - make canberra gtk module resident
Summary: make canberra gtk module resident
Alias: None
Product: Fedora
Classification: Fedora
Component: libcanberra
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F10DesktopTarget
TreeView+ depends on / blocked
Reported: 2008-10-03 20:17 UTC by Matthias Clasen
Modified: 2008-10-06 14:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-10-06 14:03:44 UTC

Attachments (Terms of Use)

Description Matthias Clasen 2008-10-03 20:17:20 UTC
Since it doesn't handle being unloaded gracefully. To do so, add something like:

const char *
g_module_check_init (GModule *module)
    g_module_make_resident (module);

    return NULL;

to the end of canberra-gtk-module.c.

I've tested this and it does prevent the module from being unloaded, and thus prevents your desktop from dying when you play with the gtk-modules gconf settings in gconf-editor.

Comment 1 Lennart Poettering 2008-10-05 20:27:40 UTC
Fixed upstream. Need to upload a new version soon.

Comment 2 Lennart Poettering 2008-10-06 14:03:44 UTC

Note You need to log in before you can comment on or make changes to this bug.