[gjs] Gio: fix a typo in an error path



commit d6227ca69d0ffa8f105f94e80ad7d25d719e2455
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Aug 3 17:58:37 2012 +0200

    Gio: fix a typo in an error path
    
    log must only be called with one argument. At the same time,
    improve the log message to be in the usual "prefix: message" format.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680759

 modules/overrides/Gio.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/overrides/Gio.js b/modules/overrides/Gio.js
index fb8bd1d..8b22913 100644
--- a/modules/overrides/Gio.js
+++ b/modules/overrides/Gio.js
@@ -145,7 +145,7 @@ function _propertySetter(value, name, signature) {
                       this.call_finish(result);
                   } catch(e) {
                       log('Could not set property ' + name + ' on remote object ' +
-                          this.g_object_path, '. Error is ' + e.message);
+                          this.g_object_path + ': ' + e.message);
                   }
               }));
 }



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