[polari] mainWindow: fix typo



commit 90498bebf117d6594e33d34c7fdee284bfcc1789
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Fri Aug 9 08:32:22 2013 +0200

    mainWindow: fix typo

 src/mainWindow.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index edbb20a..d784922 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -135,7 +135,7 @@ const MainWindow = new Lang.Class({
         }
 
         let position = this._settings.get_value('window-position');
-        if (size.n_children() == 2) {
+        if (position.n_children() == 2) {
             let x = position.get_child_value(0);
             let y = position.get_child_value(1);
             this.window.move(x.get_int32(), y.get_int32());


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