[gjs] GDBus: fix NotImplementedError message



commit e694a2e87dabdc89295cd64e69791353f6a4d8ff
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sat Apr 28 14:07:26 2012 +0200

    GDBus: fix NotImplementedError message
    
    Single quotes must be used, or the method_name concatenation is not
    recognized.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675018

 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 b8cf013..2015cdb 100644
--- a/modules/overrides/Gio.js
+++ b/modules/overrides/Gio.js
@@ -312,7 +312,7 @@ function _wrapJSObject(interfaceInfo, jsObj) {
 	} else {
 	    log('Missing handler for DBus method ' + method_name);
 	    invocation.return_dbus_error('org.gnome.gjs.NotImplementedError',
-					 "Method ' + method_name + ' is not implemented");
+					 'Method ' + method_name + ' is not implemented');
 	}
     });
     impl.connect('handle-property-get', function(impl, property_name) {



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