OK, I use a workaround and run a sed command to fix the incorrect generated
vapi file.
I use sed to prepend global:: to all wrong namespaced classes then it works.
Before the bug of vala gets handled, I have to use the workaround for now.
The problem is, how to integrate this fix with automake?
I
On Thu, 2012-11-29 at 10:13 +0800, PCMan wrote:
All of the errors I got are like these:
VALAC lxpanel2_vala.stamp
lxpanel-applet.vapi:10.27-10.49: error: The type name `Lxpanel.AppletInfo'
could not be found
In lxpanel2.vala you have a class `Lxpanel' in the namespace `Lxpanel'.
This means
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
Thank you for the prompt reply.
I just fixed it with using a sed command to add the global:: prefix in a
all-local target of Makefile.am, which is very dirty!
I'll try what you said. I did not noticed that it can be the cause of the
problem.
Thank you very much!!!
On Thu, Nov 29, 2012 at 5:11
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
Really thank you , Jürg Billeter.
My problem is solved by renaming that class to avoid conflicts.
Mailing list is good.
I spent hours and hours trying to workaround this and did not find any clue.
I should have came here earlier.
Thanks!
On Thu, Nov 29, 2012 at 5:26 PM, PCMan pcman...@gmail.com
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++,