[Pkg-e-commits] [SCM] Enlightenment 17 branch, upstream-vcs, updated. a8698069ec4eec9c2a189198fa5eec9854b168ac

doursse doursse at alioth.debian.org
Sun May 4 21:39:50 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit 332d3327b3cb565df819980bdb3b11ddbdc91461
Author: doursse <doursse>
Date:   Sat Mar 22 08:04:12 2008 +0000

    returning 0 stops the delete event to be called in the screenlock module.
    So we return 1.
    
    Patch from sECuRE_

diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c
index 077b9b3..8695cd4 100644
--- a/src/modules/battery/e_mod_main.c
+++ b/src/modules/battery/e_mod_main.c
@@ -446,5 +446,5 @@ _battery_cb_exe_del(void *data, int type, void *event)
    ev = event;
    if (ev->exe != battery_config->batget_exe) return 1;
    battery_config->batget_exe = NULL;
-   return 0;
+   return 1;
 }

-- 
Enlightenment 17



More information about the Pkg-e-commits mailing list