mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
drop now unused SIZE_DEFAULTS macro
This commit is contained in:
parent
041059f1c2
commit
f98a360089
@ -1026,7 +1026,6 @@ struct text_object *construct_text_object(const char *s, const char *arg, long
|
||||
#undef __OBJ_IF
|
||||
#undef __OBJ_ARG
|
||||
#undef END
|
||||
#undef SIZE_DEFAULTS
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
@ -86,12 +86,6 @@ extern int default_gauge_width;
|
||||
extern int default_gauge_height;
|
||||
#endif
|
||||
|
||||
/* set the obj's default width and height (FIXME: referencing the global obj is evil) */
|
||||
#define SIZE_DEFAULTS(arg) { \
|
||||
obj->a = default_##arg##_width; \
|
||||
obj->b = default_##arg##_height; \
|
||||
}
|
||||
|
||||
/* forward declare to avoid mutual inclusion between specials.h and text_object.h */
|
||||
struct text_object;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user