Re: [Vala] complication error: Unbable to serialize a callback(by delegate) for Dbus(using GDBus)
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Tal Hadad <tal_hd hotmail com>
- Cc: Vala Mail List <vala-list gnome org>
- Subject: Re: [Vala] complication error: Unbable to serialize a callback(by delegate) for Dbus(using GDBus)
- Date: Wed, 13 Jul 2011 20:17:24 +0100
Hello,
2011/7/13 Tal Hadad <tal_hd hotmail com>:
I'm trying to write a client for MPRIS 2.0 specs, and one of my TODO list is to get all Media players which
activated.
This is done by passing all DBus addresses and check if it's in the format of "org.mpris.MediaPlayer2.*".
For doing this, I need to add callback to method "list_names" in interface "/org/freedesktop/DBus"(which I
called MasterDBus) in "org.freedesktop.DBus".
This is a relevant part of my code:
[DBus (name = "org.freedesktop.DBus")]
public interface MasterDBus {
public abstract void list_names (MDBusCallBack cb);
After a quick look at the specification, I think this method takes no
argument and returns a string[]. That's probably the problem.
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]