[four-in-a-row/KaKnife/four-in-a-row-vala: 19/65] style update



commit 5ae5cf7380426edd23e9969b0dc5103bdc3169ca
Author: Jacob Humphrey <jacob ryan humphrey gmail com>
Date:   Sun Nov 25 12:10:44 2018 -0600

    style update

 src/games-controls-list.vala |  2 +-
 src/main.vala                | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/games-controls-list.vala b/src/games-controls-list.vala
index 16243a1..9474fee 100644
--- a/src/games-controls-list.vala
+++ b/src/games-controls-list.vala
@@ -44,7 +44,7 @@ public class GamesControlsList : Gtk.ScrolledWindow {
     Settings settings;
     ulong notify_handler_id;
 
-    public GamesControlsList(GLib.Settings settings) {
+    public GamesControlsList (GLib.Settings settings) {
         Gtk.CellRenderer label_renderer;
         Gtk.CellRendererAccel key_renderer;
         Gtk.TreeViewColumn column;
diff --git a/src/main.vala b/src/main.vala
index a85ce1d..1b1a113 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -141,7 +141,7 @@ void draw_line (int r1, int c1, int r2, int c2, int tile) {
     } while (!done);
 }
 
-public int main(string[] argv) {
+public int main (string[] argv) {
     gboard = new int[7,7];
     Intl.setlocale();
 
@@ -180,7 +180,7 @@ public int main(string[] argv) {
     return app_retval;
 }
 
-public void activate() {
+public void activate () {
     if (!window.is_visible()) {
         window.show_all();
         Gfx.refresh_pixmaps();
@@ -194,21 +194,21 @@ public void activate() {
 class NextMove {
     int c;
 
-    public NextMove(int c) {
+    public NextMove (int c) {
         this.c = c;
     }
 
-    public bool exec() {
+    public bool exec () {
         return next_move(c);
     }
 }
 
-public bool next_move(int c) {
+public bool next_move (int c) {
     process_move(c);
     return false;
 }
 
-public void game_process_move(int c) {
+public void game_process_move (int c) {
     process_move(c);
 }
 
@@ -721,11 +721,11 @@ void play_sound (SoundID id) {
 
 class Animate {
     int c;
-    public Animate(int c) {
+    public Animate (int c) {
         this.c = c;
     }
 
-    public bool exec() {
+    public bool exec () {
         return on_animate(c);
     }
 }


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