mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 11:05:18 +00:00
outlinecolor: convert to callbacks.print
This commit is contained in:
parent
1a6803454c
commit
f9036f58a2
@ -1173,9 +1173,6 @@ void generate_text_internal(char *p, int p_max_size,
|
||||
OBJ(nodename) {
|
||||
snprintf(p, p_max_size, "%s", cur->uname_s.nodename);
|
||||
}
|
||||
OBJ(outlinecolor) {
|
||||
new_outline(obj, p, p_max_size);
|
||||
}
|
||||
OBJ(pid_chroot) {
|
||||
char buf[max_user_text];
|
||||
|
||||
|
@ -925,6 +925,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long
|
||||
END OBJ(outlinecolor, 0)
|
||||
#ifdef X11
|
||||
obj->data.l = arg ? get_x11_color(arg) : default_out_color;
|
||||
obj->callbacks.print = &new_outline;
|
||||
#endif /* X11 */
|
||||
END OBJ(stippled_hr, 0)
|
||||
#ifdef X11
|
||||
|
Loading…
Reference in New Issue
Block a user