On Tue, Nov 22, 2011 at 1:22 PM, Chris Vine <[email protected]>wrote:

> I did check this out before posting and with
> gobject-introspection-1.30.0 it doesn't work for the same reason that
> constructing a Gtk.TargetEntry object doesn't work, namely that this;
>
> var targets = new Gtk.TargetList();
>
> generates this error in gjs:
>
> Unable to construct boxed type TargetList since it has no zero-args
> <constructor>, can only wrap an existing one"
>

You should be able to work around this by doing

var targets = Gtk.TargetList.new(entries);


Florian
_______________________________________________
javascript-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/javascript-list

Reply via email to