src/gtkprefs.c

changeset 10203
21d6c11a53c6
parent 10182
960939362f7f
child 10272
29aff2eb9290
equal deleted inserted replaced
10202:a1efe4d4f209 10203:21d6c11a53c6
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

mercurial