upgrade gtk-rs version
This commit is contained in:
parent
0b5f6b8386
commit
cc577b1367
23 changed files with 401 additions and 317 deletions
|
|
@ -14,11 +14,7 @@ impl SearchResultObject {
|
|||
}
|
||||
|
||||
pub fn data(&self) -> Option<pop_launcher::SearchResult> {
|
||||
if let Ok(data) = self.property("data") {
|
||||
if let Ok(search_result) = data.get::<BoxedSearchResult>() {
|
||||
return search_result.0;
|
||||
}
|
||||
}
|
||||
None
|
||||
let search_result = self.property::<BoxedSearchResult>("data");
|
||||
return search_result.0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue