fast-user-switch-applet r527 - in trunk: . src
- From: wbolster svn gnome org
- To: svn-commits-list gnome org
- Subject: fast-user-switch-applet r527 - in trunk: . src
- Date: Sun, 20 Jul 2008 15:38:22 +0000 (UTC)
Author: wbolster
Date: Sun Jul 20 15:38:21 2008
New Revision: 527
URL: http://svn.gnome.org/viewvc/fast-user-switch-applet?rev=527&view=rev
Log:
2008-07-20 Wouter Bolsterlee <wbolster svn gnome org>
* src/fusa-manager.c (check_user_file): fix build by
including <glib/gstdio.h> and using g_stat() instead of
stat().
Modified:
trunk/ChangeLog
trunk/src/fusa-manager.c
Modified: trunk/src/fusa-manager.c
==============================================================================
--- trunk/src/fusa-manager.c (original)
+++ trunk/src/fusa-manager.c Sun Jul 20 15:38:21 2008
@@ -21,6 +21,7 @@
#include <config.h>
+#include <glib/gstdio.h>
#include <glib/gi18n.h>
#include <sys/types.h>
@@ -572,7 +573,7 @@
max_file_size = G_MAXSIZE;
/* Exists/Readable? */
- if (stat (filename, &fileinfo) < 0)
+ if (g_stat (filename, &fileinfo) < 0)
return FALSE;
/* Is a regular file */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]