1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-19 11:35:12 +00:00

Fix bad imlib2 typedefs for imlib<1.10

This should (properly) resolve #1743.
This commit is contained in:
Brenden Matthews 2024-03-05 16:18:17 -05:00
parent d0783eb244
commit e22e081aee

View File

@ -60,7 +60,13 @@ typedef enum _imlib_load_error ImlibLoadError;
typedef enum _imlib_text_direction Imlib_Text_Direction;
typedef enum _imlib_TTF_encoding Imlib_TTF_Encoding;
typedef struct _imlib_border Imlib_Border;
typedef struct {
int left, right, top, bottom;
} Imlib_Border;
typedef struct {
int alpha, red, green, blue;
} Imlib_Color;
Imlib_Context imlib_context_new(void);
void imlib_context_free(Imlib_Context context);