diff options
author | Christian Persch <chpe@gnome.org> | 2010-09-23 13:02:50 +0200 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2010-11-03 14:25:35 +0100 |
commit | 9e0c07870af1dac84c033031cf301671779c8328 (patch) | |
tree | 70354004512aad7d289ea30a031afdede65f694c /gio/gfileoutputstream.c | |
parent | 63b87b2c26bf983823f83943b8d752bd053ce539 (diff) | |
download | glib-9e0c07870af1dac84c033031cf301671779c8328.tar.gz |
Use g_simple_async_result_{new_,}take_error
Bug #633685.
Diffstat (limited to 'gio/gfileoutputstream.c')
-rw-r--r-- | gio/gfileoutputstream.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gio/gfileoutputstream.c b/gio/gfileoutputstream.c index b3e16ecf2..735b6d8fc 100644 --- a/gio/gfileoutputstream.c +++ b/gio/gfileoutputstream.c @@ -524,10 +524,7 @@ query_info_async_thread (GSimpleAsyncResult *res, _("Stream doesn't support query_info")); if (info == NULL) - { - g_simple_async_result_set_from_error (res, error); - g_error_free (error); - } + g_simple_async_result_take_error (res, error); else data->info = info; } |