[gnome-mahjongg] Cosmetic move of code.



commit b9676497b7ceb321442858bbd38823c4753064f4
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Jul 17 15:23:44 2014 +0200

    Cosmetic move of code.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733211

 src/gnome-mahjongg.vala |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index e5336a4..8ff81e0 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -28,6 +28,22 @@ public class Mahjongg : Gtk.Application
     private Gtk.Label clock_label;
     private Gtk.Dialog? preferences_dialog = null;
 
+    private const GLib.ActionEntry[] action_entries =
+    {
+        { "new-game",      new_game_cb     },
+        { "undo",          undo_cb         },
+        { "redo",          redo_cb         },
+        { "hint",          hint_cb         },
+        { "shuffle",       shuffle_cb      },
+        { "pause",         pause_cb        },
+        { "restart-game",  restart_game_cb },
+        { "scores",        scores_cb       },
+        { "preferences",   preferences_cb  },
+        { "help",          help_cb         },
+        { "about",         about_cb        },
+        { "quit",          quit_cb         }
+    };
+
     public Mahjongg ()
     {
         Object (application_id: "org.gnome.gnome-mahjongg", flags: ApplicationFlags.FLAGS_NONE);
@@ -725,22 +741,6 @@ public class Mahjongg : Gtk.Application
         }
     }
 
-    private const GLib.ActionEntry[] action_entries =
-    {
-        { "new-game",      new_game_cb     },
-        { "undo",          undo_cb         },
-        { "redo",          redo_cb         },
-        { "hint",          hint_cb         },
-        { "shuffle",       shuffle_cb      },
-        { "pause",         pause_cb        },
-        { "restart-game",  restart_game_cb },
-        { "scores",        scores_cb       },
-        { "preferences",   preferences_cb  },
-        { "help",          help_cb         },
-        { "about",         about_cb        },
-        { "quit",          quit_cb         }
-    };
-
     private void load_maps ()
     {
         maps = null;


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