[gnome-chess/chess-telepathy-networking-support-664946-communicate: 15/15] correction: gnome-chess-handler-application.vala



commit 44173abdfa7945d721acc84f1f6664a42491427d
Author: Chandni Verma <chandniverma2112 gmail com>
Date:   Sun Jun 16 20:51:56 2013 +0530

    correction: gnome-chess-handler-application.vala

 src/gnome-chess-handler-application.vala |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-chess-handler-application.vala b/src/gnome-chess-handler-application.vala
index 800f019..f5abfac 100644
--- a/src/gnome-chess-handler-application.vala
+++ b/src/gnome-chess-handler-application.vala
@@ -756,11 +756,16 @@ public class HandlerApplication : Application
 
         try {
             if (play_as_white)
+            {
                 connection.register_object<RemoteChessPlayer> 
("/org/freedesktop/Telepathy/Client/Gnome/Chess/ChessPlayer/White", (RemoteChessPlayer) my_player);
+                debug ("White chess player registered");
+            }
             else
+            {
                 connection.register_object<RemoteChessPlayer> 
("/org/freedesktop/Telepathy/Client/Gnome/Chess/ChessPlayer/Black", (RemoteChessPlayer) my_player);
+                debug ("Black chess player registered");
+            }
 
-            debug ("ChessPlayer registered successfully");
         } catch (IOError e) {
             debug ("Could not register ChessPlayer object");
         }


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