[gnome-shell] telepathyClient: Fix GAsyncReadyCallback



commit cbb9a7ab9679719f7184242bf2a4d6c02d61b1dc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Jun 28 11:42:41 2011 -0400

    telepathyClient: Fix GAsyncReadyCallback
    
    This caused a minor error.

 js/ui/telepathyClient.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 5fb7fb0..14e1d4e 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -382,7 +382,9 @@ Source.prototype = {
         }
 
         let msg = Tp.ClientMessage.new_text(type, text);
-        this._channel.send_message_async(msg, 0, Lang.bind(this, function (src, result) { this._channel.send_message_finish(src, result);  }));
+        this._channel.send_message_async(msg, 0, Lang.bind(this, function (src, result) {
+            this._channel.send_message_finish(result); 
+        }));
     },
 
     _presenceChanged: function (contact, presence, status, message) {



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