Commit e0fddc24 authored by Clint Rogers's avatar Clint Rogers

Proposed patch would close #4469 by working around a binding problem and...

Proposed patch would close #4469 by working around a binding problem and changing a single GLib call from a deprecated function to an allowed one.
parent 2eba1218
......@@ -9,7 +9,7 @@ ifndef VALAC
VALAC := valac
endif
VALAC_VERSION := `$(VALAC) --version | awk '{print $$2}'`
MIN_VALAC_VERSION := 0.14.1
MIN_VALAC_VERSION := 0.15.0
INSTALL_PROGRAM := install
INSTALL_DATA := install -m 644
......@@ -109,6 +109,7 @@ THUMBNAILER_SRC_FILES = \
shotwell-video-thumbnailer.vala
VAPI_FILES = \
gdk-3.0.vapi \
unique-3.0.vapi \
webkitgtk-3.0.vapi \
libexif.vapi \
......
......@@ -500,7 +500,7 @@ private class ExtendedPropertiesWindow : Gtk.Dialog {
add_line(_("Location:"), (file_path != "" && file_path != null) ? file_path : NO_VALUE);
add_line(_("File size:"), (filesize > 0) ?
format_size_for_display((int64) filesize) : NO_VALUE);
format_size((int64) filesize) : NO_VALUE);
add_line(_("Original dimensions:"), (original_dim != null && original_dim.has_area()) ?
"%d × %d".printf(original_dim.width, original_dim.height) : NO_VALUE);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment