summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorportix <none@none>2012-12-09 19:09:18 +0100
committerportix <none@none>2012-12-09 19:09:18 +0100
commit7143d02b049ce8e2c75098b8943be6003af856d8 (patch)
tree7d5dc1c7b4f8f02b9142cc275012e82b255d041c /scripts
parente2da4fd727fc03083e68c75c147b058eda8ba143 (diff)
downloaddwb-7143d02b049ce8e2c75098b8943be6003af856d8.zip
Return undefined in GObject.getPrivate if item wasn't found
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/dwb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/dwb.js b/scripts/lib/dwb.js
index ccee3951..eec32edb 100644
--- a/scripts/lib/dwb.js
+++ b/scripts/lib/dwb.js
@@ -155,7 +155,7 @@
var i = _getPrivateIdx(this, key, identifier);
if (i !== -1)
return _privProps[i].value;
- return null;
+ return undefined;
}
},
"notify" :