[gnome-chess/chess-telepathy-networking-support-664946-communicate: 12/15] correction: async fetching objects in gnome-chess-handler-application.vala
- From: Chandni Verma <vchandni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/chess-telepathy-networking-support-664946-communicate: 12/15] correction: async fetching objects in gnome-chess-handler-application.vala
- Date: Sun, 16 Jun 2013 15:51:58 +0000 (UTC)
commit 5420c228ba4cc8dea8754bee55bb99bca580760c
Author: Chandni Verma <chandniverma2112 gmail com>
Date: Sun Feb 3 11:48:44 2013 +0530
correction: async fetching objects in gnome-chess-handler-application.vala
src/gnome-chess-handler-application.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-chess-handler-application.vala b/src/gnome-chess-handler-application.vala
index 52680af..800f019 100644
--- a/src/gnome-chess-handler-application.vala
+++ b/src/gnome-chess-handler-application.vala
@@ -546,11 +546,11 @@ public class HandlerApplication : Application
/* Asynchronously fetch player objects from connection. Create game once both are in hand */
- conn.get_proxy<RemoteChessPlayerIface>.begin (TelepathyGLib.CLIENT_BUS_NAME_BASE + "Gnome.Chess",
"/org/freedesktop/Telepathy/Client/Gnome/Chess/ChessPlayer/White", DBusProxyFlags.DO_NOT_AUTO_START, null,
+ conn.get_proxy.begin<RemoteChessPlayerIface> (TelepathyGLib.CLIENT_BUS_NAME_BASE + "Gnome.Chess",
"/org/freedesktop/Telepathy/Client/Gnome/Chess/ChessPlayer/White", DBusProxyFlags.DO_NOT_AUTO_START, null,
(obj, res)=>{
try {
- white = (RemoteChessPlayer) conn.get_proxy<RemoteChessPlayerIface>.end (res);
+ white = (RemoteChessPlayer) conn.get_proxy.end<RemoteChessPlayerIface> (res);
if (white != null && black != null)
create_and_add_game (tube, channel_iter, white, black);
@@ -562,11 +562,11 @@ public class HandlerApplication : Application
}
);
- conn.get_proxy<RemoteChessPlayerIface>.begin (TelepathyGLib.CLIENT_BUS_NAME_BASE + "Gnome.Chess",
"/org/freedesktop/Telepathy/Client/Gnome/Chess/ChessPlayer/Black", DBusProxyFlags.DO_NOT_AUTO_START, null,
+ conn.get_proxy.begin<RemoteChessPlayerIface> (TelepathyGLib.CLIENT_BUS_NAME_BASE + "Gnome.Chess",
"/org/freedesktop/Telepathy/Client/Gnome/Chess/ChessPlayer/Black", DBusProxyFlags.DO_NOT_AUTO_START, null,
(obj, res)=>{
try {
- black = (RemoteChessPlayer) conn.get_proxy<RemoteChessPlayerIface>.end (res);
+ black = (RemoteChessPlayer) conn.get_proxy.end<RemoteChessPlayerIface> (res);
if (white != null && black != null)
create_and_add_game (tube, channel_iter, white, black);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]