[librsvg/bilelmoussaoui/new-gtk-rs-stack] tests: fix broken API usage
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/bilelmoussaoui/new-gtk-rs-stack] tests: fix broken API usage
- Date: Tue, 7 Dec 2021 20:03:41 +0000 (UTC)
commit 8a48761c5233b5f24ef66d90e05a346914603f3a
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Tue Dec 7 21:02:54 2021 +0100
tests: fix broken API usage
tests/src/bugs.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/src/bugs.rs b/tests/src/bugs.rs
index c495c4cd..2f5927df 100644
--- a/tests/src/bugs.rs
+++ b/tests/src/bugs.rs
@@ -498,7 +498,8 @@ fn can_draw_to_non_image_surface() {
height: 200.0,
};
- let output = cairo::RecordingSurface::create(cairo::Content::ColorAlpha, viewport).unwrap();
+ let output =
+ cairo::RecordingSurface::create(cairo::Content::ColorAlpha, Some(viewport)).unwrap();
let cr = cairo::Context::new(&output).expect("Failed to create a cairo context");
renderer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]