Hiroyuki Ikezoe
ikezo****@users*****
Wed Mar 14 12:53:10 JST 2007
Index: kazehakase/src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c diff -u kazehakase/src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c:1.4 kazehakase/src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c:1.5 --- kazehakase/src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c:1.4 Wed Mar 14 11:36:20 2007 +++ kazehakase/src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c Wed Mar 14 12:53:10 2007 @@ -268,7 +268,7 @@ g_return_val_if_fail (size == EGG_PIXBUF_THUMB_NORMAL || size == EGG_PIXBUF_THUMB_LARGE, NULL); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); - if (stat (filename, &st) < 0) + if (g_stat (filename, &st) < 0) { gchar *utf8_filename; @@ -1570,7 +1570,7 @@ static gboolean ensure_one_dir (const gchar *path, GError **error) { - if (!g_file_test (path, G_FILE_TEST_IS_DIR) && mkdir (path, 0700) < 0) + if (!g_file_test (path, G_FILE_TEST_IS_DIR) && g_mkdir (path, 0700) < 0) { gchar *utf8_path;