No it is gjs, but I have tried seed and got same result
If this is seed, from what I remember there is a open bug for the dbus code. Regards Alan --- On 03/Oct/2011, Pavol Klacansky wrote:
Hi, const DBus = imports.dbus const _DBUS_PATH = '/com/klacansky/speedyrss' const _DBUS_NAME = 'com.klacansky.speedyrss' const serviceIface = { name: _DBUS_NAME, methods: [ { name: 'GetFeedIds', inSignature: '', outSignature: '' } ] } function Service() { this._init() } Service.prototype = { _init: function() { DBus.session.proxifyObject(this, _DBUS_NAME, _DBUS_PATH) } } DBus.proxifyPrototype(Service.prototype, serviceIface) service = new Service() test = service.GetFeedIdsRemote() print(test) This prints "undefined", but it should print "Haha" Where is problem? Thank you _______________________________________________ javascript-list mailing list javascript-list gnome org http://mail.gnome.org/mailman/listinfo/javascript-list
_______________________________________________ javascript-list mailing list javascript-list@gnome.org http://mail.gnome.org/mailman/listinfo/javascript-list