[gnome-shell] private: Avoid unnecessary conversions in shadow computation
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] private: Avoid unnecessary conversions in shadow computation
- Date: Mon, 5 Feb 2018 16:11:13 +0000 (UTC)
commit 2d79ab6c5c80ac3d145af44a4fb809b0a1f35bfe
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Oct 7 10:15:18 2017 +0200
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]