[gnome-shell/gnome-3-38] magnifier: Unset variable holding GSource ID



commit b8dd599d4cf8b946fe3d583964170e0e76c1afc4
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jun 28 14:17:25 2021 +0200

    magnifier: Unset variable holding GSource ID
    
    Otherwise we try to remove the no longer existing GSource
    later on.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1902>
    (cherry picked from commit a363f1343a74ae3265c11db9220ebd6eec0e21e1)

 js/ui/magnifier.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js
index 036de7f759..ff89b6fa6a 100644
--- a/js/ui/magnifier.js
+++ b/js/ui/magnifier.js
@@ -1169,6 +1169,8 @@ var ZoomRegion = class ZoomRegion {
                 this._yDelayed = null;
             }
 
+            this._scrollContentsTimerId = 0;
+
             return GLib.SOURCE_REMOVE;
         });
 


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