[gnome-taquin/arnaudb/wip/gtk4: 76/108] Looks like queue_draw_area() is gone.




commit e9ed062d2c76b81a267bca1de8b3d1a658c454da
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Feb 19 21:56:30 2020 +0100

    Looks like queue_draw_area() is gone.

 src/taquin-view.vala | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/src/taquin-view.vala b/src/taquin-view.vala
index 4b565a9..1b367af 100644
--- a/src/taquin-view.vala
+++ b/src/taquin-view.vala
@@ -249,16 +249,17 @@ private class TaquinView : Gtk.DrawingArea
         if (animate)
         {
             animation_offset += 8;
-            if (x_axis)
-                queue_draw_area (x_offset + grid_border_main + tile_size * int.min (x_gap, x_gap + number),
-                                 y_offset + grid_border_main + tile_size * y_gap,
-                                 tile_size * (number.abs() + 1),
-                                 tile_size);
-            else
-                queue_draw_area (x_offset + grid_border_main + tile_size * x_gap,
-                                 y_offset + grid_border_main + tile_size * int.min (y_gap, y_gap + number),
-                                 tile_size,
-                                 tile_size * (number.abs() + 1));
+            queue_draw ();
+//            if (x_axis)
+//                queue_draw_area (x_offset + grid_border_main + tile_size * int.min (x_gap, x_gap + number),
+//                                 y_offset + grid_border_main + tile_size * y_gap,
+//                                 tile_size * (number.abs() + 1),
+//                                 tile_size);
+//            else
+//                queue_draw_area (x_offset + grid_border_main + tile_size * x_gap,
+//                                 y_offset + grid_border_main + tile_size * int.min (y_gap, y_gap + number),
+//                                 tile_size,
+//                                 tile_size * (number.abs() + 1));
             if (animation_offset > tile_size)
                 animate = false;
         }


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