[atomix/wip/gtk3-port] Cleanup unused method and debug messages



commit f045e040afc48d2955bfe0b922e7551ae5f1bc30
Author: Robert Roth <robert roth off gmail com>
Date:   Sun Jan 11 12:54:27 2015 +0200

    Cleanup unused method and debug messages

 src/goal-view.c |    3 ---
 src/main.c      |    7 -------
 2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/goal-view.c b/src/goal-view.c
index 5d780ed..9c7e830 100644
--- a/src/goal-view.c
+++ b/src/goal-view.c
@@ -66,10 +66,8 @@ static void render_view (Goal *goal)
 
   for (row = 0; row < playfield_get_n_rows (pf); row++)
     {
-      printf ("Row  at %d\n", row);
       for (col = 0; col < playfield_get_n_cols (pf); col++)
        {
-      printf ("Column  at %d\n", col);
          tile = playfield_get_tile (pf, row, col);
          if (!tile)
            continue;
@@ -82,7 +80,6 @@ static void render_view (Goal *goal)
              x = col * tile_width * SCALE_FACTOR;
              y = row * tile_height * SCALE_FACTOR;
              item = create_small_item (x, y, tile);
-          printf ("Atom at %d, %d\n", row, col);
 
              break;
 
diff --git a/src/main.c b/src/main.c
index 2c298ae..2ae0b20 100644
--- a/src/main.c
+++ b/src/main.c
@@ -107,13 +107,6 @@ static void verb_GameExit_cb (GtkAction * action, gpointer data)
   atomix_exit ();
 }
 
-static void verb_EditPreferences_cb (GtkAction * action, gpointer data)
-{
-#if 0
-  preferences_show_dialog ();
-#endif
-}
-
 static void verb_HelpAbout_cb (GtkAction * action, gpointer data)
 {
   GtkWidget *dlg;


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