comparison src/gtkprefs.c @ 10203:7ff9b8b22e7d

[gaim-migrate @ 11324] gaim_mkstemp can now create binary files committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Thu, 18 Nov 2004 17:05:40 +0000
parents 4085b2cda8f1
children bf1ebc8f3bf3
comparison
equal deleted inserted replaced
10202:ddf002ce58b6 10203:7ff9b8b22e7d
528 theme_got_url(void *data, const char *themedata, size_t len) 528 theme_got_url(void *data, const char *themedata, size_t len)
529 { 529 {
530 FILE *f; 530 FILE *f;
531 gchar *path; 531 gchar *path;
532 532
533 f = gaim_mkstemp(&path); 533 f = gaim_mkstemp(&path, TRUE);
534 fwrite(themedata, len, 1, f); 534 fwrite(themedata, len, 1, f);
535 fclose(f); 535 fclose(f);
536 536
537 theme_install_theme(path, data); 537 theme_install_theme(path, data);
538 538