[gnome-sudoku/arnaudb/wip/gtk4: 19/43] Correct RGBA type.




commit 10653581dd5b219e37b274bdab7e0b24b5c95b2f
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 b6d65e4..ecc593c 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -466,10 +466,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]