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

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

2010-12-05 Thread Jan Hudec
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 have done is: session_proxy.name_acquired.connect ((name) =

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

2010-12-04 Thread Treviño
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 have done is: session_proxy.name_acquired.connect ((name) = this.name_acquired.begin(name)); Ok, cool this works thanks. However in this case

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

2010-12-03 Thread Abderrahim Kitouni
Hello, في خ، 02-12-2010 عند 21:52 +0100 ، كتب Marco Trevisan (Treviño): Hello, I've a situation like the one in the example that I've attached here, where I need to make an asynchronous call to a method from a dbus signal callback function; to perform that I need to use the yield

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

2010-12-02 Thread Treviño
Hello, I've a situation like the one in the example that I've attached here, where I need to make an asynchronous call to a method from a dbus signal callback function; to perform that I need to use the yield modifier, and so I need the callback function method should be async. Now, when I