[gnome-maps/gnome-3-38] application: Fix exception on shutdown



commit 2e64cf6909dfca559fcaf54c470134ecc4d64e9a
Author: James Westman <james flyingpimonster net>
Date:   Wed Sep 23 16:12:27 2020 -0500

    application: Fix exception on shutdown
    
    Due to a typo, the DBus unregister function called register instead of
    unregister, resulting in an exception.

 src/application.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.js b/src/application.js
index c51fc421..f7a80c51 100644
--- a/src/application.js
+++ b/src/application.js
@@ -293,7 +293,7 @@ var Application = GObject.registerClass({
     }
 
     vfunc_dbus_unregister(connection, path) {
-        super.vfunc_dbus_register(connection, path);
+        super.vfunc_dbus_unregister(connection, path);
     }
 
     vfunc_activate() {


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