On Wednesday 10 February 2010 06:15:02 Ville M. Vainio wrote:
> On Wed, Feb 10, 2010 at 7:56 AM, Ville M. Vainio <[email protected]> wrote:
> > This way, my proxy_home_plugin_item_load_desktop_file() function gets
> > called. But indeed it
> > appears this is not working fine for unloading & loading.
>
> More details (from looking at the crash in hildon-home):
>
> 6319]: GLIB WARNING ** GLib-GObject - cannot add interface type
> `HDPluginItem' to type `Pr
> oxyHomePlugin', since type `ProxyHomePlugin' already conforms to interface

Are you sure that your dynamic type is being completely destroyed when you 
unload?  I don't remember the details but I did spend some time trying to get 
a plugin with a dynamic type to handle unloading and reloading and eventually 
convinced myself it was impossible and decided just to prevent unloading 
instead.

I don't know much about GType but it seems that even dynamic types are not 
designed to support unloading code.

Graham
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to