[gnome-builder] gstyle: use the correct initial value type
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] gstyle: use the correct initial value type
- Date: Wed, 26 Sep 2018 08:41:14 +0000 (UTC)
commit 302840df1b803da5a3821508bd422c786cf3e306
Author: Sebastien Lafargue <slafargue gnome org>
Date: Wed Sep 26 10:37:03 2018 +0200
gstyle: use the correct initial value type
src/gstyle/gstyle-color.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gstyle/gstyle-color.c b/src/gstyle/gstyle-color.c
index abfc432f0..b7607f27b 100644
--- a/src/gstyle/gstyle-color.c
+++ b/src/gstyle/gstyle-color.c
@@ -156,9 +156,9 @@ gstyle_color_to_string (GstyleColor *self,
gdouble hue = 0.0;
gdouble saturation = 0.0;
gdouble lightness = 0.0;
- guint red = 0.0;
- guint green = 0.0;
- guint blue = 0.0;
+ guint red = 0;
+ guint green = 0;
+ guint blue = 0;
g_return_val_if_fail (GSTYLE_IS_COLOR (self), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]