libseed-list seed - GVariant /GDBus



Hi folks,

in an attempt to use Gio.DBus instead of seed dbus I was trying to use
GVariants. Unfortunately simple declaration which work perfectly well in
Python do not work in seed.

Python:

>>> GLib.Variant.new_string("test")
<GLib.Variant('test')>

>>> GLib.Variant("s", "test")
<GLib.Variant('test')>

seed: 

> GLib.Variant.new_string("test");
TypeError Result of expression 'GLib.Variant.new_string' [undefined] is
not a function.

As seed dbus on dbus-glib does not work properly either
(https://bugzilla.gnome.org/show_bug.cgi?id=615199) migrating to GDBus
would be a potential solution to make dbus usage in seed applications
work.

Any idea, how to solve the issue?

best, tomw



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