On Mon, May 9, 2011 at 1:29 PM, Mesutcan Kurt <[email protected]> wrote:
> > > On Mon, May 9, 2011 at 1:21 PM, Alan Knowles <[email protected]> wrote: > >> Your test gjs test is slightly wrong, you should test with get_default(), >> rather than get_client() >> > > Opps, there was a typo. It was get_default(). > > >> >> It's likely that you have a missing GConf typelib. >> >> print(typeof(GConf.Client)); should say object or similar, if it says >> undefined, then check that /usr/lib/girepository-1.0/GConf...???..typelib >> exists. >> > > The output is: > > function > > And "/usr/lib/girepository-1.0/GConf-2.0.typelib" exists. > Also there are some strict warnings: gjs> const GConf = imports.gi.GConf typein:1: strict warning: reference to undefined property imports.gi (6 times) typein:1: strict warning: reference to undefined property imports.gi.GConf gjs> GConf.Client typein:7: strict warning: reference to undefined property GConf.Client > > -- > Mesutcan Kurt > > -- Mesutcan Kurt
_______________________________________________ javascript-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/javascript-list
