[gnome-photos] tool-enhance: Silence -Wfloat-conversion
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] tool-enhance: Silence -Wfloat-conversion
- Date: Mon, 11 Dec 2017 17:14:18 +0000 (UTC)
commit 22d99e5aed9a85378891e3f9bf658e2f76d34957
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Dec 11 17:23:12 2017 +0100
tool-enhance: Silence -Wfloat-conversion
src/photos-tool-enhance.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-tool-enhance.c b/src/photos-tool-enhance.c
index 0b48d0c..2b04139 100644
--- a/src/photos-tool-enhance.c
+++ b/src/photos-tool-enhance.c
@@ -53,10 +53,10 @@ G_DEFINE_TYPE_WITH_CODE (PhotosToolEnhance, photos_tool_enhance, PHOTOS_TYPE_TOO
300));
-static const gdouble DENOISE_ITERATIONS_DEFAULT = 0.0;
-static const gdouble DENOISE_ITERATIONS_MAXIMUM = 16.0;
-static const gdouble DENOISE_ITERATIONS_MINIMUM = 0.0;
-static const gdouble DENOISE_ITERATIONS_STEP = 1.0;
+static const gint DENOISE_ITERATIONS_DEFAULT = 0;
+static const gint DENOISE_ITERATIONS_MAXIMUM = 16;
+static const gint DENOISE_ITERATIONS_MINIMUM = 0;
+static const gint DENOISE_ITERATIONS_STEP = 1;
static const gdouble SHARPEN_SCALE_DEFAULT = 0.0;
static const gdouble SHARPEN_SCALE_MAXIMUM = 10.0;
static const gdouble SHARPEN_SCALE_MINIMUM = 0.0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]