diff src/gtkthemes.c @ 10589:0f7452b1f777

[gaim-migrate @ 11994] Use GLib 2.6's gstdio functions. This should fix gaim not liking non-ascii filenames in win32. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 11 Feb 2005 05:10:40 +0000
parents 0cf2a686266e
children b47708f46a38
line wrap: on
line diff
--- a/src/gtkthemes.c	Fri Feb 11 03:51:26 2005 +0000
+++ b/src/gtkthemes.c	Fri Feb 11 05:10:40 2005 +0000
@@ -62,7 +62,7 @@
 
 void load_smiley_theme(const char *file, gboolean load)
 {
-	FILE *f = fopen(file, "r");
+	FILE *f = g_fopen(file, "r");
 	char buf[256];
 	char *i;
 	struct smiley_theme *theme=NULL;
@@ -232,7 +232,7 @@
 			}
 			g_dir_close(dir);
 		} else if (l == 1) {
-			mkdir(probedirs[l], S_IRUSR | S_IWUSR | S_IXUSR);
+			g_mkdir(probedirs[l], S_IRUSR | S_IWUSR | S_IXUSR);
 		}
 		g_free(probedirs[l]);
 	}