Re: libseed-list dbus method calls do not return any values [SOLVE]



Hi Tom

I have you method reply now.
(ie ["abcdef", "this is a test", "calling over dbus"])

I'm on Ubuntu 10.10 and seed from gnome-shell.

I build gnome-shell on dec 22.

Somehow I don't have main_loop_new() in  GLib in gnome-shell

So I use Clutter's main_loop.

Basically it is the same code as your's but import
Clutter instead of GLib


-------------------------------------------------
const DBus    = imports.dbus;
const Clutter = imports.gi.Clutter;

let stage = Clutter.Stage.get_default();
stage.width  = 440;
stage.height = 280;
-------------------------------------------------


and the ending is

-------------------------------------------------
stage.show();
Clutter.main();
stage.destroy();
-------------------------------------------------

where Clutter start the main loop


Also note that I run the .js code like so:

~/gnome-shell/source/gnome-shell/tests/interactive$ ../run-test.sh test-dbus.js

run-test.sh organise the ENV so that seed in gnome-shell see the right libs


Hope this help!


Sylvain.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]