[gnome-characters] BackgroundService: don't unnecessarily override shutdown



commit b034bd0cfff82773505d776fca4838df6a850055
Author: Giovanni Campagna <scampa giovanni gmail com>
Date:   Tue Mar 3 02:01:06 2015 -0800

    BackgroundService: don't unnecessarily override shutdown
    
    GApplication complains if shutdown does not chain up. But since
    we're doing nothing, we can just as well avoid the chain up.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745508

 src/service.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/service.js b/src/service.js
index b260bff..b2cc704 100644
--- a/src/service.js
+++ b/src/service.js
@@ -85,10 +85,6 @@ const BackgroundService = new Lang.Class({
     vfunc_activate: function() {
         // do nothing, this is a background service
     },
-
-    vfunc_shutdown: function() {
-        // do nothing, this is a background service
-    }
 });
 
 function main(argv) {


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