summaryrefslogtreecommitdiff
path: root/gio/gfile.h
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2008-06-16 08:49:08 +0000
committerRoss Burton <rburton@src.gnome.org>2008-06-16 08:49:08 +0000
commit3480685d4e5a022530a07464fc20d10b45b3b358 (patch)
tree79b83aaf924cb99ae8915ecdaac72ad79b7fe923 /gio/gfile.h
parentdd24f9957ccc4c8315c620d8ff1464c48430933f (diff)
downloadglib-3480685d4e5a022530a07464fc20d10b45b3b358.tar.gz
Bug 536252 – GFileEnumerator should allow access to the containing GFile
2008-06-16 Ross Burton <ross@burtonini.com> Bug 536252 – GFileEnumerator should allow access to the containing GFile * gio/gfileenumerator.c: * gio/gfileenumerator.h: * gio/gfile.h: Add g_file_enumerator_get_container() and a container writeable construct-only property. Also shuffle around typedefs to make it compile. * gio/glocalfileenumerator.c: * gio/glocalfileenumerator.h: * gio/glocalfile.c: Instead of a string filename take a GFile in the constructor and use it to set the container property. * gio/gio.symbols: * docs/reference/gio/gio-sections.txt: Update with new API. svn path=/trunk/; revision=7044
Diffstat (limited to 'gio/gfile.h')
-rw-r--r--gio/gfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gfile.h b/gio/gfile.h
index 2b9f35edd..711b01a51 100644
--- a/gio/gfile.h
+++ b/gio/gfile.h
@@ -124,6 +124,7 @@ typedef enum {
G_FILE_MONITOR_WATCH_MOUNTS = (1<<0)
} GFileMonitorFlags;
+#if 0
/**
* GFile:
*
@@ -132,6 +133,7 @@ typedef enum {
* necessarily represent files or directories that currently exist.
**/
typedef struct _GFile GFile; /* Dummy typedef */
+#endif
typedef struct _GFileIface GFileIface;
typedef struct _GFileMonitor GFileMonitor;