[gnome-weather] Application: fix an error in dbus_unregister



commit 5ac444e43566fc22b44a4aca12e766915a8e115a
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sun Sep 8 18:44:42 2013 +0200

    Application: fix an error in dbus_unregister
    
    We get a path too, and we need to pass it down to parent().
    This was previous masked by running in DBus (and losing all stderr)

 src/main.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/main.js b/src/main.js
index 1c53f56..858e1d0 100644
--- a/src/main.js
+++ b/src/main.js
@@ -70,10 +70,10 @@ const Application = new Lang.Class({
         return true;
     },
 
-    vfunc_dbus_unregister: function(connection) {
+    vfunc_dbus_unregister: function(connection, path) {
         this._searchProvider.unexport(connection);
 
-        this.parent(connection);
+        this.parent(connection, path);
     },
 
     vfunc_startup: function() {


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