Hi,

2010/6/13 JM <interfl...@gmx.net>:
> Hello Abderrahim
> Thanks for the help!
> Your example compiles and can be executed. However there is a warning on
> execution:
> $ ./main
> Loading plugin with path: '/home/me/plugin-example-new/libplugin.so'
> Loaded module: '/home/me/plugin-example-new/libplugin.so'
> Plugin type: MyPlugin
>
> Loading plugin with path: '/home/me/plugin-example-new/libplugin.so'
> Hello world!
>
> (process:3609): GLib-GObject-WARNING
> **: /build/buildd/glib2.0-2.24.1/gobject/gtypemodule.c:112:
> unsolicitated invocation of g_object_dispose() on GTypeModule
> Should be unloading plugin with path
> '/home/me/plugin-example-new/libplugin.so'
>
> I guess that's happening when unreffing the Registrar.
That's why I patched gobject bindings.

> You mentioned a bug with [ModuleInit]. Is this the same thing as the bug
> I filed here:
> https://bugzilla.gnome.org/show_bug.cgi?id=621317
> ?
No, it's this bug: https://bugzilla.gnome.org/show_bug.cgi?id=553928

The example relied on the buggy behaviour to have a simpler build, the
proper way to build is in my previous mail.

HTH,
Abderrahim
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to