From c2a150f7c253c65d376821df900fbe42b89c7e94 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 27 May 2022 16:01:42 +0200 Subject: [PATCH] cursor: remove xcursor_file_load_images wrapper It's just calling xcursor_xc_file_load_images. Signed-off-by: Simon Ser --- cursor/xcursor.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cursor/xcursor.c b/cursor/xcursor.c index 19b56c0b..fe7fff7e 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);