mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
cursor: remove xcursor_file_load_images wrapper
It's just calling xcursor_xc_file_load_images. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
73d4d2410e
commit
c2a150f7c2
1 changed files with 1 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue