Re: [Vala] How to use a DBus Dict in Vala?

2009-01-09 Thread Michael 'Mickey' Lauer
Am Tuesday 11 November 2008 11:52:01 schrieb Daniele Benucci: 2008/11/10 Daniele Benucci d.be...@gmail.com I need to call a DBus method that returns a Dict of {String, Variant}. How can I store and handle this result in Vala? I found it. HashTable to store the dict and GValue to store the

[Vala] vala and gstreamer plugins

2009-01-09 Thread alberto colombo
Hello, I've been playing with Vala and GStreamer to build a simple application... smooth like a breeze :-) However, things get difficult when I try to build a GStreamer plugin, i.e. and object derived from Gst.Element. The problem is that I need to put some code in the _base_init function of my

[Vala] Array of pointers

2009-01-09 Thread Кутейников Дмитрий
How to create array of pointers? When I write *... = new void*[26];* Vala compiler (latest version) shows strange errors. Furthermore it cannot work with arrays of arrays (expressions like *int8[][][][] d; d = new int8[26][][][];* can't be compiled) ___

Re: [Vala] vala and gstreamer plugins

2009-01-09 Thread Roland Hostettler
On Fri, 09 Jan 2009 21:20:07 + alberto colombo a.colo...@kingston.ac.uk wrote: Hello, Hi Alberto, I've been playing with Vala and GStreamer to build a simple application... smooth like a breeze :-) However, things get difficult when I try to build a GStreamer plugin, i.e. and object

Re: [Vala] Array of pointers

2009-01-09 Thread Кутейников Дмитрий
and *Obj? a[] = new Obj?[26]* causes errors too. Vala forces me to write*Obj? a[] = new Obj[26]; * 2009/1/10 Кутейников Дмитрий kuteyni...@gmail.com How to create array of pointers? When I write *... = new void*[26];* Vala compiler (latest version) shows strange errors. Furthermore it cannot

Re: [Vala] use weak and var together

2009-01-09 Thread Yu Feng
Hi Jurg, Sorry for digging such an old post but I discovered something. See the end of the message. On Fri, 2008-12-12 at 08:08 +0100, Jürg Billeter wrote: On Thu, 2008-12-11 at 23:56 -0500, Yu Feng wrote: On Thu, 2008-12-11 at 22:11 +0100, Jürg Billeter wrote: On Wed, 2008-12-03 at 14:05