[four-in-a-row] Remove new button from global scope
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row] Remove new button from global scope
- Date: Fri, 31 Jan 2014 03:54:55 +0000 (UTC)
commit 1432e486f1e95171190d283aa3057a3b9b9f04fd
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Jan 30 21:54:03 2014 -0600
Remove new button from global scope
src/main.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index e7397cf..59f9502 100644
--- a/src/main.c
+++ b/src/main.c
@@ -60,10 +60,6 @@ GAction *new_game_action;
GAction *undo_action;
GAction *hint_action;
-GtkWidget *new_game_button;
-GtkWidget *undo_button;
-GtkWidget *hint_button;
-
PlayerID player;
PlayerID winner;
PlayerID who_starts;
@@ -1161,6 +1157,9 @@ create_app (void)
GtkWidget *gridframe;
GtkWidget *hbox, *vbox;
GtkWidget *image;
+ GtkWidget *new_game_button;
+ GtkWidget *undo_button;
+ GtkWidget *hint_button;
GMenu *app_menu, *section;
window = gtk_application_window_new (application);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]