From 3768b6b701fa3590606fead2622efcb3300d06a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 3 Sep 2019 00:25:24 +0200 Subject: [PATCH] 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 462d860c4..d137d84b6 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] },