mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 03:45:49 +01:00
sleepy-stream test: use a real GError domain
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Matthias Clasen <mclasen@redhat.com> Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371
This commit is contained in:
parent
e60e4999b9
commit
7aad93c5b4
@ -100,7 +100,7 @@ sleepy_stream_read (GInputStream *stream,
|
|||||||
{
|
{
|
||||||
if (sleepy->built_to_fail)
|
if (sleepy->built_to_fail)
|
||||||
{
|
{
|
||||||
g_set_error (error, 0, 0, "fail");
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "fail");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user