comparison src/themes.c @ 4341:3ba910921aa0

[gaim-migrate @ 4605] This creates ~/.gaim/smileys automatically. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 18 Jan 2003 18:18:50 +0000
parents 6c1230d15958
children 5fb47ec9bfe4
comparison
equal deleted inserted replaced
4340:f418708d4184 4341:3ba910921aa0
23 #include "ui.h" 23 #include "ui.h"
24 #include "gtkimhtml.h" 24 #include "gtkimhtml.h"
25 #include <stdio.h> 25 #include <stdio.h>
26 #include <string.h> 26 #include <string.h>
27 #include <ctype.h> 27 #include <ctype.h>
28 #include <sys/stat.h>
28 #include "gaim.h" 29 #include "gaim.h"
29 30
30 #ifdef _WIN32 31 #ifdef _WIN32
31 #include "win32dep.h" 32 #include "win32dep.h"
32 #endif 33 #endif
224 smiley_themes = g_slist_append(smiley_themes, smile); 225 smiley_themes = g_slist_append(smiley_themes, smile);
225 } 226 }
226 g_free(path); 227 g_free(path);
227 } 228 }
228 g_dir_close(dir); 229 g_dir_close(dir);
229 } 230 } else if (l == 1) {
231 mkdir(probedirs[l], S_IRUSR | S_IWUSR | S_IXUSR);
232 }
230 g_free(probedirs[l]); 233 g_free(probedirs[l]);
231 } 234 }
232 235
233 236
234 237