summaryrefslogtreecommitdiff
path: root/src/cairo-svg-surface.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2021-07-24 14:42:26 +0200
committerUli Schlachter <psychon@znc.in>2021-07-24 14:42:26 +0200
commit4c6b604bd512c2619c69c7f2afb9481ab756bf85 (patch)
tree9be2d5980a03c1204367ee6346241ff1d2202483 /src/cairo-svg-surface.c
parent994eccefc0a778d291a8dbbb4143280b38a7ad80 (diff)
downloadcairo-4c6b604bd512c2619c69c7f2afb9481ab756bf85.tar.gz
svg: Fix create-for-stream test case
Commit 2fbd53 added another test to create-for-stream that failed for cairo-pdf. Manual testing shows that this test also fails for cairo-svg. However, this was not noticed because even before this addition to the test, create-for-stream already failed for cairo-svg. Since the introduction on CI was done based on "let's ignore all current failures", this hid the error. This commit applies the trivial fix for cairo-svg to make this test pass. It is basically the same error that cairo-pdf had. Additionally, this removes the hack to ignore create-for-stream failures in CI since it is now no longer necessary. Thanks to Knut Peterson for reporting this [0]. [0]: https://lists.cairographics.org/archives/cairo/2021-July/029291.html Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-svg-surface.c')
-rw-r--r--src/cairo-svg-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index 8baeecfc2..4abad60c1 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -4387,7 +4387,7 @@ _cairo_svg_document_finish (cairo_svg_document_t *document)
final_status = status;
}
- return CAIRO_STATUS_SUCCESS;
+ return final_status;
}
static cairo_int_status_t