[gnome-klotski/arnaudb/wip/gtk4: 5/13] Fix type.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski/arnaudb/wip/gtk4: 5/13] Fix type.
- Date: Tue, 17 Mar 2020 11:09:59 +0000 (UTC)
commit e2294f552650ef9663a647e5a8ed4463630ada8c
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 7dc0d7f..c1fd4b0 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]