code: Replace many uses of GtkExpressions

Closes #276, #100
This commit is contained in:
Sophie Herold 2023-12-02 22:07:33 +01:00
parent 50450ad359
commit c36e7f4eb6
6 changed files with 279 additions and 458 deletions

View file

@ -46,6 +46,10 @@ impl LpImageMetadata {
pub fn gps_location(&self) -> Option<GPSLocation> {
self.imp().metadata.borrow().gps_location()
}
pub fn src(&self) -> std::cell::Ref<super::ImageMetadata> {
self.imp().metadata.borrow()
}
}
impl From<ImageMetadata> for LpImageMetadata {