diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-06-25 12:28:49 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-06-25 21:00:37 +0200 |
commit | 10abe67d01e5d0845727446471159ed02584547d (patch) | |
tree | 68074d3c0a98bf1f02e807b0c29c85a24a9ce090 /common/gvfsfileinfo.c | |
parent | 48842732168909ce3b4c9136a28c2e5a5a25d98b (diff) |
(de)marshal the attribute status in GFileInfo
Diffstat (limited to 'common/gvfsfileinfo.c')
-rw-r--r-- | common/gvfsfileinfo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/gvfsfileinfo.c b/common/gvfsfileinfo.c index aef5bd50..b0ace11d 100644 --- a/common/gvfsfileinfo.c +++ b/common/gvfsfileinfo.c @@ -230,9 +230,6 @@ gvfs_file_info_demarshal (char *data, type = g_data_input_stream_read_byte (in, NULL, NULL); status = g_data_input_stream_read_byte (in, NULL, NULL); - /* TODO: There is no way to set the status. This is required for - g_file_set_attributes_from_info() */ - switch (type) { case G_FILE_ATTRIBUTE_TYPE_STRING: @@ -310,6 +307,7 @@ gvfs_file_info_demarshal (char *data, goto out; break; } + g_file_info_set_attribute_status (info, attr, status); g_free (attr); } |