summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobsetattribute.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:15:59 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:15:59 +0000
commitbae049c6a39fd2df974f30ff78c9298f0720b262 (patch)
tree73846e659cfec48ee60830e9fead46149fcf16d0 /daemon/gvfsjobsetattribute.c
parent33ed3e29960b37a92f21763c8659b6092c2b9145 (diff)
downloadgvfs-bae049c6a39fd2df974f30ff78c9298f0720b262.tar.gz
Remove g_file_attribute_value_destroy (replace with clear)
Add const attributes in GFileAttributeValue methods Original git commit by Alexander Larsson <alexl@redhat.com> at 1183712949 +0200 svn path=/trunk/; revision=655
Diffstat (limited to 'daemon/gvfsjobsetattribute.c')
-rw-r--r--daemon/gvfsjobsetattribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsjobsetattribute.c b/daemon/gvfsjobsetattribute.c
index 70c3a843..2a1d0020 100644
--- a/daemon/gvfsjobsetattribute.c
+++ b/daemon/gvfsjobsetattribute.c
@@ -30,7 +30,7 @@ g_vfs_job_set_attribute_finalize (GObject *object)
g_free (job->filename);
g_free (job->attribute);
- g_file_attribute_value_destroy (&job->value);
+ g_file_attribute_value_clear (&job->value);
if (G_OBJECT_CLASS (g_vfs_job_set_attribute_parent_class)->finalize)
(*G_OBJECT_CLASS (g_vfs_job_set_attribute_parent_class)->finalize) (object);