fix compiler warnings
This commit is contained in:
parent
6715f74a47
commit
8bb8f6269f
4
x.c
4
x.c
@ -269,9 +269,9 @@ static dimension_t calculate_dimensions(GSList *layouts)
|
|||||||
return dim;
|
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) {
|
if (strlen(icon_path) > 0 && settings.icon_position != icons_off) {
|
||||||
/* absolute path? */
|
/* absolute path? */
|
||||||
if (icon_path[0] == '/' || icon_path[0] == '~') {
|
if (icon_path[0] == '/' || icon_path[0] == '~') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user