summaryrefslogtreecommitdiff
path: root/client/gdaemonfile.c
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2008-06-16 08:51:18 +0000
committerRoss Burton <rburton@src.gnome.org>2008-06-16 08:51:18 +0000
commit0d8026356b42b2f90172e02d68d439078bee3188 (patch)
tree0a7a23f02ec2870587e6e9a82cd68dab9b0ab19b /client/gdaemonfile.c
parent528012756d3ee5a6e69b3701fcb16972f3b7c6f6 (diff)
downloadgvfs-0d8026356b42b2f90172e02d68d439078bee3188.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 * client/gdaemonfile.c: * client/gdaemonfileenumerator.c: * client/gdaemonfileenumerator.h: Pass the GFile to the file enumerator constructor and use it to set the container property. (Requires glib r7044) svn path=/trunk/; revision=1810
Diffstat (limited to 'client/gdaemonfile.c')
-rw-r--r--client/gdaemonfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index a191b4ce..e9014919 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -709,7 +709,7 @@ g_daemon_file_enumerate_children (GFile *file,
DBusConnection *connection;
char *uri;
- enumerator = g_daemon_file_enumerator_new ();
+ enumerator = g_daemon_file_enumerator_new (file);
obj_path = g_daemon_file_enumerator_get_object_path (enumerator);
@@ -2425,7 +2425,7 @@ g_daemon_file_enumerate_children_async (GFile *file,
GDaemonFileEnumerator *enumerator;
char *uri;
- enumerator = g_daemon_file_enumerator_new ();
+ enumerator = g_daemon_file_enumerator_new (file);
obj_path = g_daemon_file_enumerator_get_object_path (enumerator);
uri = g_file_get_uri (file);