Skip to content

Commit

Permalink
No need to initialize the window tracker twice
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertJP committed Oct 15, 2012
1 parent 0284c50 commit 2b6b667
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/ui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function start() {
// and recalculate application associations, so to avoid
// races for now we initialize it here. It's better to
// be predictable anyways.
Cinnamon.WindowTracker.get_default();
tracker = Cinnamon.WindowTracker.get_default();
Cinnamon.AppUsage.get_default();

// The stage is always covered so Clutter doesn't need to clear it; however
Expand Down Expand Up @@ -271,7 +271,6 @@ function start() {
keyboard = new Keyboard.Keyboard();
notificationDaemon = new NotificationDaemon.NotificationDaemon();
windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler();
tracker = Cinnamon.WindowTracker.get_default();

placesManager = new PlacesManager.PlacesManager();
automountManager = new AutomountManager.AutomountManager();
Expand Down

0 comments on commit 2b6b667

Please sign in to comment.