[gnome-sudoku/arnaudb/wip/gtk4: 7/26] Correct RGBA type.



commit 811d815a4b33e4fac0def2f45e94bde99b2eb8af
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Apr 12 14:56:32 2020 +0200

    Correct RGBA type.

 src/sudoku-view.vala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 9696e74..14a1c39 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -463,10 +463,10 @@ private class SudokuCellView : DrawingArea
     }
 }
 
-public const RGBA fixed_cell_color = {0.8, 0.8, 0.8, 1.0};
-public const RGBA free_cell_color = {1.0, 1.0, 1.0, 1.0};
-public const RGBA highlight_color = {0.93, 0.93, 0.93, 1.0};
-public const RGBA selected_bg_color = {0.7, 0.8, 0.9, 1.0};
+public const RGBA  fixed_cell_color = { 0.8f,  0.8f,  0.8f,  1.0f };
+public const RGBA   free_cell_color = { 1.0f,  1.0f,  1.0f,  1.0f };
+public const RGBA   highlight_color = { 0.93f, 0.93f, 0.93f, 1.0f };
+public const RGBA selected_bg_color = { 0.7f,  0.8f,  0.9f,  1.0f };
 
 public class SudokuView : AspectFrame
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]