diff options
author | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2021-11-08 12:55:40 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-11-08 15:43:53 +0300 |
commit | 82be7b3ac5911dd8b8cb13b3394f3159e57d6e3f (patch) | |
tree | e7e41d720aa7846d123734e7b8ad1ab42f2c82c0 /text/wrap | |
parent | d9bda62a4720c0539a443a4e489645e9bb4af1eb (diff) |
adapt to ObjectExt improvements
Diffstat (limited to 'text/wrap')
-rw-r--r-- | text/wrap/tests/textwrap.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/text/wrap/tests/textwrap.rs b/text/wrap/tests/textwrap.rs index 73658d401..b399156c2 100644 --- a/text/wrap/tests/textwrap.rs +++ b/text/wrap/tests/textwrap.rs @@ -39,7 +39,7 @@ fn test_columns() { { let wrap = h.element().expect("Could not create textwrap"); - wrap.set_property("columns", 5u32).unwrap(); + wrap.set_property("columns", 5u32); } h.set_src_caps_str("text/x-raw, format=utf8"); @@ -77,8 +77,8 @@ fn test_lines() { { let wrap = h.element().expect("Could not create textwrap"); - wrap.set_property("columns", 5u32).unwrap(); - wrap.set_property("lines", 2u32).unwrap(); + wrap.set_property("columns", 5u32); + wrap.set_property("lines", 2u32); } h.set_src_caps_str("text/x-raw, format=utf8"); |