Re: [Vala] DBus horror

2009-12-18 Thread Kos
Solved it, Everything fine with vala in this files, I just called the wrong functions: getMetaData instead of getMetadata. Nikos On Tue, Dec 15, 2009 at 3:11 PM, Kos wrote: > Hey, > > I'm back with more DBus problems. Now I want to receive an 'a{sv}' output. &g

Re: [Vala] DBus horror

2009-12-15 Thread Kos
/65152 (example vala-file with comments and the errors) After that I tried with the an out variable. (Thinking of the struct solution...) http://pastebin.org/65154 (example vala-file with comments and the errors) Nikos On Tue, Dec 15, 2009 at 1:15 PM, Kos wrote: > Thank you, > > That w

Re: [Vala] DBus horror

2009-12-15 Thread Kos
Tue, 2009-12-15 at 12:45 +0100, Kos wrote: > > You can find the test-source here: http://pastebin.org/65108 > > I compile it with valac --pkg dbus-glib-1 vlc_test3.vala -g > > Use the static variant but with an out parameter instead of a return > value as in the following lines:

Re: [Vala] DBus horror

2009-12-15 Thread Kos
> > () is definitely not ai, so the struct variant is supposed to work > -- the array variant not. > > Am Montag, den 14.12.2009, 18:58 +0100 schrieb Kos: > > I tried to set the return value to int[], so it doesn't had to guess the > > return type. But then i

Re: [Vala] DBus horror

2009-12-14 Thread Kos
On Mon, Dec 14, 2009 at 2:27 PM, John Carr wrote: > Hey, > > I noticed you used var foo = in the dynamic test. Doesn't Vala need to > know what the return type will be at compile time? I think it is > assuming it will be an object path when its actually an array of 4 > intergers. > I tried to se

[Vala] DBus horror

2009-12-14 Thread Kos
ripped down version of my code, see http://pastebin.org/64684 (It has commentary) I really like coding in vala, but my project has a deadline. So either I need a way round the problem, or I'm forced to go to c. Do you see a way round the problem? thanks in advance, Kos __

[Vala] compile problem

2009-11-30 Thread Kos
so it's easy to see the problem. My files are located here: http://alasal.be/AWN/valaproblem.tar.gz (1kb) dolfje On Thu, Nov 26, 2009 at 12:52 AM, Frederik wrote: > Kos wrote: > > Hey, > > > > Probably a silly question, that you can answer in just a blink, but gives >

[Vala] Some trouble with --use-header in valac

2009-11-25 Thread Kos
Hey, Probably a silly question, that you can answer in just a blink, but gives me troubles for the past couple of days: Is it normal that the --use-header option of valac doesn't generate .h header files? thanks in advance Dolfje ___ Vala-list mailing l