aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/addrbook.c2
-rw-r--r--src/addrcache.c4
-rw-r--r--src/compose.c2
-rw-r--r--src/jpilot.c4
-rw-r--r--src/template.c2
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;