Re: [Vala] Is creating dbus interfaces in type modules (plugins) broken?

2012-11-29 Thread JM
Hello Unfortunately you didn't point to the exact code lines but I had the same issue. I experienced the same thing with an interface for org.gnome.SettingsDaemon.MediaKeys. I got crashes if the interface declaration was in the module. Moving the interface to the application itself fixed the

Re: [Vala] Is creating dbus interfaces in type modules (plugins) broken?

2012-11-29 Thread Jürg Billeter
On Thu, 2012-11-29 at 10:06 +0800, PCMan wrote: I tried to develop some type modules for my program. Everything works fine initially and [ModuleInit] registered GObject dynamic classes automagically as expected. However, after I move a previously working dbus interface to that type module, I

Re: [Vala] Is creating dbus interfaces in type modules (plugins) broken?

2012-11-29 Thread PCMan
Thank you for the info. I'll remove dynamic type modules from my program. It's a pity that the feature is going to be removed. I think it's a wrong decision. Without this features, we cannot unload large and unused modules and its dependencies to save resources once it's no longer needed. In C++,