fix unsafe macros
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
parent
54f2ebee96
commit
181f43ddc2
6
widget.h
6
widget.h
|
@ -25,9 +25,9 @@
|
||||||
|
|
||||||
#include "structs.h"
|
#include "structs.h"
|
||||||
|
|
||||||
#define WIDGET_CACHE_CLIENTS 1<<0
|
#define WIDGET_CACHE_CLIENTS (1<<0)
|
||||||
#define WIDGET_CACHE_LAYOUTS 1<<1
|
#define WIDGET_CACHE_LAYOUTS (1<<1)
|
||||||
#define WIDGET_CACHE_TAGS 1<<2
|
#define WIDGET_CACHE_TAGS (1<<2)
|
||||||
#define WIDGET_CACHE_ALL (WIDGET_CACHE_CLIENTS | WIDGET_CACHE_LAYOUTS | WIDGET_CACHE_TAGS)
|
#define WIDGET_CACHE_ALL (WIDGET_CACHE_CLIENTS | WIDGET_CACHE_LAYOUTS | WIDGET_CACHE_TAGS)
|
||||||
|
|
||||||
typedef widget_t *(widget_constructor_t)(alignment_t);
|
typedef widget_t *(widget_constructor_t)(alignment_t);
|
||||||
|
|
Loading…
Reference in New Issue