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

From: Johan Bilien jobi at via.ecp.fr
Date: Thu Mar 8 10:31:16 EET 2007
On Thu, Mar 08, 2007, Markku Vire wrote:
> 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.

Yes that's what we do in the new hildon-desktop code (see
https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-desktop/).

Unfortunately it doesn't solve all the problems. Say plugin foo links
against gtkhtml, then the types for gtkhtml get registered statically,
then registered again when the applet is reloaded.

-- 
Johan Bilien
<jobi at via.ecp.fr>

More information about the maemo-developers mailing list