Skip to content

Commit

Permalink
fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
knopwob committed Mar 8, 2014
1 parent 6715f74 commit 8bb8f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] == '~') {
Expand Down

0 comments on commit 8bb8f62

Please sign in to comment.