[five-or-more/gnome-3-8] prepare the preview surfaces before the board is shown
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/gnome-3-8] prepare the preview surfaces before the board is shown
- Date: Sat, 1 Jun 2013 18:17:38 +0000 (UTC)
commit 85ca594673c51cb6217b8f0047d866d701dbe3c3
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Fri May 31 23:59:55 2013 +0200
prepare the preview surfaces before the board is shown
Move the reset_game call before the widgets are shown in activate_cb.
Otherwise this results in a configure event on unity where the
previews are drawn before they have been prepared.
This fixes the problem on unity.
src/glines.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/glines.c b/src/glines.c
index b8b47a9..1e106bb 100644
--- a/src/glines.c
+++ b/src/glines.c
@@ -1614,9 +1614,8 @@ startup_cb (GApplication *application)
static void
activate_cb (GApplication *application)
{
- gtk_widget_show_all (app);
-
reset_game ();
+ gtk_widget_show_all (app);
start_game ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]