[gnome-games/wip/exalm/grilo: 2/4] grilo: Add missing spaces before braces



commit 6cd99434f71a2463a148ec1691ed565ea94d19f4
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Fri Aug 31 17:08:20 2018 +0500

    grilo: Add missing spaces before braces
    
    Add missing spaces in function calls and 'for' statements.

 src/grilo/grilo-cooperative.vala  |  4 ++--
 src/grilo/grilo-genre.vala        | 10 +++++-----
 src/grilo/grilo-players.vala      |  4 ++--
 src/grilo/grilo-publisher.vala    |  4 ++--
 src/grilo/grilo-release-date.vala |  2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/grilo/grilo-cooperative.vala b/src/grilo/grilo-cooperative.vala
index 9afdbd6e..c2f92c8b 100644
--- a/src/grilo/grilo-cooperative.vala
+++ b/src/grilo/grilo-cooperative.vala
@@ -39,10 +39,10 @@ public class Games.GriloCooperative : Object, Cooperative {
                load_media_cooperative (coop);
        }
 
-       private void load_media_cooperative(bool coop) {
+       private void load_media_cooperative (bool coop) {
                cooperative = coop;
                resolving = true;
 
-               changed();
+               changed ();
        }
 }
diff --git a/src/grilo/grilo-genre.vala b/src/grilo/grilo-genre.vala
index 0cfb137b..c53b2066 100644
--- a/src/grilo/grilo-genre.vala
+++ b/src/grilo/grilo-genre.vala
@@ -37,16 +37,16 @@ public class Games.GriloGenre : Object, Genre {
 
                var genre_list = new List<string> ();
 
-               for(uint index = 0; index < genre_count; index++)
-                       genre_list.append(grl_media.get_genre_nth (index));
+               for (uint index = 0; index < genre_count; index++)
+                       genre_list.append (grl_media.get_genre_nth (index));
 
                load_media_genre (genre_list);
        }
 
-       private void load_media_genre(List<string> genre_list) {
-               genre = genre_list.copy();
+       private void load_media_genre (List<string> genre_list) {
+               genre = genre_list.copy ();
                resolving = true;
 
-               changed();
+               changed ();
        }
 }
diff --git a/src/grilo/grilo-players.vala b/src/grilo/grilo-players.vala
index a5009dc7..c7b2809c 100644
--- a/src/grilo/grilo-players.vala
+++ b/src/grilo/grilo-players.vala
@@ -40,7 +40,7 @@ public class Games.GriloPlayers : Object, Players {
 
                var player = grl_media.get_string (GRL_METADATA_KEY_PLAYERS);
 
-               if (int.parse(player) == 1)
+               if (int.parse (player) == 1)
                        player = _("Single-player");
                else
                        player = _("Multi-player");
@@ -52,6 +52,6 @@ public class Games.GriloPlayers : Object, Players {
                players = player;
                resolving = true;
 
-               changed();
+               changed ();
        }
 }
diff --git a/src/grilo/grilo-publisher.vala b/src/grilo/grilo-publisher.vala
index 0311ba24..dddcae87 100644
--- a/src/grilo/grilo-publisher.vala
+++ b/src/grilo/grilo-publisher.vala
@@ -30,7 +30,7 @@ public class Games.GriloPublisher : Object, Publisher {
                if (grl_media == null)
                        return;
 
-               var registry = Grl.Registry.get_default();
+               var registry = Grl.Registry.get_default ();
                var grl_metadata_key_publisher = registry.lookup_metadata_key ("publisher");
 
                if (grl_media.length (grl_metadata_key_publisher) == 0)
@@ -44,6 +44,6 @@ public class Games.GriloPublisher : Object, Publisher {
                publisher = publisher_string;
                resolving = true;
 
-               changed();
+               changed ();
        }
 }
diff --git a/src/grilo/grilo-release-date.vala b/src/grilo/grilo-release-date.vala
index f8d7a613..c2f669b2 100644
--- a/src/grilo/grilo-release-date.vala
+++ b/src/grilo/grilo-release-date.vala
@@ -41,6 +41,6 @@ public class Games.GriloReleaseDate : Object, ReleaseDate {
                release_date = release;
                resolving = true;
 
-               changed();
+               changed ();
        }
 }


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