summaryrefslogtreecommitdiff
path: root/src/bin/options_video.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-09-08 19:41:16 +0200
committerBoris Faure <billiob@gmail.com>2019-09-08 19:41:16 +0200
commitb8af21128e64ab2ca52dad694afecbdded081e89 (patch)
treef81283e1566067f2fe1b7ee66f9fde73a64a5ed2 /src/bin/options_video.c
parent67805411a411487d4821d11a3b4d271b4f42da98 (diff)
config: simplify API
Diffstat (limited to 'src/bin/options_video.c')
-rw-r--r--src/bin/options_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/options_video.c b/src/bin/options_video.c
index f3f83d3..c243a2c 100644
--- a/src/bin/options_video.c
+++ b/src/bin/options_video.c
@@ -17,7 +17,7 @@ _cb_op_video_mute_chg(void *data,
17 Config *config = termio_config_get(term); 17 Config *config = termio_config_get(term);
18 config->mute = elm_check_state_get(obj); 18 config->mute = elm_check_state_get(obj);
19 main_media_mute_update(config); 19 main_media_mute_update(config);
20 config_save(config, NULL); 20 config_save(config);
21} 21}
22 22
23static void 23static void
@@ -29,7 +29,7 @@ _cb_op_video_visualize_chg(void *data,
29 Config *config = termio_config_get(term); 29 Config *config = termio_config_get(term);
30 config->visualize = elm_check_state_get(obj); 30 config->visualize = elm_check_state_get(obj);
31 main_media_visualize_update(config); 31 main_media_visualize_update(config);
32 config_save(config, NULL); 32 config_save(config);
33} 33}
34 34
35static void 35static void
@@ -43,7 +43,7 @@ _cb_op_video_vidmod_chg(void *data,
43 if (v == config->vidmod) return; 43 if (v == config->vidmod) return;
44 config->vidmod = v; 44 config->vidmod = v;
45 main_media_update(config); 45 main_media_update(config);
46 config_save(config, NULL); 46 config_save(config);
47} 47}
48 48
49void 49void