Re: [Vala] Vala/DBus with dict object

2009-02-18 Thread Frederik Sdun
Hi, the siganture a(sv) is an array of structs with a string and a value, not a Dict/HashTable. A hashtable has the signature a{av}. Regards, Frederik Am Donnerstag, den 19.02.2009, 00:32 -0300 schrieb Marcelo Boveto Shima: > Hello! > > I am trying to invoke some ConsoleKit methods and I succee

Re: [Vala] Xlib bindings?

2009-02-18 Thread Xavier Bestel
Le jeudi 19 février 2009 à 07:38 +0100, Maciej Piechotka a écrit : > I've tried to do a xcb bindings but there is a problem as > xcb uses multiinheritance. Can that be resolved with interfaces ? ___ Vala-list mailing list Vala-list@gnome.org http://mai

Re: [Vala] Xlib bindings?

2009-02-18 Thread Maciej Piechotka
"Michael B. Trausch" writes: > I didn't see any packaged with Vala, and searching around on Google > hasn't yet yielded me an answer, so I am hoping that someone can say > definitively whether or not there are bindings to Xlib (or a work in > progress to that effect). > > Any idea? It would be n

[Vala] [vala] why posix api for vala binding so few?

2009-02-18 Thread xiaohu
___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Vala/DBus with dict object

2009-02-18 Thread Marcelo Boveto Shima
Hello! I am trying to invoke some ConsoleKit methods and I succeed on almost every method, but not OpenSessionWithParameters. It has the signature a(sv) (1). I don´t know what I am doing wrong. I created a method with the same signature and it worked. It works with python/dbus. The code is: usin

Re: [Vala] Possible bug in naming conflicts?

2009-02-18 Thread Michael B. Trausch
On Wed, 18 Feb 2009 21:50:40 +0100 Andrea Bolognani wrote: > There would be, in fact, another option, perhaps the best one: change > the convention on the C side to use get_gtype() instead of get_type(), > which would make sense since the returned object is a GType and > get_type() is a really ge

Re: [Vala] Possible bug in naming conflicts?

2009-02-18 Thread Andrea Bolognani
On Wed, 18 Feb 2009 11:54:24 -0500 "Michael B. Trausch" wrote: > When stacking the three together, I have to say that I agree. If the > goal is to retain 100% adherence to existing convention, the only > reasonable thing is to throw an error. C is held together by > convention it would seem, a

Re: [Vala] Coding standard: indentation?

2009-02-18 Thread Michel Salim
On Wed, Feb 11, 2009 at 8:55 AM, Thomas Chust wrote: > 2009-02-10 Frederik : >> Michel Salim wrote: >>> [...] >>> The string 'cr?me br?l?e' is 12 characters long and is stored in 15 bytes >>> >>> The accents disappear on printing? >>> [...] >> >> You're right. With print () it doesn't work, but wi

Re: [Vala] Possible bug in naming conflicts?

2009-02-18 Thread Michael B. Trausch
On Wed, 18 Feb 2009 10:34:34 +0100 Andrea Bolognani wrote: > I agree with you that's kinda strange when you look at it from the > Vala perspective, but it's standard in the GObject world to have a > get_type() method which returns the GType associated with a class. > > I see three possible ways t