diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-04-18 08:13:07 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-04-18 08:13:07 +0000 |
commit | 125a300931300ed5ed24c27a7f4f3479d895b790 (patch) | |
tree | 86fa0b10e6df02e670a3ec5a9ad594212f50a901 /libsylph/mh.c | |
parent | c554190ffe6ade73009846ba6729bb79413c5346 (diff) |
replaced 'struct stat' with GStatBuf.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3389 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/mh.c')
-rw-r--r-- | libsylph/mh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsylph/mh.c b/libsylph/mh.c index e30c0078..c1f06797 100644 --- a/libsylph/mh.c +++ b/libsylph/mh.c @@ -937,7 +937,7 @@ static gint mh_remove_all_msg(Folder *folder, FolderItem *item) static gboolean mh_is_msg_changed(Folder *folder, FolderItem *item, MsgInfo *msginfo) { - struct stat s; + GStatBuf s; gchar buf[16]; if (g_stat(utos_buf(buf, msginfo->msgnum), &s) < 0 || @@ -1460,7 +1460,7 @@ static gint mh_remove_folder(Folder *folder, FolderItem *item) static time_t mh_get_mtime(FolderItem *item) { gchar *path; - struct stat s; + GStatBuf s; path = folder_item_get_path(item); if (g_stat(path, &s) < 0) { @@ -1676,7 +1676,7 @@ static void mh_scan_tree_recursive(FolderItem *item) #else DIR *dp; struct dirent *d; - struct stat s; + GStatBuf s; #endif const gchar *dir_name; gchar *fs_path; |