netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=53fa6a4ca9736ace20a4f1ec1409b0882c5ec0c9

commit 53fa6a4ca9736ace20a4f1ec1409b0882c5ec0c9
Author: Alastair Poole <[email protected]>
Date:   Sun Jul 26 14:35:59 2020 +0100

    openbsd: static heap variables.
    
    I understand what is happening on OpenBSD, but I don't know why
    this is happening. I need to speak to someone in the know about
    this because it's not occurring on other platforms, and this
    shouldn't be happening.
---
 src/bin/ui/ui.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/ui.c b/src/bin/ui/ui.c
index 0feb19a..8c7c7e5 100644
--- a/src/bin/ui/ui.c
+++ b/src/bin/ui/ui.c
@@ -623,7 +623,7 @@ _process_list(void *data, Ecore_Thread *thread)
      }
 }
 
-static Evas_Object *_selected = NULL;
+Evas_Object *_selected;
 
 static void
 _btn_icon_state_update(Evas_Object *button, Eina_Bool reverse)
@@ -1592,6 +1592,7 @@ _ui_init(Evas_Object *parent)
 
    _ui = NULL;
    _evisum_config = NULL;
+   _selected = NULL;
 
    _config_load(ui);
 

-- 


Reply via email to