summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-animation.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2004-12-05 12:43:47 +0000
committerTor Lillqvist <tml@src.gnome.org>2004-12-05 12:43:47 +0000
commit141506eb46927eb10b74bc24727488bdbde1c7d4 (patch)
treed72a6b54bd53321d76840aa7fd5f3741948fdd07 /gdk-pixbuf/gdk-pixbuf-animation.h
parent55f6edcf0eeaba8f5b9b1e4ec286889c269d8be9 (diff)
downloadgdk-pixbuf-141506eb46927eb10b74bc24727488bdbde1c7d4.tar.gz
gdk-pixbuf-animation.c gdk-pixbuf-io.c io-xbm.c io-xpm.c
2004-12-05 Tor Lillqvist <tml@iki.fi> * gdk-pixbuf-animation.c * gdk-pixbuf-io.c * io-xbm.c * io-xpm.c * make-inline-pixbuf.c * queryloaders.c: Use gstdio wrappers. Document that file names are in the GLib file name encoding. * gdk-pixbuf-csource.c * queryloaders.c: On Windows, convert command line arguments and environment variable values from locale encoding to UTF-8. * queryloaders.c: On Windows, use wide character API when available. * Makefile.am * gdk-pixbuf-core.h * gdk-pixbuf-io.c * gdk-pixbuf-animation.h * gdk-pixbuf-animation.c: Like in GLib, for DLL ABI stability on Windows, add binary compatibility versions of functions that take file names as arguments. They use the system codepage, not GLib file name encoding (which is UTF-8 on Windows). Use #defines to make newly compiled code use the "real" functions that use the GLib file name encoding scheme.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-animation.h')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.h b/gdk-pixbuf/gdk-pixbuf-animation.h
index bebe81990..43347de65 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.h
+++ b/gdk-pixbuf/gdk-pixbuf-animation.h
@@ -48,6 +48,10 @@ typedef struct _GdkPixbufAnimationIter GdkPixbufAnimationIter;
GType gdk_pixbuf_animation_get_type (void) G_GNUC_CONST;
+#ifdef G_OS_WIN32
+#define gdk_pixbuf_animation_new_from_file gdk_pixbuf_animation_new_from_file_utf8
+#endif
+
GdkPixbufAnimation *gdk_pixbuf_animation_new_from_file (const char *filename,
GError **error);