X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fcfg.c;h=3f140d924bcc484afa01d6ec1b5f587052f70a5b;hb=b672eb851bac54e9e1efbe8b23bd9408dc7ba966;hp=2d44794dcf51060e0f3ab6a8960734c22816d81c;hpb=c8ba8eff3973760262b4833062403eb9536225b6;p=psensor.git diff --git a/src/cfg.c b/src/cfg.c index 2d44794..3f140d9 100644 --- a/src/cfg.c +++ b/src/cfg.c @@ -724,9 +724,9 @@ bool config_is_appindicator_enabled(const char *sid) void config_set_appindicator_enabled(const char *sid, bool enabled) { - return sensor_set_bool(sid, - ATT_SENSOR_APPINDICATOR_MENU_DISABLED, - !enabled); + sensor_set_bool(sid, + ATT_SENSOR_APPINDICATOR_MENU_DISABLED, + !enabled); } int config_get_sensor_position(const char *sid) @@ -736,7 +736,7 @@ int config_get_sensor_position(const char *sid) void config_set_sensor_position(const char *sid, int pos) { - return sensor_set_int(sid, ATT_SENSOR_POSITION, pos); + sensor_set_int(sid, ATT_SENSOR_POSITION, pos); } bool config_get_sensor_alarm_enabled(const char *sid)