Re: GConf.Client.get_default is not a function error



Your test gjs test is slightly wrong, you should test with get_default(), rather than get_client()

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.

Regards
Alan

 --- On 09/May/2011, Mesutcan Kurt wrote: 
> Hi there,
> 
> I'm trying to run gnome-shell on Pardus Linux (Pardus 2011 i686)
> but there are some problems.
> 
> When I run gnome-shell, it gives:
> 
> GConf.Client.get_default is not a function.
> 
> So, I run gjs on console, and write:
> 
> const GConf = imports.gi.GConf
> 
> GConf.Client.get_client()
> 
> It still gives same error. Which package can make this error, I
> don't know.
> 
> Using GConf 2.32.3, Gjs 0.7.14, Xulrunner 2.0.0, Linux 2.6.37.6.
> 
> Thanks.
> 
> 
> -- 
> Mesutcan Kurt



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