image: Use macro for object properties
This commit is contained in:
parent
6594b2caf0
commit
55811a2bb7
6 changed files with 166 additions and 278 deletions
|
|
@ -301,7 +301,7 @@ impl LpPropertiesView {
|
|||
}
|
||||
|
||||
#[template_callback]
|
||||
fn image_size(&self, _image_size: Option<glib::Variant>) -> String {
|
||||
fn image_size(&self, _image_size: bool) -> String {
|
||||
if let Some(image) = self.image() {
|
||||
match image.dimension_details() {
|
||||
ImageDimensionDetails::Svg(string) => string,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue