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

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit e47e470801ea21b67a2b9bb40f0bbe9a3bc66bc0
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed Jan 8 12:22:13 2025 +0000

    cpufreq - pop down popup on settings button press
---
 src/modules/cpufreq/e_mod_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/cpufreq/e_mod_main.c b/src/modules/cpufreq/e_mod_main.c
index 6e1e440e9..d3e57883e 100644
--- a/src/modules/cpufreq/e_mod_main.c
+++ b/src/modules/cpufreq/e_mod_main.c
@@ -375,8 +375,10 @@ _cb_ac_power_slider(void *data EINA_UNUSED, Evas_Object *o,
 static void
 _cb_settings(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
 {
+  Instance *inst = data;
   if (!cpufreq_config) return;
   if (cpufreq_config->config_dialog) return;
+  if (inst->popup) E_FREE_FUNC(inst->popup, e_object_del);
   e_int_config_cpufreq_module(NULL, NULL);
 }
 

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

Reply via email to