[Vala] PolicyKit vapi for Vala?

2010-03-27 Thread PCMan
Hi all, Another question, does anyone have a vapi file for Policykit? I tried to generate one with vala-gen-introspect according to vala tutorial but failed. Running vala-gen-introspect results in error messages + crashes. Have anyone tried this? As policykit is used more and more in conjunction wi

Re: [Vala] Fail to generate C code for following vala code, is this a bug?

2010-03-27 Thread PCMan
Thanks you guys for the help. I use my own modified version of gio.vapi and remove the *_finish functions from those interfaces. Then, it works. Although I don't know why it works. Thank you again. On Sat, Mar 27, 2010 at 5:56 AM, Jan Hudec wrote: > On Sat, Mar 27, 2010 at 03:57:26 +0800, PCMan w

Re: [Vala] DBus Client Timeout Woes

2010-03-27 Thread Jürg Billeter
On Mon, 2010-03-22 at 15:46 +0100, Michael 'Mickey' Lauer wrote: > How can we make this argument customizable in Vala? Would it -- > at least for static clients -- be feasible to introduce a new attribute, i.e. > [DBus (name = "foo", timeout = "12")] ? This is now supported in master (except t