From 8bb8f6269ff9110bfbe93e3d56b7bb35af13c62b Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Sat, 8 Mar 2014 12:09:18 +0100 Subject: [PATCH] fix compiler warnings --- x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x.c b/x.c index 5aae2e8..47d92ea 100644 --- a/x.c +++ b/x.c @@ -269,9 +269,9 @@ static dimension_t calculate_dimensions(GSList *layouts) return dim; } -static cairo_t *get_icon_surface(char *icon_path) +static cairo_surface_t *get_icon_surface(char *icon_path) { - cairo_t *icon_surface = NULL; + cairo_surface_t *icon_surface = NULL; if (strlen(icon_path) > 0 && settings.icon_position != icons_off) { /* absolute path? */ if (icon_path[0] == '/' || icon_path[0] == '~') {