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

git pushed a commit to branch master
in repository enigmatic.

View the commit online.

commit b30b185fc7c9c780cbb71d699800ea30d9b09187
Author: Alastair Poole <[email protected]>
AuthorDate: Sat Mar 21 01:32:49 2026 +0000

    threads: Fix version guard for thread name set.
---
 src/bin/enigmatic_main.c    | 2 +-
 src/bin/monitor/batteries.c | 2 +-
 src/bin/monitor/power.c     | 2 +-
 src/bin/monitor/sensors.c   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/enigmatic_main.c b/src/bin/enigmatic_main.c
index 587cb4d..1445433 100644
--- a/src/bin/enigmatic_main.c
+++ b/src/bin/enigmatic_main.c
@@ -56,7 +56,7 @@ enigmatic_system_monitor(void *data, Ecore_Thread *thread)
    enigmatic->info = info = calloc(1, sizeof(System_Info));
    EINA_SAFETY_ON_NULL_RETURN(enigmatic->info);
 
-#if 1 == 1 || (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
+#if (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
    ecore_thread_name_set(thread, "logger");
 #endif
 
diff --git a/src/bin/monitor/batteries.c b/src/bin/monitor/batteries.c
index b7adc89..1fc7135 100644
--- a/src/bin/monitor/batteries.c
+++ b/src/bin/monitor/batteries.c
@@ -63,7 +63,7 @@ battery_thread(void *data EINA_UNUSED, Ecore_Thread *thread)
    Battery *bat;
    uint32_t it = 0;
 
-#if 1 == 1 || (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
+#if (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
    ecore_thread_name_set(thread, "batmon");
 #endif
 
diff --git a/src/bin/monitor/power.c b/src/bin/monitor/power.c
index 22920f4..867250c 100644
--- a/src/bin/monitor/power.c
+++ b/src/bin/monitor/power.c
@@ -19,7 +19,7 @@ power_refresh(Enigmatic *enigmatic, Eina_Bool *ac)
 static void
 power_thread(void *data EINA_UNUSED, Ecore_Thread *thread)
 {
-#if 1 == 1 || (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
+#if (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
    ecore_thread_name_set(thread, "powermon");
 #endif
    while (!ecore_thread_check(thread))
diff --git a/src/bin/monitor/sensors.c b/src/bin/monitor/sensors.c
index 711dad4..bbf477b 100644
--- a/src/bin/monitor/sensors.c
+++ b/src/bin/monitor/sensors.c
@@ -75,7 +75,7 @@ sensors_thread(void *data EINA_UNUSED, Ecore_Thread *thread)
    Sensor *sensor;
    uint32_t it = 0;
 
-#if 1 == 1 || (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
+#if (EFL_VERSION_MAJOR >= 1 && EFL_VERSION_MINOR >= 26)
    ecore_thread_name_set(thread, "sensemon");
 #endif
 

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

Reply via email to