Re: [Vala] Interfaces - why do they must have prerequisites?

2010-12-06 Thread Abderrahim Kitouni
Hello, في ن، 06-12-2010 عند 01:25 +0100 ، كتب Aleksander Wabik: As classes not inheriting from Object have different ref and unref functions (Foo will have foo_ref, and foo_unref, Bar will have bar_ref and bar_unref), if an object is referenced by the reference of interface

Re: [Vala] Interfaces - why do they must have prerequisites?

2010-12-06 Thread Jürg Billeter
On Mon, 2010-12-06 at 01:25 +0100, Aleksander Wabik wrote: As classes not inheriting from Object have different ref and unref functions (Foo will have foo_ref, and foo_unref, Bar will have bar_ref and bar_unref), if an object is referenced by the reference of interface type, there's no

Re: [Vala] Interfaces - why do they must have prerequisites?

2010-12-06 Thread Aleksander Wabik
Hi, On Mon, 2010-12-06 at 01:25 +0100, Aleksander Wabik wrote: As classes not inheriting from Object have different ref and unref functions (Foo will have foo_ref, and foo_unref, Bar will have bar_ref and bar_unref), if an object is referenced by the reference of interface type, there's no

Re: [Vala] Dbus, connecting a signal to an async method...

2010-12-06 Thread Treviño
Il giorno dom, 05/12/2010 alle 21.10 +0100, Jan Hudec ha scritto: On Sat, Dec 04, 2010 at 12:35:26 +0100, Marco Trevisan (Treviño) wrote: Il giorno ven, 03/12/2010 alle 17.18 +0100, Abderrahim Kitouni ha scritto: session_proxy.name_acquired.connect (this.name_acquired); What I would

[Vala] Question about vala-gen-introspect

2010-12-06 Thread W. Michael Petullo
I am trying to figure out how to generate a Vala API file for libdmapsharing, http://www.flyn.org/projects/libdmapsharing/. This library may be used to create DAAP and DPAP servers and clients. I have read the document at http://live.gnome.org/Vala/Bindings. I am using vala-0.10.0 and have tried

Re: [Vala] Array.length

2010-12-06 Thread Sandino Flores Moreno
It seems you found an error in vala. However, this code works as expected: { string cadena = uno,dos,tres,cuatro; string[] cadenas = cadena.split(,); stdout.printf(Cantidad de elementos %i\n, cadenas.length); } On Mon, Dec 6, 2010 at 4:20 PM, Arley Consuegra Rosello

Re: [Vala] Array.length

2010-12-06 Thread Aleksander Wabik
Seems like https://bugzilla.gnome.org/show_bug.cgi?id=585847 , but it is claimed to be fixed. Maybe some corner case? best regards, It seems you found an error in vala. However, this code works as expected: { string cadena = uno,dos,tres,cuatro; string[] cadenas = cadena.split(,);

[Vala] How to install gedit package?

2010-12-06 Thread Damien Radtke
I want to install the gedit-2.20 package, but can't seem to find it anywhere. If someone could link me to an openSUSE repository or the package's source, it would be much appreciated. ~Damien Radtke ___ vala-list mailing list vala-list@gnome.org