diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2008-05-08 19:27:52 +0200 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-08 17:55:19 -0500 |
| commit | 51257397b04d206e73fb788fba0818c238a61adb (patch) | |
| tree | 9d1f2210abaaef7b97855fa54df0c847dbbba248 /openbox/imageload.c | |
| parent | 0352abfa88892bc17bdff2022745e3c1b312edd0 (diff) | |
Some style changes, less ifdefs.
Diffstat (limited to 'openbox/imageload.c')
| -rw-r--r-- | openbox/imageload.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbox/imageload.c b/openbox/imageload.c index c80aa134..9bfe9187 100644 --- a/openbox/imageload.c +++ b/openbox/imageload.c @@ -26,6 +26,12 @@ #include "imageload.h" #include <Imlib2.h> +#ifndef USE_IMLIB2 +RrImage* RrImageFetchFromFile(RrImageCache *cache, const gchar *name) +{ + return NULL; +} +#else static void CreateFileNameTable(RrImageCache *self) { @@ -133,3 +139,5 @@ RrImage* RrImageFetchFromFile(RrImageCache *cache, const gchar *name) return rr_image; } + +#endif |
