diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-12-05 12:43:47 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-12-05 12:43:47 +0000 |
commit | 6ba75ff95bbb5fc8751ba4339613378c4e19be04 (patch) | |
tree | d6c59e2a9a386ba6aed43d745c4f2dcd981f3637 /gdk-pixbuf/gdk-pixbuf-animation.h | |
parent | 9350f2c6cf632dd99ff510f769e2acfb7995e059 (diff) | |
download | gtk+-6ba75ff95bbb5fc8751ba4339613378c4e19be04.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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.h b/gdk-pixbuf/gdk-pixbuf-animation.h index bebe819900..43347de651 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); |