[atomix/wip/gtk3-port] Cleanup unused board methods and enum



commit a6224e8f88e2abd9e8826cea6c3fa51d329435c5
Author: Robert Roth <robert roth off gmail com>
Date:   Sun Jan 11 16:05:36 2015 +0200

    Cleanup unused board methods and enum

 src/board.c |    2 +-
 src/board.h |   14 +-------------
 2 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/src/board.c b/src/board.c
index f3ac768..e48d876 100644
--- a/src/board.c
+++ b/src/board.c
@@ -260,7 +260,7 @@ static void create_logo (void)
   g_object_unref (pixbuf);
 }
 
-void board_init (Theme *theme, GnomeCanvas *canvas)
+void board_init (Theme *theme, gpointer canvas)
 {
   g_return_if_fail (IS_THEME (theme));
   g_return_if_fail (GNOME_IS_CANVAS (canvas));
diff --git a/src/board.h b/src/board.h
index 505dd7a..1943d70 100644
--- a/src/board.h
+++ b/src/board.h
@@ -25,15 +25,7 @@
 #include "playfield.h"
 #include "goal.h"
 
-enum
-{
-  BOARD_MSG_NONE,
-  BOARD_MSG_GAME_PAUSED,
-  BOARD_MSG_NEW_GAME,
-  BOARD_MSG_GAME_OVER
-};
-
-void board_init (Theme * theme, GnomeCanvas * canvas);
+void board_init (Theme * theme, gpointer canvas);
 
 void board_init_level (PlayField * env, PlayField * sce, Goal * goal);
 
@@ -51,10 +43,6 @@ void board_show_normal_cursor (void);
 
 gboolean board_undo_move (void);
 
-void board_view_message (gint msg_id);
-
-void board_hide_message (gint msg_id);
-
 void board_show_logo (gboolean visible);
 
 void board_handle_key_event (GObject * canvas, GdkEventKey * event,


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