summaryrefslogtreecommitdiff
path: root/src/Photo.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:49 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:49 +0100
commit394326a81d1248bbc5b1a35a8ae623c65ef6a9ea (patch)
tree315f7cf2a7934b0ecf45ac2caa3c87949a90dfc4 /src/Photo.vala
parent918f560d56129ed03f19d843ea2efd7cb4b23821 (diff)
parent87ba373882f475f02a524a120b59ea9fcccf14e5 (diff)
Update upstream source from tag 'upstream/0.32.3'
Update to upstream version '0.32.3' with Debian dir e5e2a77e8650a79f6e85cccb15c070434b0fd667
Diffstat (limited to 'src/Photo.vala')
-rw-r--r--src/Photo.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Photo.vala b/src/Photo.vala
index 34cfedf..f636a32 100644
--- a/src/Photo.vala
+++ b/src/Photo.vala
@@ -3808,6 +3808,7 @@ public abstract class Photo : PhotoSource, Dateable, Positionable {
if (ext == null || !file_format.get_properties().is_recognized_extension(ext))
ext = file_format.get_properties().get_default_extension();
+ // TRANSLATORS: "modified" here is part of a file name that was changed with another image tool outside of Shotwell. Note that there are potential issues with UTF-8 characters
string editable_basename = "%s_%s.%s".printf(name, _("modified"), ext);
bool collision;
@@ -4837,7 +4838,7 @@ public class LibraryPhotoSourceCollection : MediaSourceCollection {
assert(source_id.has_prefix(Photo.TYPENAME));
string numeric_only = source_id.substring(Photo.TYPENAME.length, -1);
- return fetch_by_numeric_id(parse_int64(numeric_only, 16));
+ return fetch_by_numeric_id(int64.parse(numeric_only, 16));
}
public override Gee.Collection<string> get_event_source_ids(EventID event_id){