projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use g_simple_async_result_{new_,}take_error
[platform/upstream/glib.git]
/
gio
/
gfileoutputstream.c
diff --git
a/gio/gfileoutputstream.c
b/gio/gfileoutputstream.c
index
b3e16ec
..
735b6d8
100644
(file)
--- 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;
}