[gnome-klotski/arnaudb/wip/gtk4: 44/62] Fix type.




commit aefe24288b58f1a3052ad72bb7cfb1c22623d240
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Mar 5 18:56:26 2020 +0100

    Fix type.

 src/puzzle-view.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 7bb5310..f9284e3 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -174,7 +174,7 @@ private class PuzzleView : Gtk.DrawingArea
 
                 if (piece_id == puzzle.get_piece_id (puzzle.map, x, y))
                 {
-                    Gdk.cairo_set_source_rgba (cr, {1.0, 1.0, 1.0, 0.2});
+                    Gdk.cairo_set_source_rgba (cr, { 1.0f, 1.0f, 1.0f, 0.2f });
                     cr.rectangle (x*tile_size + kx, y*tile_size + ky, tile_size, tile_size);
                     cr.fill ();
                 }


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