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 | 141506eb46927eb10b74bc24727488bdbde1c7d4 (patch) | |
tree | d72a6b54bd53321d76840aa7fd5f3741948fdd07 /gdk-pixbuf/io-xpm.c | |
parent | 55f6edcf0eeaba8f5b9b1e4ec286889c269d8be9 (diff) | |
download | gdk-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/io-xpm.c')
-rw-r--r-- | gdk-pixbuf/io-xpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c index f8267d5b7..2125b9c45 100644 --- a/gdk-pixbuf/io-xpm.c +++ b/gdk-pixbuf/io-xpm.c @@ -34,7 +34,7 @@ #include <errno.h> #include "gdk-pixbuf-private.h" #include "gdk-pixbuf-io.h" - +#include <glib/gstdio.h> /* I have must have done something to deserve this. @@ -1499,7 +1499,7 @@ gdk_pixbuf__xpm_image_stop_load (gpointer data, } fclose (context->file); - unlink (context->tempname); + g_unlink (context->tempname); g_free (context->tempname); g_free ((XPMContext *) context); |