mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
Put OBJ(image) in $ifdefs
so that conky produces more meaningful error message when compiled without imlib
This commit is contained in:
parent
bfda285567
commit
28978461a7
@ -694,8 +694,10 @@ struct text_object *construct_text_object(const char *s, const char *arg, long
|
||||
obj_be_ifblock_endif(ifblock_opaque, obj);
|
||||
END OBJ(eval, 0)
|
||||
obj->data.s = strndup(arg ? arg : "", text_buffer_size);
|
||||
#if defined(IMLIB2) && defined(X11)
|
||||
END OBJ(image, 0)
|
||||
obj->data.s = strndup(arg ? arg : "", text_buffer_size);
|
||||
#endif /* IMLIB2 */
|
||||
END OBJ(exec, 0)
|
||||
obj->data.s = strndup(arg ? arg : "", text_buffer_size);
|
||||
END OBJ(execp, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user