This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository entice.

View the commit online.

commit 02ef38288f536713dce7b532a9d1402009fc0fa5
Author: Vincent Torri <vto...@outlook.fr>
AuthorDate: Thu Dec 5 21:42:38 2024 +0100

    rework efreet support
---
 src/bin/entice_main.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/bin/entice_main.c b/src/bin/entice_main.c
index 4bd13c0..528d5ee 100644
--- a/src/bin/entice_main.c
+++ b/src/bin/entice_main.c
@@ -352,8 +352,6 @@ elm_main(int argc, char **argv)
     int win_h;
     int args;
 
-    elm_need_efreet();
-
     entice_app_log_dom_global = eina_log_domain_register(PACKAGE_NAME, NULL);
     if (entice_app_log_dom_global < 0)
     {
@@ -361,6 +359,19 @@ elm_main(int argc, char **argv)
         goto end;
     }
 
+    if (!elm_need_efreet())
+    {
+        ERR(_("Efreet support needed."));
+        goto unregister_log;
+    }
+
+    /* should always exist, even on Windows */
+    if (!efreet_cache_home_get())
+    {
+        ERR(_("Cache directory can not be found."));
+        goto unregister_log;
+    }
+
     args = ecore_getopt_parse(&options, values, argc, argv);
     if (args < 0)
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to