[gnome-launch-box] dropped the gnomevfs include from the bookmarks module
- From: Sven Herzberg <herzi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-launch-box] dropped the gnomevfs include from the bookmarks module
- Date: Thu, 11 Feb 2010 13:35:41 +0000 (UTC)
commit 4c90a5d460f3cc1c4455b8e967a48740a352cfe4
Author: Sven Herzberg <herzi gnome-de org>
Date: Tue Feb 9 15:08:09 2010 +0100
dropped the gnomevfs include from the bookmarks module
* src/lb-module-bookmarks.c: dropped that include
src/lb-module-bookmarks.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/lb-module-bookmarks.c b/src/lb-module-bookmarks.c
index 8c1295f..681dc46 100644
--- a/src/lb-module-bookmarks.c
+++ b/src/lb-module-bookmarks.c
@@ -27,7 +27,9 @@
#include <string.h>
#include <gtk/gtk.h>
-#include <libgnomevfs/gnome-vfs-file-info.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
#include "lb-action.h"
#include "lb-bookmark-list.h"
@@ -153,6 +155,8 @@ lb_module_bookmarks_file_changed (const char *filename, time_t mtime)
{
struct stat buf;
+ /* FIXME: use GFile */
+
if (stat (filename, &buf) < 0) {
if (mtime == -1)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]