shell_global_set_property_mutable: Remove

All introspection properties are now writable;
See https://bugzilla.gnome.org/show_bug.cgi?id=646633

https://bugzilla.gnome.org/show_bug.cgi?id=652597
This commit is contained in:
Colin Walters
2011-06-14 16:06:31 -04:00
parent 04d2b0d282
commit 26aa4333a5
3 changed files with 0 additions and 79 deletions

View File

@ -70,12 +70,6 @@ function init() {
return base;
};
// Now close the back door to prevent extensions from trying to
// abuse it. We can't actually delete it since
// Shell.Global.prototype itself is read-only.
global.set_property_mutable('imports.gi.Shell.Global.prototype', 'set_property_mutable', true);
Shell.Global.prototype.set_property_mutable = undefined;
// Work around https://bugzilla.mozilla.org/show_bug.cgi?id=508783
Date.prototype.toLocaleFormat = function(format) {
return Shell.util_format_date(format, this.getTime());