[iagno] Remove view.redraw ().
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Remove view.redraw ().
- Date: Wed, 1 Oct 2014 15:01:59 +0000 (UTC)
commit 071eb8e481ec7900eb0c91408ef5247f474312fb
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Sep 30 23:55:12 2014 +0200
Remove view.redraw ().
https://bugzilla.gnome.org/show_bug.cgi?id=737410
src/game-view.vala | 7 +------
src/iagno.vala | 1 -
2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index 3eb5bfd..0de95be 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -56,7 +56,7 @@ public class GameView : Gtk.DrawingArea
for (var y = 0; y < game.size; y++)
pixmaps[x, y] = get_pixmap (_game.get_owner (x, y));
}
- redraw ();
+ queue_draw ();
}
}
@@ -178,11 +178,6 @@ public class GameView : Gtk.DrawingArea
}
}
- public void redraw ()
- {
- queue_draw ();
- }
-
private void square_changed_cb (int x, int y)
{
var pixmap = get_pixmap (game.get_owner (x, y));
diff --git a/src/iagno.vala b/src/iagno.vala
index ed897fd..f505cc4 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -535,7 +535,6 @@ public class Iagno : Gtk.Application
model.get (iter, 1, out tile_set);
settings.set_string ("tileset", tile_set);
view.theme = Path.build_filename (DATA_DIRECTORY, "themes", tile_set);
- view.redraw ();
}
private void create_preferences_dialog ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]