diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-12-19 17:25:03 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-12-19 17:25:53 +0100 |
commit | c7b58acd3b157512407bc85497cd9cd2da40ab3c (patch) | |
tree | 3976e4dc44c9b92c524fa1f20fa5dc062ca31764 | |
parent | 0af5d60d0247e49ac6cc76f8b0c2af36bd20d391 (diff) | |
download | gdk-pixbuf-c7b58acd3b157512407bc85497cd9cd2da40ab3c.tar.gz |
io: Fix build after pixdata IO changes
Commit 0af5d60 changed the name of the internal "try_mmap" helper, and
didn't change some of the callers.
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-animation.c | 2 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-private.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c index 33c9d9c72..e567da403 100644 --- a/gdk-pixbuf/gdk-pixbuf-animation.c +++ b/gdk-pixbuf/gdk-pixbuf-animation.c @@ -498,7 +498,7 @@ gdk_pixbuf_animation_new_from_resource (const gchar *resource_path, GdkPixbufAnimation *anim; GdkPixbuf *pixbuf; - pixbuf = _gdk_pixbuf_new_from_resource_try_mmap (resource_path); + pixbuf = _gdk_pixbuf_new_from_resource_try_pixdata (resource_path); if (pixbuf) { anim = gdk_pixbuf_non_anim_new (pixbuf); g_object_unref (pixbuf); diff --git a/gdk-pixbuf/gdk-pixbuf-private.h b/gdk-pixbuf/gdk-pixbuf-private.h index 30f65c507..882a857dc 100644 --- a/gdk-pixbuf/gdk-pixbuf-private.h +++ b/gdk-pixbuf/gdk-pixbuf-private.h @@ -111,7 +111,7 @@ GdkPixbufFormat *_gdk_pixbuf_get_format (GdkPixbufModule *image_module); #endif /* GDK_PIXBUF_ENABLE_BACKEND */ -GdkPixbuf * _gdk_pixbuf_new_from_resource_try_mmap (const char *resource_path); +GdkPixbuf * _gdk_pixbuf_new_from_resource_try_pixdata (const char *resource_path); GdkPixbufLoader *_gdk_pixbuf_loader_new_with_filename (const char *filename); void _gdk_pixbuf_init_gettext (void); |