[gnome-shell] [placeDisplay] Add missing return statements



commit 1f274c04fb8aca1a53359b62192ecc54c2b281e9
Author: Colin Walters <walters verbum org>
Date:   Thu Mar 18 14:04:35 2010 -0400

    [placeDisplay] Add missing return statements
    
    Otherwise we get a warning.

 js/ui/placeDisplay.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/placeDisplay.js b/js/ui/placeDisplay.js
index 46f5303..230bd74 100644
--- a/js/ui/placeDisplay.js
+++ b/js/ui/placeDisplay.js
@@ -460,6 +460,7 @@ DashPlaceDisplayItem.prototype = {
         let [stageX, stageY] = event.get_coords();
         this._dragStartX = stageX;
         this._dragStartY = stageY;
+        return false;
     },
 
     _onButtonRelease: function(actor, event) {
@@ -468,6 +469,7 @@ DashPlaceDisplayItem.prototype = {
 
         this._dragStartX = null;
         this._dragStartY = null;
+        return false;
     },
 
     _onHoverChanged: function(button) {



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