summaryrefslogtreecommitdiff
path: root/src/gtk_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk_fb.c')
-rw-r--r--src/gtk_fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk_fb.c b/src/gtk_fb.c
index 2306db5..4520df7 100644
--- a/src/gtk_fb.c
+++ b/src/gtk_fb.c
@@ -74,11 +74,11 @@ static int gtk_fb_init(const til_settings_t *settings, void **res_context)
assert(settings);
assert(res_context);
- fullscreen = til_settings_get_value(settings, "fullscreen");
+ fullscreen = til_settings_get_value(settings, "fullscreen", NULL);
if (!fullscreen)
return -EINVAL;
- size = til_settings_get_value(settings, "size");
+ size = til_settings_get_value(settings, "size", NULL);
if (!size && !strcasecmp(fullscreen, "off"))
return -EINVAL;
© All Rights Reserved