Re: gdk-pixbuf: *no* save xpm patch
- From: Tor Lillqvist <tml iki fi>
- To: gtk-devel-list gnome org
- Subject: Re: gdk-pixbuf: *no* save xpm patch
- Date: Wed, 1 Nov 2000 10:53:06 +0200 (EET)
> context->tempname = g_strdup ("/tmp/gdkpixbuf-xpm-tmp.XXXXXX");
Also here we should use g_get_tmp_dir() and not hardcode /tmp. Plus
the G_DIR_SEPARATOR stuff, and avoid double separators, as in
io-tiff.c.
Maybe GLib should have a g_mkstemp_in_tmp_dir(void) (or whatever) that
would handle the naming of the file and locating it in the preferred
temp directory?
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]