[dia] Use g_utime() rather than utime()



commit 68550de88e71aad553711d52d4418ef641682447
Author: Hans Breuer <hans breuer org>
Date:   Mon Aug 10 12:40:00 2009 +0200

    Use g_utime() rather than utime()

 app/sheets_dialog_callbacks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/sheets_dialog_callbacks.c b/app/sheets_dialog_callbacks.c
index 9b23e06..28d7259 100644
--- a/app/sheets_dialog_callbacks.c
+++ b/app/sheets_dialog_callbacks.c
@@ -1813,7 +1813,7 @@ touch_file(gchar *filename)
   g_stat(filename, &stat_buf);
   utim_buf.actime = stat_buf.st_atime;
   utim_buf.modtime = time(NULL);
-  utime(filename, &utim_buf);
+  g_utime(filename, &utim_buf);
 }
 
 static gint



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]