[gnome-maps] mainWindow: zero configure id on timeout



commit 89bf4c89b7926445b4cbc887329abe44703b6ed3
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Wed Jan 15 13:21:47 2014 +0100

    mainWindow: zero configure id on timeout
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722260

 src/mainWindow.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 87e61f0..2ae1d1c 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -218,6 +218,7 @@ const MainWindow = new Lang.Class({
 
         this._configureId = Mainloop.timeout_add(_CONFIGURE_ID_TIMEOUT, (function() {
             this._saveWindowGeometry();
+            this._configureId = 0;
             return false;
         }).bind(this));
     },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]