[maemo-developers] [maemo-developers] Problem with Home plugin

From: Markku Vire markku.vire at movial.fi
Date: Thu Mar 8 09:57:26 EET 2007
Hi,

I wonder if the Home is already using GTypePlugin interface and dynamic 
types to handle the types registered by the plugins. That would be the 
right (tm) way to handle this in the scope of GObject... In the case of 
register_static one can newer unload the modules.

-Markku-

Johan Bilien wrote:
> On Mon, Dec 18, 2006, Vladislav Vasiliev wrote:
> 
>>However it seems that this function isn't called when switching off
>>plugins or just doesn't unload plugins from memory. Is this a bug or
>>have I missed something? How should it be done properly?
> 
> 
> Hi,
> 
> sorry for the very late answer,
> 
> home is not dlclosing the plugins, because many plugins (including the
> shipped ones) register GType. dlclosing the re-opening them results in
> them trying to re-register the types, even though glib already knows
> about them.
> 
> The same handle from dlopen is reused if the applet is reopened.
> 


More information about the maemo-developers mailing list