Make "global" global.

Rather than doing "let global = Shell.Global.get()" everywhere we
need it, just create a global variable called "global".

http://bugzilla.gnome.org/show_bug.cgi?id=594546
This commit is contained in:
Dan Winship
2009-09-08 16:12:50 -04:00
parent 0882da0a71
commit d0d79c5b3e
13 changed files with 4 additions and 82 deletions

View File

@ -1089,8 +1089,6 @@ AppWell.prototype = {
// Draggable target interface
acceptDrop : function(source, actor, x, y, time) {
let global = Shell.Global.get();
let appSystem = Shell.AppSystem.get_default();
let app = null;