[gnome-klotski/arnaudb/wip/gtk4: 6/25] Fix type.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-klotski/arnaudb/wip/gtk4: 6/25] Fix type.
- Date: Tue, 29 Sep 2020 13:44:31 +0000 (UTC)
commit 59107b6f242ccbf4797bdef113e5263ada60b06c
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]