discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=89c92726c41e85f39a6831b637053984f9c4a2d9

commit 89c92726c41e85f39a6831b637053984f9c4a2d9
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Aug 16 10:16:23 2018 -0400

    elm/config: return false when setting audio config if multisense is disabled
    
    Summary:
    these operations cannot be completed if the support is not built in, so
    return false in order to provide the correct state to the caller
    
    Reviewers: devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6839
---
 src/lib/elementary/elm_config.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index a2dfa2ef41..8f7693bb19 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -4968,7 +4968,11 @@ _efl_config_global_efl_config_config_set(Eo *obj 
EINA_UNUSED, void *_pd EINA_UNU
              return EINA_FALSE;
           }
         elm_config_audio_mute_set(chan, !!v);
+#ifdef ENABLE_MULTISENSE
         return EINA_TRUE;
+#else
+        return EINA_FALSE;
+#endif
      }
 
    ERR("Config '%s' does not exist", name);

-- 


Reply via email to