[gdk-pixbuf] io: Fix build after pixdata IO changes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] io: Fix build after pixdata IO changes
- Date: Mon, 19 Dec 2016 16:28:35 +0000 (UTC)
commit c7b58acd3b157512407bc85497cd9cd2da40ab3c
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 19 17:25:03 2016 +0100
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.
gdk-pixbuf/gdk-pixbuf-animation.c | 2 +-
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 33c9d9c..e567da4 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 30f65c5..882a857 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]