Bug 465548

Summary: make canberra gtk module resident
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: libcanberraAssignee: Lennart Poettering <lpoetter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: lpoetter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-06 14:03:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 465130    

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
Fixed.