fix clippy warnings

This commit is contained in:
Tom A. Wagner
2023-08-01 09:13:16 +02:00
parent 7a9bc84b8b
commit a9ad1cccf0
6 changed files with 13 additions and 7 deletions

View File

@@ -125,8 +125,8 @@ impl Port {
pub fn new(id: u32, name: &str, direction: Direction, media_type: Option<MediaType>) -> Self {
// Create the widget and initialize needed fields
let res: Self = glib::Object::builder()
.property("pipewire-id", &id)
.property("name", &name)
.property("pipewire-id", id)
.property("name", name)
.build();
let imp = res.imp();