diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 14:54:15 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 14:54:15 +0000 |
commit | 33d1f9a219083fb215e322e1519300ba5fcd8e1e (patch) | |
tree | ef6ab3cc52edddffc6efbde12ccfabbcf3ebd86e /daemon/gvfsjobqueryattributes.c | |
parent | 303d63e811693ce7a33f0f5dc9594dab550ff73c (diff) | |
download | gvfs-33d1f9a219083fb215e322e1519300ba5fcd8e1e.tar.gz |
Make GFileAttributeInfoList refcounted
Original git commit by Alexander Larsson <alexl@redhat.com> at 1188205283 +0200
svn path=/trunk/; revision=801
Diffstat (limited to 'daemon/gvfsjobqueryattributes.c')
-rw-r--r-- | daemon/gvfsjobqueryattributes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gvfsjobqueryattributes.c b/daemon/gvfsjobqueryattributes.c index ae3b1d2c..5d62a1c8 100644 --- a/daemon/gvfsjobqueryattributes.c +++ b/daemon/gvfsjobqueryattributes.c @@ -30,7 +30,7 @@ g_vfs_job_query_attributes_finalize (GObject *object) g_free (job->filename); if (job->list) - g_file_attribute_info_list_free (job->list); + g_file_attribute_info_list_unref (job->list); if (G_OBJECT_CLASS (g_vfs_job_query_attributes_parent_class)->finalize) (*G_OBJECT_CLASS (g_vfs_job_query_attributes_parent_class)->finalize) (object); @@ -145,7 +145,7 @@ void g_vfs_job_query_attributes_set_list (GVfsJobQueryAttributes *job, GFileAttributeInfoList *list) { - job->list = g_file_attribute_info_list_dup (list); + job->list = g_file_attribute_info_list_ref (list); } /* Might be called on an i/o thread */ |