[Vala] More problems with vala-dbus-binding-tool

2014-02-23 Thread rastersoft
Hi again: I fixed the problem in the last message: I forgot to add --gdbus. Now I have a problem with the C code: when I extract the interfaces with for org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager (using org.freedesktop.DBus.Introspectable.Introspect), I compile it with

Re: [Vala] More problems with vala-dbus-binding-tool

2014-02-23 Thread Luca Bruno
Paste the generated vapi. On Sun, Feb 23, 2014 at 1:16 PM, rastersoft ras...@rastersoft.com wrote: Hi again: I fixed the problem in the last message: I forgot to add --gdbus. Now I have a problem with the C code: when I extract the interfaces with for org.freedesktop.ConsoleKit

Re: [Vala] More problems with vala-dbus-binding-tool

2014-02-23 Thread rastersoft
Here it is. El 23/02/14 14:10, Luca Bruno escribió: Paste the generated vapi. On Sun, Feb 23, 2014 at 1:16 PM, rastersoft ras...@rastersoft.com wrote: Hi again: I fixed the problem in the last message: I forgot to add --gdbus. Now I have a problem with the C code: when I extract the

[Vala] Set C representation of namespace manually?

2014-02-23 Thread Matthias Klumpp
Hi! For a library project, I would like to have some control over the namespace-C-naming (especially the automatic camel-case-to-underscore conversion). For example if I have a namespace namespace MyProject { class Tree; } This translates to function names in form of MyProjectTree

Re: [Vala] Set C representation of namespace manually?

2014-02-23 Thread Matthias Klumpp
2014-02-24 0:05 GMT+01:00 Luca Bruno lethalma...@gmail.com: Yes you can, put some CCode on top of your namespace: https://wiki.gnome.org/Projects/Vala/Manual/Attributes#CCode_Attribute Make sure you put the same CCode on all the files for the same namespace. Ah, I didn't know that we have