summaryrefslogtreecommitdiff
path: root/gio/gpollableoutputstream.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-27 22:54:32 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-27 22:54:32 -0500
commite644b29190aaec2cb2239d2541144e313e293020 (patch)
tree8d7e64b272b0a54ee6674719e30fb7c2bebbafbc /gio/gpollableoutputstream.c
parentcc5578fbd73ac3845daaa098601640a41cc8586a (diff)
downloadglib-e644b29190aaec2cb2239d2541144e313e293020.tar.gz
Use g_set_error_literal where appropriate
Diffstat (limited to 'gio/gpollableoutputstream.c')
-rw-r--r--gio/gpollableoutputstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gpollableoutputstream.c b/gio/gpollableoutputstream.c
index 7879e8839..224c6cebe 100644
--- a/gio/gpollableoutputstream.c
+++ b/gio/gpollableoutputstream.c
@@ -151,8 +151,8 @@ g_pollable_output_stream_default_write_nonblocking (GPollableOutputStream *stre
{
if (!g_pollable_output_stream_is_writable (stream))
{
- g_set_error (error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK,
- g_strerror (EAGAIN));
+ g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK,
+ g_strerror (EAGAIN));
return -1;
}