[gnome-sudoku/arnaudb/wip/gtk4: 8/27] Correct RGBA type.



commit 5f8c959ee0ff9f952a78c31421b936f6a517dda0
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 41e35e0..36afef7 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]