[Vala] DBus generated code: Missing error Field



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi, Vala-Guys

I tried to fiddle around with some DBus stuff and some strange
behaviour hit me right in my face when i executed make.

I have an interface like this:

[DBus (name = "de.grindhold.alaia")]
interface AlaiaMessenger : Object {
    public abstract bool needs_direct_input ();
}

And the Vala-Compiler (0.26.1) creates the following function when
translating to C:

http://pastie.org/private/vgctn74omjldgey0scpbvq

As you can see, somewhere in the declaration section there should be
an GError* error=NULL; somewhere, but it isn't there.
If i edit the C-code manually and put in the line, it compiles through
as nothing would've been wrong.

Is this a known bug? Am i missing something?

Thanks in advance,
    Grindhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUqGCfAAoJEBuqgJs6izSEdEoP/3Rweru/Pcs/nU+NcfHZenvD
7fNtfAdEygpH4GX35qo00Yjg6QPrLwqS4c6RZakSNhs24zHIUGj8HMf3kcPPRbpm
tPqyabVxwFDf0Z8sek92UDSOmEsTawZTkHWkJyCptiYpPnrJGxG2bSXo0Cr5lGvy
0prAOj71iKP+Na45Qe/dfF59AV9Ydc1m7LmHE+kHAzKuYYgd1gxjwas9CLjaQ5S3
AQuTsd78o/PLaposFdyGETj2XyfKHHxq221cOzaFwb9swgVEpyzooRYcVSVaqNv1
uH7WTSoLexggxLLQnYKiqlt+G/CFvf9VdkYc4+y6YViE26vWiwnVhPWsVvJqog7h
YE+suQGbwMAbCdGfHr1eLR2ictO7K7faji45OQEQPMAEmnlkfFSTG3co8XKhLNnP
+76ms+1JoGV5O8EEIeHdXzPWsnxCLZyiATruha+ETaKlj3T/7ZqR7ezqUwFzCtWE
yBG6q7agNIcZmzQefj88/E+Gh11urwfDqpUMuzNsHxVhWQU0wJnN96aSeZhEU7h5
BOzgqP+5YTCcn2pq6kOLLq6wRaorHbbicfrA0qeHS3dN/iMvEmoM/K2jv6JOmXOr
Sixdhs1VlWScYl2DkNXcL0UJJ+x/hyB9IwveNdD4zPkyYEq7gBw/ncsfARwEECk0
hvbi6ZZ7B7jf7xa5em9Q
=oY6E
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]