1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 14:09:13 +00:00

outlinecolor: convert to callbacks.print

This commit is contained in:
Phil Sutter 2009-11-08 16:26:02 +01:00
parent 1a6803454c
commit f9036f58a2
2 changed files with 1 additions and 3 deletions

View File

@ -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];

View File

@ -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