Browse Source

chore: Fix new clippy warnings

merge-requests/1714/head
Kévin Commaille 2 years ago
parent
commit
60fdd7fa78
No known key found for this signature in database
GPG Key ID: C971D9DBC9D678D
  1. 2
      src/session/model/session.rs
  2. 2
      src/session/model/session_settings.rs

2
src/session/model/session.rs

@ -424,7 +424,7 @@ impl Session {
Ok(glib::Object::builder()
.property("info", &stored_session)
.property("settings", settings)
.property("client", &BoxedClient(client))
.property("client", BoxedClient(client))
.build())
}

2
src/session/model/session_settings.rs

@ -152,7 +152,7 @@ impl SessionSettings {
pub fn new(session_id: &str) -> Self {
glib::Object::builder()
.property("session-id", session_id)
.property("stored-settings", &StoredSessionSettings::default())
.property("stored-settings", StoredSessionSettings::default())
.build()
}

Loading…
Cancel
Save