[gnome-shell] Fix position/size changed disconnects



commit 8f1b8909dcbf1237aef81c702cdd9f81e8b00441
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sat Feb 15 13:05:46 2014 +0100

    Fix position/size changed disconnects
    
    Commit 3f7a989d38e changed the signals to match mutter api changes,
    but did not update disconnects, so do that.

 js/ui/workspace.js          |    2 +-
 js/ui/workspaceThumbnail.js |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 1d319e8..a4b0c25 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -295,7 +295,7 @@ const WindowClone = new Lang.Class({
             else
                 realWindow = child.source;
 
-            realWindow.disconnect(child._updateId);
+            realWindow.meta_window.disconnect(child._updateId);
             realWindow.disconnect(child._destroyId);
         }));
     },
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index 3e71e9c..7b7bc90 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -176,7 +176,7 @@ const WindowClone = new Lang.Class({
         this.actor.get_children().forEach(function(child) {
             let realWindow = child.source;
 
-            realWindow.disconnect(child._updateId);
+            realWindow.meta_window.disconnect(child._updateId);
             realWindow.disconnect(child._destroyId);
         });
     },


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