[gnome-shell/wip/carlosg/magnifier-fixes: 1/3] magnifier: Unset variable holding GSource ID
- From: Carlos Garnacho <carlosg src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-shell/wip/carlosg/magnifier-fixes: 1/3] magnifier: Unset variable holding GSource ID
 
- Date: Mon, 28 Jun 2021 17:54:41 +0000 (UTC)
 
commit d5de113d55057b929ccc5c4c4bc096960ab9152e
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.
 js/ui/magnifier.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js
index d818a75b0d..22c11766b0 100644
--- a/js/ui/magnifier.js
+++ b/js/ui/magnifier.js
@@ -1166,6 +1166,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]