[gnome-shell] keyboard: Fix EmojiSelection:delta range



commit 3768b6b701fa3590606fead2622efcb3300d06a1
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Sep 3 00:25:24 2019 +0200

    keyboard: Fix EmojiSelection:delta range
    
    The setter clamps the values to the range (-width, width), so we
    must not limit the property to positive values.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/698

 js/ui/keyboard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 462d860c4d..d137d84b6e 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -574,7 +574,7 @@ var EmojiPager = GObject.registerClass({
         'delta': GObject.ParamSpec.int(
             'delta', 'delta', 'delta',
             GObject.ParamFlags.READWRITE,
-            0, GLib.MAXINT32, 0)
+            GLib.MININT32, GLib.MAXINT32, 0)
     },
     Signals: {
         'emoji': { param_types: [GObject.TYPE_STRING] },


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