diff options
author | Simon Kämpe <simon.kampe@gmail.com> | 2012-01-07 10:57:22 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-01-07 11:47:20 +0000 |
commit | f368bbd0068f1389e62b605872dab84e163cf99c (patch) | |
tree | 8385508d17ed9757eb1187ff59d3f2f77c44a1d1 /unlock_indicator.c | |
parent | 34c8108c06a1307fc237f118e12a175bacf7a6f7 (diff) |
Added missing #ifndef NOLIBCAIRO
Needed to compile without libcairo.
Diffstat (limited to 'unlock_indicator.c')
-rw-r--r-- | unlock_indicator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unlock_indicator.c b/unlock_indicator.c index bd61881..1775c15 100644 --- a/unlock_indicator.c +++ b/unlock_indicator.c @@ -47,8 +47,11 @@ extern uint32_t last_resolution[2]; /* Whether the unlock indicator is enabled (defaults to true). */ extern bool unlock_indicator; +#ifndef NOLIBCAIRO /* A Cairo surface containing the specified image (-i), if any. */ extern cairo_surface_t *img; +#endif + /* Whether the image should be tiled. */ extern bool tile; /* The background color to use (in hex). */ |