blob: 6ab92dd9c6c1545130da3feb69a8c23533643d6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- src/db/PhotoTable.vala.orig
+++ src/db/PhotoTable.vala
@@ -1034,8 +1034,7 @@
if (filesize != info.get_size())
return false;
- TimeVal modification;
- info.get_modification_time(out modification);
+ TimeVal modification = info.get_modification_time();
return timestamp == modification.tv_sec;
}
@@ -1044,8 +1043,7 @@
if (filesize != info.get_size())
return false;
- TimeVal modification;
- info.get_modification_time(out modification);
+ TimeVal modification = info.get_modification_time();
return timestamp != modification.tv_sec;
}
|