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 /src | |
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 'src')
-rw-r--r-- | src/addrbook.c | 2 | ||||
-rw-r--r-- | src/addrcache.c | 4 | ||||
-rw-r--r-- | src/compose.c | 2 | ||||
-rw-r--r-- | src/jpilot.c | 4 | ||||
-rw-r--r-- | src/template.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/addrbook.c b/src/addrbook.c index 95bf6ba5..bcc4cabc 100644 --- a/src/addrbook.c +++ b/src/addrbook.c @@ -1639,7 +1639,7 @@ GList *addrbook_get_bookfile_list( AddressBookFile *book ) { gchar *adbookdir; GDir *dir; const gchar *dir_name; - struct stat statbuf; + GStatBuf statbuf; gchar buf[ WORK_BUFLEN ]; gchar numbuf[ WORK_BUFLEN ]; gint len, lenpre, lensuf, lennum; diff --git a/src/addrcache.c b/src/addrcache.c index eb8116c1..55c7212f 100644 --- a/src/addrcache.c +++ b/src/addrcache.c @@ -192,7 +192,7 @@ void addrcache_free( AddressCache *cache ) { */ gboolean addrcache_check_file( AddressCache *cache, gchar *path ) { gboolean retVal; - struct stat filestat; + GStatBuf filestat; retVal = TRUE; if( path ) { if( 0 == g_stat( path, &filestat ) ) { @@ -208,7 +208,7 @@ gboolean addrcache_check_file( AddressCache *cache, gchar *path ) { */ gboolean addrcache_mark_file( AddressCache *cache, gchar *path ) { gboolean retVal = FALSE; - struct stat filestat; + GStatBuf filestat; if( path ) { if( 0 == g_stat( path, &filestat ) ) { cache->modifyTime = filestat.st_mtime; diff --git a/src/compose.c b/src/compose.c index 9c62e04d..f1aaa65d 100644 --- a/src/compose.c +++ b/src/compose.c @@ -7483,7 +7483,7 @@ static void compose_draft_cb(gpointer data, guint action, GtkWidget *widget) C_UNLOCK(); compose_destroy(compose); } else { - struct stat s; + GStatBuf s; gchar *path; path = folder_item_fetch_msg(draft, msgnum); diff --git a/src/jpilot.c b/src/jpilot.c index c6e3f3ee..9df9916f 100644 --- a/src/jpilot.c +++ b/src/jpilot.c @@ -338,7 +338,7 @@ static gchar *jpilot_get_pc3_file( JPilotFile *pilotFile ) { */ static gboolean jpilot_mark_files( JPilotFile *pilotFile ) { gboolean retVal = FALSE; - struct stat filestat; + GStatBuf filestat; gchar *pcFile; /* Mark PDB file cache */ @@ -365,7 +365,7 @@ static gboolean jpilot_mark_files( JPilotFile *pilotFile ) { */ static gboolean jpilot_check_files( JPilotFile *pilotFile ) { gboolean retVal = TRUE; - struct stat filestat; + GStatBuf filestat; gchar *pcFile; /* Check main file */ diff --git a/src/template.c b/src/template.c index 3e8781fd..f20750d1 100644 --- a/src/template.c +++ b/src/template.c @@ -126,7 +126,7 @@ GSList *template_read_config(void) gchar *filename; GDir *dir; const gchar *dir_name; - struct stat s; + GStatBuf s; Template *tmpl; guint tmplid; GSList *tmpl_list = NULL; |