summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_config.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-14 11:03:53 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-24 15:50:35 +0200
commit6277c3436c240b04689adcc9f29f68020356da6d (patch)
tree28369d5d46269219a156349f225e7ec454eed6b9 /src/lib/elementary/elm_config.c
parent3ea6f58ec68e465c14118dcb7b39fdece5b58b9d (diff)
elm/config: use correct function to return audio mute value
when setting this config value an elm function is used to store the setting internally, so it's necessary to use the elm getter function in order to correctly (and accurately) return the same state resolves test failures in elm_config Differential Revision: https://phab.enlightenment.org/D6825
Diffstat (limited to 'src/lib/elementary/elm_config.c')
-rw-r--r--src/lib/elementary/elm_config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 8f7693bb19..bfe133bbc9 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -5101,7 +5101,9 @@ _efl_config_global_efl_config_config_get(const Eo *obj EINA_UNUSED, void *_pd EI
5101 return NULL; 5101 return NULL;
5102 } 5102 }
5103 val = eina_value_new(EINA_VALUE_TYPE_UCHAR); 5103 val = eina_value_new(EINA_VALUE_TYPE_UCHAR);
5104 b = edje_audio_channel_mute_get(chan); 5104 b = elm_config_audio_mute_get(chan);
5105 if (b != edje_audio_channel_mute_get(chan))
5106 ERR("config state for audio channel '%s' does not match active state!", channel);
5105 eina_value_set(val, b); 5107 eina_value_set(val, b);
5106 return val; 5108 return val;
5107 } 5109 }