[gjs] overrides/Gio: Ignore replies that we don't care about



commit e7c0a74f3cda0a6c408164e1ee36d6bb058b1a0b
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 10 16:35:02 2011 -0500

    overrides/Gio: Ignore replies that we don't care about
    
    It should be OK to call a DBus function asynchronously and ignore the
    result.

 modules/overrides/Gio.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/modules/overrides/Gio.js b/modules/overrides/Gio.js
index 1516bf3..b8cf013 100644
--- a/modules/overrides/Gio.js
+++ b/modules/overrides/Gio.js
@@ -105,9 +105,6 @@ function _proxyInvoker(methodName, sync, inSignature, arg_array) {
 }
 
 function _logReply(result, exc) {
-    if (result != null) {
-        log("Ignored reply to dbus method: " + result);
-    }
     if (exc != null) {
         log("Ignored exception from dbus method: " + exc.toString());
     }



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