Re: GConf.Client.get_default is not a function error
- From: Mesutcan Kurt <mesutcank gmail com>
- To: javascript-list gnome org
- Subject: Re: GConf.Client.get_default is not a function error
- Date: Mon, 9 May 2011 13:29:24 +0300
On Mon, May 9, 2011 at 1:21 PM, Alan Knowles
<alan akbkhome com> 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.
--
Mesutcan Kurt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]