[gnome-nibbles/arnaudb/modernize-code: 35/58] Mark some methods private.



commit 3df44b5a1f07b85e1be8cd88da28c641cbf5fa96
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri May 29 09:43:27 2020 +0200

    Mark some methods private.

 src/nibbles-game.vala | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/nibbles-game.vala b/src/nibbles-game.vala
index a196b75..7f0ceef 100644
--- a/src/nibbles-game.vala
+++ b/src/nibbles-game.vala
@@ -149,7 +149,7 @@ private class NibblesGame : Object
         animate_end_game ();
     }
 
-    internal bool main_loop_cb ()
+    private bool main_loop_cb ()
     {
         var status = get_game_status ();
 
@@ -224,7 +224,7 @@ private class NibblesGame : Object
         }
     }
 
-    internal void move_worms ()
+    private void move_worms ()
     {
         if (boni.too_many_missed ())
         {
@@ -392,7 +392,7 @@ private class NibblesGame : Object
         }
     }
 
-    internal void apply_bonus (Bonus bonus, Worm worm)
+    private void apply_bonus (Bonus bonus, Worm worm)
     {
         if (bonus.fake)
         {
@@ -429,14 +429,14 @@ private class NibblesGame : Object
         }
     }
 
-    internal bool add_bonus_cb ()
+    private bool add_bonus_cb ()
     {
         add_bonus (false);
 
         return Source.CONTINUE;
     }
 
-    internal void bonus_found_cb (Worm worm)
+    private void bonus_found_cb (Worm worm)
     {
         var bonus = boni.get_bonus (board, worm.head.x, worm.head.y);
         if (bonus == null)
@@ -453,7 +453,7 @@ private class NibblesGame : Object
             add_bonus (true);
     }
 
-    internal void warp_found_cb (Worm worm)
+    private void warp_found_cb (Worm worm)
     {
         var warp = warp_manager.get_warp (worm.head.x, worm.head.y);
         if (warp == null)


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