[epiphany] ephy-download-test: Register the application



commit de56275d0a6d08e34e10672c20cdf5c56940e58e
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Sep 9 11:18:59 2015 +0300

    ephy-download-test: Register the application
    
    Otherwise the inhibition will fail.

 tests/ephy-download-test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index e0e499b..f3838e3 100644
--- a/tests/ephy-download-test.c
+++ b/tests/ephy-download-test.c
@@ -177,6 +177,7 @@ main (int argc, char *argv[])
   }
 
   _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST);
+  g_application_register (G_APPLICATION (ephy_shell_get_default ()), NULL, NULL);
 
   server = soup_server_new (NULL, NULL);
   soup_server_listen_local (server, 0,


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