[lightsoff/wip/gtkview] Minor improvements
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff/wip/gtkview] Minor improvements
- Date: Sat, 14 Jul 2018 23:04:38 +0000 (UTC)
commit 72b9339057c42df08ffadf8cdb6ffebcf347f666
Author: Robert Roth <robert roth off gmail com>
Date: Sun Jul 15 02:04:19 2018 +0300
Minor improvements
src/game-view-clutter.vala | 1 -
src/game-view-gtk.vala | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/game-view-clutter.vala b/src/game-view-clutter.vala
index 2a5f0bb..5f4f253 100644
--- a/src/game-view-clutter.vala
+++ b/src/game-view-clutter.vala
@@ -200,7 +200,6 @@ public class ClutterGameView : Clutter.Group, GameView
timeline.completed.connect (transition_complete_cb);
}
-
public void hide_cursor ()
{
setup_animation (key_cursor_view, Clutter.AnimationMode.EASE_OUT_SINE, 250);
diff --git a/src/game-view-gtk.vala b/src/game-view-gtk.vala
index 2fdcfcb..f7403df 100644
--- a/src/game-view-gtk.vala
+++ b/src/game-view-gtk.vala
@@ -15,7 +15,7 @@ public class GtkGameView : Gtk.Frame, GameView {
public void replace_board (BoardView old_board, BoardView new_board)
{
- @foreach ((widget) => remove (widget));
+ remove (old_board as Gtk.Widget);
add (new_board as Gtk.Widget);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]