aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cursor/xcursor.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/cursor/xcursor.c b/cursor/xcursor.c
index 19b56c0..fe7fff7 100644
--- a/cursor/xcursor.c
+++ b/cursor/xcursor.c
@@ -530,15 +530,6 @@ xcursor_xc_file_load_images(FILE *file, int size)
return images;
}
-static struct xcursor_images *
-xcursor_file_load_images(FILE *file, int size)
-{
- if (!file)
- return NULL;
-
- return xcursor_xc_file_load_images(file, size);
-}
-
/*
* From libXcursor/src/library.c
*/
@@ -786,7 +777,7 @@ load_all_cursors_from_dir(const char *path, int size,
continue;
}
- images = xcursor_file_load_images(f, size);
+ images = xcursor_xc_file_load_images(f, size);
if (images) {
xcursor_images_set_name(images, ent->d_name);