Re: libseed-list seed - GVariant /GDBus



new GLib.Variant.string ("the string")

that's ones in the docs ;)

Regards
Alan


 --- On 11/Jan/2011, tomw wrote: 
> 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
> 
> _______________________________________________
> libseed-list mailing list
> libseed-list gnome org
> http://mail.gnome.org/mailman/listinfo/libseed-list



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