aboutsummaryrefslogtreecommitdiffstats
path: root/cursor/xcursor.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-27 16:01:42 +0200
committerSimon Ser <contact@emersion.fr>2022-05-27 16:01:42 +0200
commitc2a150f7c253c65d376821df900fbe42b89c7e94 (patch)
tree07160e42d87652cba89020fddce47a656c7544c7 /cursor/xcursor.c
parentbuild: bump to version 1.20.91 for the alpha release (diff)
downloadwayland-c2a150f7c253c65d376821df900fbe42b89c7e94.tar
wayland-c2a150f7c253c65d376821df900fbe42b89c7e94.tar.gz
wayland-c2a150f7c253c65d376821df900fbe42b89c7e94.tar.bz2
wayland-c2a150f7c253c65d376821df900fbe42b89c7e94.tar.lz
wayland-c2a150f7c253c65d376821df900fbe42b89c7e94.tar.xz
wayland-c2a150f7c253c65d376821df900fbe42b89c7e94.tar.zst
wayland-c2a150f7c253c65d376821df900fbe42b89c7e94.zip
cursor: remove xcursor_file_load_images wrapper
It's just calling xcursor_xc_file_load_images. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'cursor/xcursor.c')
-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);