[gnome-books/wip/hadess/remove-timeout: 2/2] application: Exit as soon as possible



commit 6e63921666a1b28af8c9ba54a5c02b90bdc436d3
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 6 12:08:46 2019 +0100

    application: Exit as soon as possible
    
    The inactivity timeout was used by the search provider functionality,
    which we don't offer anymore, so remove it.

 src/application.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 79b824c1..07af5471 100644
--- a/src/application.js
+++ b/src/application.js
@@ -107,8 +107,7 @@ var Application = new Lang.Class({
         // needed by data/ui/view-menu.ui
         GObject.type_ensure(Gio.ThemedIcon);
 
-        this.parent({ application_id: appid,
-                      inactivity_timeout: 12000 });
+        this.parent({ application_id: appid });
 
         this.add_main_option('version', 'v'.charCodeAt(0), GLib.OptionFlags.NONE, GLib.OptionArg.NONE,
                              _("Show the version of the program"), null);


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