File gnome-shell-private-Avoid-unnecessary-conversions-in-shadow-comp.patch of Package gnome-shell.10365

From 2d79ab6c5c80ac3d145af44a4fb809b0a1f35bfe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Sat, 7 Oct 2017 10:15:18 +0200
Subject: [PATCH] private: Avoid unnecessary conversions in shadow computation

The type was changed from double to float for no apparent reason
when moving code in commit 5060081db5f.

https://bugzilla.gnome.org/show_bug.cgi?id=788627
---
 src/st/st-private.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/st/st-private.c b/src/st/st-private.c
index d62586068..be78833e7 100644
--- a/src/st/st-private.c
+++ b/src/st/st-private.c
@@ -247,7 +247,7 @@ blur_pixels (guchar  *pixels_in,
              gint    *rowstride_out)
 {
   guchar *pixels_out;
-  float   sigma;
+  gdouble sigma;
 
   /* The CSS specification defines (or will define) the blur radius as twice
    * the Gaussian standard deviation. See:
-- 
2.16.4

openSUSE Build Service is sponsored by