1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
|
/* Properties.c generated by valac 0.34.1, the Vala compiler
* generated from Properties.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
*
* This software is licensed under the GNU LGPL (version 2.1 or later).
* See the COPYING file in this distribution.
*/
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include <pango/pango.h>
#include <time.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <gio/gio.h>
#define TYPE_PROPERTIES (properties_get_type ())
#define PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROPERTIES, Properties))
#define PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROPERTIES, PropertiesClass))
#define IS_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROPERTIES))
#define IS_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROPERTIES))
#define PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROPERTIES, PropertiesClass))
typedef struct _Properties Properties;
typedef struct _PropertiesClass PropertiesClass;
typedef struct _PropertiesPrivate PropertiesPrivate;
#define TYPE_DATA_OBJECT (data_object_get_type ())
#define DATA_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DATA_OBJECT, DataObject))
#define DATA_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DATA_OBJECT, DataObjectClass))
#define IS_DATA_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DATA_OBJECT))
#define IS_DATA_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DATA_OBJECT))
#define DATA_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DATA_OBJECT, DataObjectClass))
typedef struct _DataObject DataObject;
typedef struct _DataObjectClass DataObjectClass;
#define TYPE_DATA_VIEW (data_view_get_type ())
#define DATA_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DATA_VIEW, DataView))
#define DATA_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DATA_VIEW, DataViewClass))
#define IS_DATA_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DATA_VIEW))
#define IS_DATA_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DATA_VIEW))
#define DATA_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DATA_VIEW, DataViewClass))
typedef struct _DataView DataView;
typedef struct _DataViewClass DataViewClass;
#define TYPE_PAGE (page_get_type ())
#define PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PAGE, Page))
#define PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PAGE, PageClass))
#define IS_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PAGE))
#define IS_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PAGE))
#define PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PAGE, PageClass))
typedef struct _Page Page;
typedef struct _PageClass PageClass;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define TYPE_DATA_COLLECTION (data_collection_get_type ())
#define DATA_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DATA_COLLECTION, DataCollection))
#define DATA_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DATA_COLLECTION, DataCollectionClass))
#define IS_DATA_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DATA_COLLECTION))
#define IS_DATA_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DATA_COLLECTION))
#define DATA_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DATA_COLLECTION, DataCollectionClass))
typedef struct _DataCollection DataCollection;
typedef struct _DataCollectionClass DataCollectionClass;
#define TYPE_VIEW_COLLECTION (view_collection_get_type ())
#define VIEW_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIEW_COLLECTION, ViewCollection))
#define VIEW_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_VIEW_COLLECTION, ViewCollectionClass))
#define IS_VIEW_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_VIEW_COLLECTION))
#define IS_VIEW_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_VIEW_COLLECTION))
#define VIEW_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_VIEW_COLLECTION, ViewCollectionClass))
typedef struct _ViewCollection ViewCollection;
typedef struct _ViewCollectionClass ViewCollectionClass;
#define _data_collection_unref0(var) ((var == NULL) ? NULL : (var = (data_collection_unref (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define TYPE_BASIC_PROPERTIES (basic_properties_get_type ())
#define BASIC_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_BASIC_PROPERTIES, BasicProperties))
#define BASIC_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_BASIC_PROPERTIES, BasicPropertiesClass))
#define IS_BASIC_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_BASIC_PROPERTIES))
#define IS_BASIC_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_BASIC_PROPERTIES))
#define BASIC_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_BASIC_PROPERTIES, BasicPropertiesClass))
typedef struct _BasicProperties BasicProperties;
typedef struct _BasicPropertiesClass BasicPropertiesClass;
typedef struct _BasicPropertiesPrivate BasicPropertiesPrivate;
#define TYPE_DIMENSIONS (dimensions_get_type ())
typedef struct _Dimensions Dimensions;
#define TYPE_DATA_SOURCE (data_source_get_type ())
#define DATA_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DATA_SOURCE, DataSource))
#define DATA_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DATA_SOURCE, DataSourceClass))
#define IS_DATA_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DATA_SOURCE))
#define IS_DATA_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DATA_SOURCE))
#define DATA_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DATA_SOURCE, DataSourceClass))
typedef struct _DataSource DataSource;
typedef struct _DataSourceClass DataSourceClass;
#define TYPE_THUMBNAIL_SOURCE (thumbnail_source_get_type ())
#define THUMBNAIL_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_THUMBNAIL_SOURCE, ThumbnailSource))
#define THUMBNAIL_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_THUMBNAIL_SOURCE, ThumbnailSourceClass))
#define IS_THUMBNAIL_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_THUMBNAIL_SOURCE))
#define IS_THUMBNAIL_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_THUMBNAIL_SOURCE))
#define THUMBNAIL_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_THUMBNAIL_SOURCE, ThumbnailSourceClass))
typedef struct _ThumbnailSource ThumbnailSource;
typedef struct _ThumbnailSourceClass ThumbnailSourceClass;
#define TYPE_MEDIA_SOURCE (media_source_get_type ())
#define MEDIA_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEDIA_SOURCE, MediaSource))
#define MEDIA_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MEDIA_SOURCE, MediaSourceClass))
#define IS_MEDIA_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MEDIA_SOURCE))
#define IS_MEDIA_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MEDIA_SOURCE))
#define MEDIA_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MEDIA_SOURCE, MediaSourceClass))
typedef struct _MediaSource MediaSource;
typedef struct _MediaSourceClass MediaSourceClass;
#define TYPE_PHOTO_SOURCE (photo_source_get_type ())
#define PHOTO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_SOURCE, PhotoSource))
#define PHOTO_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PHOTO_SOURCE, PhotoSourceClass))
#define IS_PHOTO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PHOTO_SOURCE))
#define IS_PHOTO_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PHOTO_SOURCE))
#define PHOTO_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PHOTO_SOURCE, PhotoSourceClass))
typedef struct _PhotoSource PhotoSource;
typedef struct _PhotoSourceClass PhotoSourceClass;
#define TYPE_IMPORT_SOURCE (import_source_get_type ())
#define IMPORT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_IMPORT_SOURCE, ImportSource))
#define IMPORT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_IMPORT_SOURCE, ImportSourceClass))
#define IS_IMPORT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_IMPORT_SOURCE))
#define IS_IMPORT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_IMPORT_SOURCE))
#define IMPORT_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_IMPORT_SOURCE, ImportSourceClass))
typedef struct _ImportSource ImportSource;
typedef struct _ImportSourceClass ImportSourceClass;
#define TYPE_PHOTO_IMPORT_SOURCE (photo_import_source_get_type ())
#define PHOTO_IMPORT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource))
#define PHOTO_IMPORT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSourceClass))
#define IS_PHOTO_IMPORT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PHOTO_IMPORT_SOURCE))
#define IS_PHOTO_IMPORT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PHOTO_IMPORT_SOURCE))
#define PHOTO_IMPORT_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSourceClass))
typedef struct _PhotoImportSource PhotoImportSource;
typedef struct _PhotoImportSourceClass PhotoImportSourceClass;
#define TYPE_MEDIA_METADATA (media_metadata_get_type ())
#define MEDIA_METADATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEDIA_METADATA, MediaMetadata))
#define MEDIA_METADATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MEDIA_METADATA, MediaMetadataClass))
#define IS_MEDIA_METADATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MEDIA_METADATA))
#define IS_MEDIA_METADATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MEDIA_METADATA))
#define MEDIA_METADATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MEDIA_METADATA, MediaMetadataClass))
typedef struct _MediaMetadata MediaMetadata;
typedef struct _MediaMetadataClass MediaMetadataClass;
#define TYPE_PHOTO_METADATA (photo_metadata_get_type ())
#define PHOTO_METADATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_METADATA, PhotoMetadata))
#define PHOTO_METADATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PHOTO_METADATA, PhotoMetadataClass))
#define IS_PHOTO_METADATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PHOTO_METADATA))
#define IS_PHOTO_METADATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PHOTO_METADATA))
#define PHOTO_METADATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PHOTO_METADATA, PhotoMetadataClass))
typedef struct _PhotoMetadata PhotoMetadata;
typedef struct _PhotoMetadataClass PhotoMetadataClass;
#define _media_metadata_unref0(var) ((var == NULL) ? NULL : (var = (media_metadata_unref (var), NULL)))
#define _dimensions_free0(var) ((var == NULL) ? NULL : (var = (dimensions_free (var), NULL)))
#define TYPE_ORIENTATION (orientation_get_type ())
#define PHOTO_TYPE_EXCEPTION (photo_exception_get_type ())
#define TYPE_PHOTO (photo_get_type ())
#define PHOTO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO, Photo))
#define PHOTO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PHOTO, PhotoClass))
#define IS_PHOTO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PHOTO))
#define IS_PHOTO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PHOTO))
#define PHOTO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PHOTO, PhotoClass))
typedef struct _Photo Photo;
typedef struct _PhotoClass PhotoClass;
#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ())
#define TYPE_RAW_DEVELOPER (raw_developer_get_type ())
#define TYPE_EVENT_SOURCE (event_source_get_type ())
#define EVENT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EVENT_SOURCE, EventSource))
#define EVENT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EVENT_SOURCE, EventSourceClass))
#define IS_EVENT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EVENT_SOURCE))
#define IS_EVENT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EVENT_SOURCE))
#define EVENT_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EVENT_SOURCE, EventSourceClass))
typedef struct _EventSource EventSource;
typedef struct _EventSourceClass EventSourceClass;
#define TYPE_VIDEO_SOURCE (video_source_get_type ())
#define VIDEO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIDEO_SOURCE, VideoSource))
#define VIDEO_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_VIDEO_SOURCE, VideoSourceClass))
#define IS_VIDEO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_VIDEO_SOURCE))
#define IS_VIDEO_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_VIDEO_SOURCE))
#define VIDEO_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_VIDEO_SOURCE, VideoSourceClass))
typedef struct _VideoSource VideoSource;
typedef struct _VideoSourceClass VideoSourceClass;
#define TYPE_VIDEO_IMPORT_SOURCE (video_import_source_get_type ())
#define VIDEO_IMPORT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIDEO_IMPORT_SOURCE, VideoImportSource))
#define VIDEO_IMPORT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_VIDEO_IMPORT_SOURCE, VideoImportSourceClass))
#define IS_VIDEO_IMPORT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_VIDEO_IMPORT_SOURCE))
#define IS_VIDEO_IMPORT_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_VIDEO_IMPORT_SOURCE))
#define VIDEO_IMPORT_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_VIDEO_IMPORT_SOURCE, VideoImportSourceClass))
typedef struct _VideoImportSource VideoImportSource;
typedef struct _VideoImportSourceClass VideoImportSourceClass;
#define TYPE_VIDEO (video_get_type ())
#define VIDEO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIDEO, Video))
#define VIDEO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_VIDEO, VideoClass))
#define IS_VIDEO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_VIDEO))
#define IS_VIDEO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_VIDEO))
#define VIDEO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_VIDEO, VideoClass))
typedef struct _Video Video;
typedef struct _VideoClass VideoClass;
#define TYPE_CHECKERBOARD_PAGE (checkerboard_page_get_type ())
#define CHECKERBOARD_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CHECKERBOARD_PAGE, CheckerboardPage))
#define CHECKERBOARD_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CHECKERBOARD_PAGE, CheckerboardPageClass))
#define IS_CHECKERBOARD_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CHECKERBOARD_PAGE))
#define IS_CHECKERBOARD_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CHECKERBOARD_PAGE))
#define CHECKERBOARD_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CHECKERBOARD_PAGE, CheckerboardPageClass))
typedef struct _CheckerboardPage CheckerboardPage;
typedef struct _CheckerboardPageClass CheckerboardPageClass;
#define TYPE_MEDIA_PAGE (media_page_get_type ())
#define MEDIA_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEDIA_PAGE, MediaPage))
#define MEDIA_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MEDIA_PAGE, MediaPageClass))
#define IS_MEDIA_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MEDIA_PAGE))
#define IS_MEDIA_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MEDIA_PAGE))
#define MEDIA_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MEDIA_PAGE, MediaPageClass))
typedef struct _MediaPage MediaPage;
typedef struct _MediaPageClass MediaPageClass;
#define TYPE_COLLECTION_PAGE (collection_page_get_type ())
#define COLLECTION_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_COLLECTION_PAGE, CollectionPage))
#define COLLECTION_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_COLLECTION_PAGE, CollectionPageClass))
#define IS_COLLECTION_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_COLLECTION_PAGE))
#define IS_COLLECTION_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_COLLECTION_PAGE))
#define COLLECTION_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_COLLECTION_PAGE, CollectionPageClass))
typedef struct _CollectionPage CollectionPage;
typedef struct _CollectionPageClass CollectionPageClass;
#define TYPE_TAG_PAGE (tag_page_get_type ())
#define TAG_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TAG_PAGE, TagPage))
#define TAG_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TAG_PAGE, TagPageClass))
#define IS_TAG_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TAG_PAGE))
#define IS_TAG_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TAG_PAGE))
#define TAG_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TAG_PAGE, TagPageClass))
typedef struct _TagPage TagPage;
typedef struct _TagPageClass TagPageClass;
#define TYPE_TAG (tag_get_type ())
#define TAG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TAG, Tag))
#define TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TAG, TagClass))
#define IS_TAG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TAG))
#define IS_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TAG))
#define TAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TAG, TagClass))
typedef struct _Tag Tag;
typedef struct _TagClass TagClass;
#define TYPE_EXTENDED_PROPERTIES_WINDOW (extended_properties_window_get_type ())
#define EXTENDED_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow))
#define EXTENDED_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindowClass))
#define IS_EXTENDED_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXTENDED_PROPERTIES_WINDOW))
#define IS_EXTENDED_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXTENDED_PROPERTIES_WINDOW))
#define EXTENDED_PROPERTIES_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindowClass))
typedef struct _ExtendedPropertiesWindow ExtendedPropertiesWindow;
typedef struct _ExtendedPropertiesWindowClass ExtendedPropertiesWindowClass;
typedef struct _ExtendedPropertiesWindowPrivate ExtendedPropertiesWindowPrivate;
#define EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES (extended_properties_window_extended_properties_get_type ())
#define EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedProperties))
#define EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedPropertiesClass))
#define EXTENDED_PROPERTIES_WINDOW_IS_EXTENDED_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES))
#define EXTENDED_PROPERTIES_WINDOW_IS_EXTENDED_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES))
#define EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedPropertiesClass))
typedef struct _ExtendedPropertiesWindowExtendedProperties ExtendedPropertiesWindowExtendedProperties;
typedef struct _ExtendedPropertiesWindowExtendedPropertiesClass ExtendedPropertiesWindowExtendedPropertiesClass;
#define TYPE_PAGE_WINDOW (page_window_get_type ())
#define PAGE_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PAGE_WINDOW, PageWindow))
#define PAGE_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PAGE_WINDOW, PageWindowClass))
#define IS_PAGE_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PAGE_WINDOW))
#define IS_PAGE_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PAGE_WINDOW))
#define PAGE_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PAGE_WINDOW, PageWindowClass))
typedef struct _PageWindow PageWindow;
typedef struct _PageWindowClass PageWindowClass;
#define TYPE_APP_WINDOW (app_window_get_type ())
#define APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_APP_WINDOW, AppWindow))
#define APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_APP_WINDOW, AppWindowClass))
#define IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_APP_WINDOW))
#define IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_APP_WINDOW))
#define APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_APP_WINDOW, AppWindowClass))
typedef struct _AppWindow AppWindow;
typedef struct _AppWindowClass AppWindowClass;
typedef struct _ExtendedPropertiesWindowExtendedPropertiesPrivate ExtendedPropertiesWindowExtendedPropertiesPrivate;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define TYPE_METADATA_DATE_TIME (metadata_date_time_get_type ())
#define METADATA_DATE_TIME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_METADATA_DATE_TIME, MetadataDateTime))
#define METADATA_DATE_TIME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_METADATA_DATE_TIME, MetadataDateTimeClass))
#define IS_METADATA_DATE_TIME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_METADATA_DATE_TIME))
#define IS_METADATA_DATE_TIME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_METADATA_DATE_TIME))
#define METADATA_DATE_TIME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_METADATA_DATE_TIME, MetadataDateTimeClass))
typedef struct _MetadataDateTime MetadataDateTime;
typedef struct _MetadataDateTimeClass MetadataDateTimeClass;
#define _metadata_date_time_unref0(var) ((var == NULL) ? NULL : (var = (metadata_date_time_unref (var), NULL)))
#define PHOTO_METADATA_TYPE_SET_OPTION (photo_metadata_set_option_get_type ())
#define TYPE_EVENT (event_get_type ())
#define EVENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EVENT, Event))
#define EVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EVENT, EventClass))
#define IS_EVENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EVENT))
#define IS_EVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EVENT))
#define EVENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EVENT, EventClass))
typedef struct _Event Event;
typedef struct _EventClass EventClass;
#define TYPE_EVENTS_DIRECTORY_PAGE (events_directory_page_get_type ())
#define EVENTS_DIRECTORY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EVENTS_DIRECTORY_PAGE, EventsDirectoryPage))
#define EVENTS_DIRECTORY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EVENTS_DIRECTORY_PAGE, EventsDirectoryPageClass))
#define IS_EVENTS_DIRECTORY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EVENTS_DIRECTORY_PAGE))
#define IS_EVENTS_DIRECTORY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EVENTS_DIRECTORY_PAGE))
#define EVENTS_DIRECTORY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EVENTS_DIRECTORY_PAGE, EventsDirectoryPageClass))
typedef struct _EventsDirectoryPage EventsDirectoryPage;
typedef struct _EventsDirectoryPageClass EventsDirectoryPageClass;
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
struct _Properties {
GtkGrid parent_instance;
PropertiesPrivate * priv;
};
struct _PropertiesClass {
GtkGridClass parent_class;
void (*get_single_properties) (Properties* self, DataView* view);
void (*get_multiple_properties) (Properties* self, GeeIterable* iter);
void (*get_properties) (Properties* self, Page* current_page);
void (*clear_properties) (Properties* self);
void (*internal_update_properties) (Properties* self, Page* page);
};
struct _PropertiesPrivate {
guint line_count;
};
struct _BasicProperties {
Properties parent_instance;
BasicPropertiesPrivate * priv;
};
struct _BasicPropertiesClass {
PropertiesClass parent_class;
};
struct _Dimensions {
gint width;
gint height;
};
struct _BasicPropertiesPrivate {
gchar* title;
time_t start_time;
time_t end_time;
Dimensions dimensions;
gint photo_count;
gint event_count;
gint video_count;
gchar* exposure;
gchar* aperture;
gchar* iso;
gdouble clip_duration;
gchar* raw_developer;
gchar* raw_assoc;
};
typedef enum {
ORIENTATION_MIN = 1,
ORIENTATION_TOP_LEFT = 1,
ORIENTATION_TOP_RIGHT = 2,
ORIENTATION_BOTTOM_RIGHT = 3,
ORIENTATION_BOTTOM_LEFT = 4,
ORIENTATION_LEFT_TOP = 5,
ORIENTATION_RIGHT_TOP = 6,
ORIENTATION_RIGHT_BOTTOM = 7,
ORIENTATION_LEFT_BOTTOM = 8,
ORIENTATION_MAX = 8
} Orientation;
typedef enum {
PHOTO_EXCEPTION_NONE = 0,
PHOTO_EXCEPTION_ORIENTATION = 1 << 0,
PHOTO_EXCEPTION_CROP = 1 << 1,
PHOTO_EXCEPTION_REDEYE = 1 << 2,
PHOTO_EXCEPTION_ADJUST = 1 << 3,
PHOTO_EXCEPTION_STRAIGHTEN = 1 << 4,
PHOTO_EXCEPTION_ALL = 0xFFFFFFFFLL
} PhotoException;
typedef enum {
PHOTO_FILE_FORMAT_JFIF,
PHOTO_FILE_FORMAT_RAW,
PHOTO_FILE_FORMAT_PNG,
PHOTO_FILE_FORMAT_TIFF,
PHOTO_FILE_FORMAT_BMP,
PHOTO_FILE_FORMAT_UNKNOWN
} PhotoFileFormat;
typedef enum {
RAW_DEVELOPER_SHOTWELL = 0,
RAW_DEVELOPER_CAMERA,
RAW_DEVELOPER_EMBEDDED
} RawDeveloper;
struct _ExtendedPropertiesWindow {
GtkDialog parent_instance;
ExtendedPropertiesWindowPrivate * priv;
};
struct _ExtendedPropertiesWindowClass {
GtkDialogClass parent_class;
};
struct _ExtendedPropertiesWindowPrivate {
ExtendedPropertiesWindowExtendedProperties* properties;
};
struct _ExtendedPropertiesWindowExtendedProperties {
Properties parent_instance;
ExtendedPropertiesWindowExtendedPropertiesPrivate * priv;
};
struct _ExtendedPropertiesWindowExtendedPropertiesClass {
PropertiesClass parent_class;
};
struct _ExtendedPropertiesWindowExtendedPropertiesPrivate {
gchar* file_path;
guint64 filesize;
Dimensions* original_dim;
gchar* camera_make;
gchar* camera_model;
gchar* flash;
gchar* focal_length;
gdouble gps_lat;
gchar* gps_lat_ref;
gdouble gps_long;
gchar* gps_long_ref;
gdouble gps_alt;
gchar* artist;
gchar* copyright;
gchar* software;
gchar* exposure_bias;
gchar* exposure_date;
gchar* exposure_time;
gboolean is_raw;
gchar* development_path;
gchar* comment;
};
typedef enum {
PHOTO_METADATA_SET_OPTION_ALL_DOMAINS,
PHOTO_METADATA_SET_OPTION_ONLY_IF_DOMAIN_PRESENT,
PHOTO_METADATA_SET_OPTION_AT_LEAST_DEFAULT_DOMAIN
} PhotoMetadataSetOption;
static gpointer properties_parent_class = NULL;
static gpointer basic_properties_parent_class = NULL;
static gpointer extended_properties_window_parent_class = NULL;
static gpointer extended_properties_window_extended_properties_parent_class = NULL;
GType properties_get_type (void) G_GNUC_CONST;
GType data_object_get_type (void) G_GNUC_CONST;
GType data_view_get_type (void) G_GNUC_CONST;
GType page_get_type (void) G_GNUC_CONST;
#define PROPERTIES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PROPERTIES, PropertiesPrivate))
enum {
PROPERTIES_DUMMY_PROPERTY
};
Properties* properties_construct (GType object_type);
void properties_add_line (Properties* self, const gchar* label_text, const gchar* info_text, gboolean multi_line);
gboolean is_string_empty (const gchar* s);
gchar* properties_get_prettyprint_time (Properties* self, struct tm* time);
gchar* resources_get_hh_mm_format_string (void);
gchar* properties_get_prettyprint_time_with_seconds (Properties* self, struct tm* time);
gchar* resources_get_hh_mm_ss_format_string (void);
gchar* properties_get_prettyprint_date (Properties* self, struct tm* date);
gchar* format_local_date (struct tm* date);
void properties_get_single_properties (Properties* self, DataView* view);
static void properties_real_get_single_properties (Properties* self, DataView* view);
void properties_get_multiple_properties (Properties* self, GeeIterable* iter);
static void properties_real_get_multiple_properties (Properties* self, GeeIterable* iter);
void properties_get_properties (Properties* self, Page* current_page);
static void properties_real_get_properties (Properties* self, Page* current_page);
gpointer data_collection_ref (gpointer instance);
void data_collection_unref (gpointer instance);
GParamSpec* param_spec_data_collection (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_data_collection (GValue* value, gpointer v_object);
void value_take_data_collection (GValue* value, gpointer v_object);
gpointer value_get_data_collection (const GValue* value);
GType data_collection_get_type (void) G_GNUC_CONST;
GType view_collection_get_type (void) G_GNUC_CONST;
ViewCollection* page_get_view (Page* self);
gint view_collection_get_selected_count (ViewCollection* self);
GeeList* view_collection_get_selected (ViewCollection* self);
gint data_collection_get_count (DataCollection* self);
GeeCollection* data_collection_get_all (DataCollection* self);
void properties_clear_properties (Properties* self);
static void properties_real_clear_properties (Properties* self);
void properties_update_properties (Properties* self, Page* page);
void properties_internal_update_properties (Properties* self, Page* page);
static void properties_real_internal_update_properties (Properties* self, Page* page);
void properties_unselect_text (Properties* self);
static void properties_finalize (GObject* obj);
GType basic_properties_get_type (void) G_GNUC_CONST;
GType dimensions_get_type (void) G_GNUC_CONST;
Dimensions* dimensions_dup (const Dimensions* self);
void dimensions_free (Dimensions* self);
#define BASIC_PROPERTIES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_BASIC_PROPERTIES, BasicPropertiesPrivate))
enum {
BASIC_PROPERTIES_DUMMY_PROPERTY
};
BasicProperties* basic_properties_new (void);
BasicProperties* basic_properties_construct (GType object_type);
static void basic_properties_real_clear_properties (Properties* base);
void dimensions_init (Dimensions *self, gint width, gint height);
static void basic_properties_real_get_single_properties (Properties* base, DataView* view);
GType data_source_get_type (void) G_GNUC_CONST;
DataSource* data_view_get_source (DataView* self);
gchar* data_object_get_name (DataObject* self);
GType thumbnail_source_get_type (void) G_GNUC_CONST;
GType media_source_get_type (void) G_GNUC_CONST;
GType photo_source_get_type (void) G_GNUC_CONST;
GType import_source_get_type (void) G_GNUC_CONST;
GType photo_import_source_get_type (void) G_GNUC_CONST;
time_t media_source_get_exposure_time (MediaSource* self);
time_t import_source_get_exposure_time (ImportSource* self);
gpointer media_metadata_ref (gpointer instance);
void media_metadata_unref (gpointer instance);
GParamSpec* param_spec_media_metadata (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_media_metadata (GValue* value, gpointer v_object);
void value_take_media_metadata (GValue* value, gpointer v_object);
gpointer value_get_media_metadata (const GValue* value);
GType media_metadata_get_type (void) G_GNUC_CONST;
GType photo_metadata_get_type (void) G_GNUC_CONST;
PhotoMetadata* photo_source_get_metadata (PhotoSource* self);
PhotoMetadata* photo_import_source_get_metadata (PhotoImportSource* self);
gchar* photo_metadata_get_exposure_string (PhotoMetadata* self);
gchar* photo_metadata_get_aperture_string (PhotoMetadata* self, gboolean pango_formatted);
gchar* photo_metadata_get_iso_string (PhotoMetadata* self);
Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self);
GType orientation_get_type (void) G_GNUC_CONST;
Orientation photo_metadata_get_orientation (PhotoMetadata* self);
void orientation_rotate_dimensions (Orientation self, Dimensions* dim, Dimensions* result);
GType photo_exception_get_type (void) G_GNUC_CONST;
void media_source_get_dimensions (MediaSource* self, PhotoException disallowed_steps, Dimensions* result);
GType photo_get_type (void) G_GNUC_CONST;
GType photo_file_format_get_type (void) G_GNUC_CONST;
PhotoFileFormat photo_get_master_file_format (Photo* self);
GType raw_developer_get_type (void) G_GNUC_CONST;
RawDeveloper photo_get_raw_developer (Photo* self);
gchar* raw_developer_get_label (RawDeveloper self);
gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d);
GType event_source_get_type (void) G_GNUC_CONST;
time_t event_source_get_start_time (EventSource* self);
time_t event_source_get_end_time (EventSource* self);
void media_source_collection_count_media (GeeCollection* media, gint* photo_count, gint* video_count);
GeeCollection* event_source_get_media (EventSource* self);
GType video_source_get_type (void) G_GNUC_CONST;
GType video_import_source_get_type (void) G_GNUC_CONST;
GType video_get_type (void) G_GNUC_CONST;
gdouble video_get_clip_duration (Video* self);
gboolean video_get_is_interpretable (Video* self);
void video_get_frame_dimensions (Video* self, Dimensions* result);
static void basic_properties_real_get_multiple_properties (Properties* base, GeeIterable* iter);
static void basic_properties_real_get_properties (Properties* base, Page* current_page);
static void basic_properties_real_internal_update_properties (Properties* base, Page* page);
GType checkerboard_page_get_type (void) G_GNUC_CONST;
GType media_page_get_type (void) G_GNUC_CONST;
GType collection_page_get_type (void) G_GNUC_CONST;
GType tag_page_get_type (void) G_GNUC_CONST;
GType tag_get_type (void) G_GNUC_CONST;
Tag* tag_page_get_tag (TagPage* self);
gchar* tag_get_user_visible_name (Tag* self);
gchar* guarded_markup_escape_text (const gchar* plain);
gboolean dimensions_has_area (Dimensions *self);
static void basic_properties_finalize (GObject* obj);
GType extended_properties_window_get_type (void) G_GNUC_CONST;
static GType extended_properties_window_extended_properties_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define EXTENDED_PROPERTIES_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindowPrivate))
enum {
EXTENDED_PROPERTIES_WINDOW_DUMMY_PROPERTY
};
ExtendedPropertiesWindow* extended_properties_window_new (GtkWindow* owner);
ExtendedPropertiesWindow* extended_properties_window_construct (GType object_type, GtkWindow* owner);
static gboolean _gtk_widget_hide_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_extended_properties_new (void);
static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_extended_properties_construct (GType object_type);
static gboolean extended_properties_window_real_button_press_event (GtkWidget* base, GdkEventButton* event);
static gboolean extended_properties_window_real_key_press_event (GtkWidget* base, GdkEventKey* event);
GType page_window_get_type (void) G_GNUC_CONST;
GType app_window_get_type (void) G_GNUC_CONST;
AppWindow* app_window_get_instance (void);
void extended_properties_window_update_properties (ExtendedPropertiesWindow* self, Page* page);
static void extended_properties_window_real_show_all (GtkWidget* base);
#define EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedPropertiesPrivate))
enum {
EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_DUMMY_PROPERTY
};
#define EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE ""
static void extended_properties_window_extended_properties_real_clear_properties (Properties* base);
static void extended_properties_window_extended_properties_real_get_single_properties (Properties* base, DataView* view);
GFile* media_source_get_master_file (MediaSource* self);
GFile* media_source_get_file (MediaSource* self);
guint64 media_source_get_master_filesize (MediaSource* self);
PhotoMetadata* photo_get_master_metadata (Photo* self, GError** error);
gpointer metadata_date_time_ref (gpointer instance);
void metadata_date_time_unref (gpointer instance);
GParamSpec* param_spec_metadata_date_time (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_metadata_date_time (GValue* value, gpointer v_object);
void value_take_metadata_date_time (GValue* value, gpointer v_object);
gpointer value_get_metadata_date_time (const GValue* value);
GType metadata_date_time_get_type (void) G_GNUC_CONST;
MetadataDateTime* photo_metadata_get_exposure_date_time (PhotoMetadata* self);
GType photo_metadata_set_option_get_type (void) G_GNUC_CONST;
void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTime* date_time, PhotoMetadataSetOption option);
time_t media_source_get_timestamp (MediaSource* self);
MetadataDateTime* metadata_date_time_new (time_t timestamp);
MetadataDateTime* metadata_date_time_construct (GType object_type, time_t timestamp);
gchar* photo_metadata_get_camera_make (PhotoMetadata* self);
gchar* photo_metadata_get_camera_model (PhotoMetadata* self);
gchar* photo_metadata_get_flash_string (PhotoMetadata* self);
gchar* photo_metadata_get_focal_length_string (PhotoMetadata* self);
gboolean photo_metadata_get_gps (PhotoMetadata* self, gdouble* longitude, gchar** long_ref, gdouble* latitude, gchar** lat_ref, gdouble* altitude);
gchar* photo_metadata_get_artist (PhotoMetadata* self);
gchar* photo_metadata_get_copyright (PhotoMetadata* self);
gchar* photo_metadata_get_software (PhotoMetadata* self);
gchar* photo_metadata_get_exposure_bias (PhotoMetadata* self);
time_t metadata_date_time_get_timestamp (MetadataDateTime* self);
gchar* media_source_get_comment (MediaSource* self);
GType event_get_type (void) G_GNUC_CONST;
gchar* event_source_get_comment (EventSource* self);
static void extended_properties_window_extended_properties_real_internal_update_properties (Properties* base, Page* page);
GType events_directory_page_get_type (void) G_GNUC_CONST;
static void extended_properties_window_extended_properties_finalize (GObject* obj);
static void extended_properties_window_finalize (GObject* obj);
Properties* properties_construct (GType object_type) {
Properties * self = NULL;
#line 10 "/home/jens/Source/shotwell/src/Properties.vala"
self = (Properties*) g_object_new (object_type, NULL);
#line 11 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_grid_set_row_spacing (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), 0);
#line 12 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_grid_set_column_spacing (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), 6);
#line 10 "/home/jens/Source/shotwell/src/Properties.vala"
return self;
#line 703 "Properties.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 31 "/home/jens/Source/shotwell/src/Properties.vala"
return self ? g_object_ref (self) : NULL;
#line 710 "Properties.c"
}
void properties_add_line (Properties* self, const gchar* label_text, const gchar* info_text, gboolean multi_line) {
GtkLabel* label = NULL;
GtkLabel* _tmp0_ = NULL;
GtkWidget* info = NULL;
GtkLabel* _tmp1_ = NULL;
GtkLabel* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
GtkLabel* _tmp43_ = NULL;
guint _tmp44_ = 0U;
gboolean _tmp45_ = FALSE;
guint _tmp50_ = 0U;
#line 15 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 15 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (label_text != NULL);
#line 15 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (info_text != NULL);
#line 16 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = (GtkLabel*) gtk_label_new ("");
#line 16 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_ref_sink (_tmp0_);
#line 16 "/home/jens/Source/shotwell/src/Properties.vala"
label = _tmp0_;
#line 19 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = label;
#line 19 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_label_set_justify (_tmp1_, GTK_JUSTIFY_RIGHT);
#line 21 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = label;
#line 21 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = label_text;
#line 21 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = g_markup_printf_escaped ("<span font_weight=\"bold\">%s</span>", _tmp3_);
#line 21 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = _tmp4_;
#line 21 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_label_set_markup (_tmp2_, _tmp5_);
#line 21 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp5_);
#line 23 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = multi_line;
#line 23 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp6_) {
#line 760 "Properties.c"
GtkScrolledWindow* info_scroll = NULL;
GtkScrolledWindow* _tmp7_ = NULL;
GtkScrolledWindow* _tmp8_ = NULL;
GtkTextView* view = NULL;
GtkTextView* _tmp9_ = NULL;
GtkStyleContext* context = NULL;
GtkScrolledWindow* _tmp10_ = NULL;
GtkStyleContext* _tmp11_ = NULL;
GtkStyleContext* _tmp12_ = NULL;
GtkTextView* _tmp13_ = NULL;
GtkStyleContext* _tmp14_ = NULL;
GdkRGBA _tmp15_ = {0};
GtkTextView* _tmp16_ = NULL;
GtkTextView* _tmp17_ = NULL;
GtkTextView* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
const gchar* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
GtkTextView* _tmp23_ = NULL;
GtkTextBuffer* _tmp24_ = NULL;
GtkTextBuffer* _tmp25_ = NULL;
GtkScrolledWindow* _tmp26_ = NULL;
GtkTextView* _tmp27_ = NULL;
GtkLabel* _tmp28_ = NULL;
GtkScrolledWindow* _tmp29_ = NULL;
GtkWidget* _tmp30_ = NULL;
#line 24 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 24 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_ref_sink (_tmp7_);
#line 24 "/home/jens/Source/shotwell/src/Properties.vala"
info_scroll = _tmp7_;
#line 25 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = info_scroll;
#line 25 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_scrolled_window_set_shadow_type (_tmp8_, GTK_SHADOW_ETCHED_IN);
#line 26 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = (GtkTextView*) gtk_text_view_new ();
#line 26 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_ref_sink (_tmp9_);
#line 26 "/home/jens/Source/shotwell/src/Properties.vala"
view = _tmp9_;
#line 31 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = info_scroll;
#line 31 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = gtk_widget_get_style_context (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
#line 31 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = _g_object_ref0 (_tmp11_);
#line 31 "/home/jens/Source/shotwell/src/Properties.vala"
context = _tmp12_;
#line 32 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = view;
#line 32 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = context;
#line 32 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_style_context_get_background_color (_tmp14_, GTK_STATE_FLAG_NORMAL, &_tmp15_);
#line 32 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_widget_override_background_color (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), GTK_STATE_FLAG_NORMAL, &_tmp15_);
#line 34 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = view;
#line 34 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_text_view_set_wrap_mode (_tmp16_, GTK_WRAP_WORD);
#line 35 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = view;
#line 35 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_text_view_set_cursor_visible (_tmp17_, FALSE);
#line 36 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = view;
#line 36 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_text_view_set_editable (_tmp18_, FALSE);
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = info_text;
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = is_string_empty (_tmp20_);
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp21_) {
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = "";
#line 839 "Properties.c"
} else {
const gchar* _tmp22_ = NULL;
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = info_text;
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = _tmp22_;
#line 846 "Properties.c"
}
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = view;
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = gtk_text_view_get_buffer (_tmp23_);
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp25_ = _tmp24_;
#line 37 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_set (_tmp25_, "text", _tmp19_, NULL);
#line 38 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp26_ = info_scroll;
#line 38 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp27_ = view;
#line 38 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget));
#line 39 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp28_ = label;
#line 39 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_misc_get_type (), GtkMisc), (gfloat) 1, (gfloat) 0);
#line 40 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp29_ = info_scroll;
#line 40 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget));
#line 40 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (info);
#line 40 "/home/jens/Source/shotwell/src/Properties.vala"
info = _tmp30_;
#line 23 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (context);
#line 23 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (view);
#line 23 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (info_scroll);
#line 880 "Properties.c"
} else {
GtkLabel* info_label = NULL;
GtkLabel* _tmp31_ = NULL;
const gchar* _tmp32_ = NULL;
const gchar* _tmp33_ = NULL;
gboolean _tmp34_ = FALSE;
GtkLabel* _tmp36_ = NULL;
GtkLabel* _tmp37_ = NULL;
GtkLabel* _tmp38_ = NULL;
GtkLabel* _tmp39_ = NULL;
GtkLabel* _tmp40_ = NULL;
GtkLabel* _tmp41_ = NULL;
GtkWidget* _tmp42_ = NULL;
#line 42 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp31_ = (GtkLabel*) gtk_label_new ("");
#line 42 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_ref_sink (_tmp31_);
#line 42 "/home/jens/Source/shotwell/src/Properties.vala"
info_label = _tmp31_;
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp33_ = info_text;
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = is_string_empty (_tmp33_);
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp34_) {
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = "";
#line 908 "Properties.c"
} else {
const gchar* _tmp35_ = NULL;
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp35_ = info_text;
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = _tmp35_;
#line 915 "Properties.c"
}
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp36_ = info_label;
#line 43 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_label_set_markup (_tmp36_, _tmp32_);
#line 44 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp37_ = info_label;
#line 44 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_misc_get_type (), GtkMisc), (gfloat) 0, (gfloat) 5e-1);
#line 45 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp38_ = info_label;
#line 45 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_label_set_ellipsize (_tmp38_, PANGO_ELLIPSIZE_END);
#line 46 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp39_ = info_label;
#line 46 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_label_set_selectable (_tmp39_, TRUE);
#line 47 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp40_ = label;
#line 47 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_misc_get_type (), GtkMisc), (gfloat) 1, (gfloat) 5e-1);
#line 48 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp41_ = info_label;
#line 48 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp42_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget));
#line 48 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (info);
#line 48 "/home/jens/Source/shotwell/src/Properties.vala"
info = _tmp42_;
#line 23 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (info_label);
#line 947 "Properties.c"
}
#line 51 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp43_ = label;
#line 51 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = self->priv->line_count;
#line 51 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_grid_attach (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), 0, (gint) _tmp44_, 1, 1);
#line 53 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp45_ = multi_line;
#line 53 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp45_) {
#line 959 "Properties.c"
GtkWidget* _tmp46_ = NULL;
guint _tmp47_ = 0U;
#line 54 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp46_ = info;
#line 54 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp47_ = self->priv->line_count;
#line 54 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_grid_attach (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), _tmp46_, 1, (gint) _tmp47_, 1, 2);
#line 968 "Properties.c"
} else {
GtkWidget* _tmp48_ = NULL;
guint _tmp49_ = 0U;
#line 56 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp48_ = info;
#line 56 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp49_ = self->priv->line_count;
#line 56 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_grid_attach (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), _tmp48_, 1, (gint) _tmp49_, 1, 1);
#line 978 "Properties.c"
}
#line 59 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp50_ = self->priv->line_count;
#line 59 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->line_count = _tmp50_ + 1;
#line 15 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (info);
#line 15 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (label);
#line 988 "Properties.c"
}
static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* result = NULL;
gchar* buffer = NULL;
gchar* _tmp0_ = NULL;
gint buffer_length1 = 0;
gint _buffer_size_ = 0;
gchar* _tmp1_ = NULL;
gint _tmp1__length1 = 0;
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
buffer = _tmp0_;
#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
buffer_length1 = 64;
#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = format;
#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp4_;
#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 1034 "Properties.c"
}
static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = index;
#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp1_;
#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 1052 "Properties.c"
}
static glong string_strnlen (gchar* str, glong maxlen) {
glong result = 0L;
gchar* end = NULL;
gchar* _tmp0_ = NULL;
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = str;
#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
end = _tmp2_;
#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = end;
#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 1075 "Properties.c"
glong _tmp4_ = 0L;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp4_;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 1083 "Properties.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = end;
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = str;
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 1095 "Properties.c"
}
}
static gchar* string_substring (const gchar* self, glong offset, glong len) {
gchar* result = NULL;
glong string_length = 0L;
gboolean _tmp0_ = FALSE;
glong _tmp1_ = 0L;
glong _tmp8_ = 0L;
glong _tmp14_ = 0L;
glong _tmp17_ = 0L;
glong _tmp18_ = 0L;
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = offset;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 1119 "Properties.c"
glong _tmp2_ = 0L;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = len;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1125 "Properties.c"
} else {
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 1129 "Properties.c"
}
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 1133 "Properties.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = offset;
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = len;
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 1145 "Properties.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 1155 "Properties.c"
}
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = offset;
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 1161 "Properties.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp10_ = offset;
#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = offset;
#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1175 "Properties.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = offset;
#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1185 "Properties.c"
}
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp14_ = len;
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 1191 "Properties.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = offset;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 1200 "Properties.c"
}
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp17_ = offset;
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp18_ = len;
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp20_ = offset;
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = len;
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp22_;
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 1220 "Properties.c"
}
gchar* properties_get_prettyprint_time (Properties* self, struct tm* time) {
gchar* result = NULL;
gchar* timestring = NULL;
gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar _tmp5_ = '\0';
#line 62 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (IS_PROPERTIES (self), NULL);
#line 62 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (time != NULL, NULL);
#line 63 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = resources_get_hh_mm_format_string ();
#line 63 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = _tmp0_;
#line 63 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = g_time_format (time, _tmp1_);
#line 63 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = _tmp2_;
#line 63 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp1_);
#line 63 "/home/jens/Source/shotwell/src/Properties.vala"
timestring = _tmp3_;
#line 65 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = timestring;
#line 65 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = string_get (_tmp4_, (glong) 0);
#line 65 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp5_ == '0') {
#line 1255 "Properties.c"
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
#line 66 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = timestring;
#line 66 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = string_substring (_tmp6_, (glong) 1, (glong) -1);
#line 66 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (timestring);
#line 66 "/home/jens/Source/shotwell/src/Properties.vala"
timestring = _tmp7_;
#line 1266 "Properties.c"
}
#line 68 "/home/jens/Source/shotwell/src/Properties.vala"
result = timestring;
#line 68 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 1272 "Properties.c"
}
gchar* properties_get_prettyprint_time_with_seconds (Properties* self, struct tm* time) {
gchar* result = NULL;
gchar* timestring = NULL;
gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar _tmp5_ = '\0';
#line 71 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (IS_PROPERTIES (self), NULL);
#line 71 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (time != NULL, NULL);
#line 72 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = resources_get_hh_mm_ss_format_string ();
#line 72 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = _tmp0_;
#line 72 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = g_time_format (time, _tmp1_);
#line 72 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = _tmp2_;
#line 72 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp1_);
#line 72 "/home/jens/Source/shotwell/src/Properties.vala"
timestring = _tmp3_;
#line 74 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = timestring;
#line 74 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = string_get (_tmp4_, (glong) 0);
#line 74 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp5_ == '0') {
#line 1307 "Properties.c"
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
#line 75 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = timestring;
#line 75 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = string_substring (_tmp6_, (glong) 1, (glong) -1);
#line 75 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (timestring);
#line 75 "/home/jens/Source/shotwell/src/Properties.vala"
timestring = _tmp7_;
#line 1318 "Properties.c"
}
#line 77 "/home/jens/Source/shotwell/src/Properties.vala"
result = timestring;
#line 77 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 1324 "Properties.c"
}
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
*result = _result_;
#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return;
#line 1339 "Properties.c"
}
gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) {
gchar* result = NULL;
gchar* date_string = NULL;
struct tm today = {0};
time_t _tmp0_ = 0;
struct tm _tmp1_ = {0};
gboolean _tmp2_ = FALSE;
struct tm _tmp3_ = {0};
gint _tmp4_ = 0;
struct tm _tmp5_ = {0};
gint _tmp6_ = 0;
#line 80 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (IS_PROPERTIES (self), NULL);
#line 80 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (date != NULL, NULL);
#line 81 "/home/jens/Source/shotwell/src/Properties.vala"
date_string = NULL;
#line 82 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = time (NULL);
#line 82 "/home/jens/Source/shotwell/src/Properties.vala"
g_time_local (_tmp0_, &_tmp1_);
#line 82 "/home/jens/Source/shotwell/src/Properties.vala"
today = _tmp1_;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = *date;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = _tmp3_.tm_yday;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = today;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = _tmp5_.tm_yday;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp4_ == _tmp6_) {
#line 1376 "Properties.c"
struct tm _tmp7_ = {0};
gint _tmp8_ = 0;
struct tm _tmp9_ = {0};
gint _tmp10_ = 0;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = *date;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = _tmp7_.tm_year;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = today;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = _tmp9_.tm_year;
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = _tmp8_ == _tmp10_;
#line 1391 "Properties.c"
} else {
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = FALSE;
#line 1395 "Properties.c"
}
#line 83 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp2_) {
#line 1399 "Properties.c"
const gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
#line 84 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = _ ("Today");
#line 84 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = g_strdup (_tmp11_);
#line 84 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (date_string);
#line 84 "/home/jens/Source/shotwell/src/Properties.vala"
date_string = _tmp12_;
#line 1410 "Properties.c"
} else {
gboolean _tmp13_ = FALSE;
struct tm _tmp14_ = {0};
gint _tmp15_ = 0;
struct tm _tmp16_ = {0};
gint _tmp17_ = 0;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = *date;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = _tmp14_.tm_yday;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = today;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = _tmp16_.tm_yday;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp15_ == (_tmp17_ - 1)) {
#line 1427 "Properties.c"
struct tm _tmp18_ = {0};
gint _tmp19_ = 0;
struct tm _tmp20_ = {0};
gint _tmp21_ = 0;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = *date;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = _tmp18_.tm_year;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = today;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = _tmp20_.tm_year;
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = _tmp19_ == _tmp21_;
#line 1442 "Properties.c"
} else {
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = FALSE;
#line 1446 "Properties.c"
}
#line 85 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp13_) {
#line 1450 "Properties.c"
const gchar* _tmp22_ = NULL;
gchar* _tmp23_ = NULL;
#line 86 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = _ ("Yesterday");
#line 86 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = g_strdup (_tmp22_);
#line 86 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (date_string);
#line 86 "/home/jens/Source/shotwell/src/Properties.vala"
date_string = _tmp23_;
#line 1461 "Properties.c"
} else {
struct tm _tmp24_ = {0};
gchar* _tmp25_ = NULL;
#line 88 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = *date;
#line 88 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp25_ = format_local_date (&_tmp24_);
#line 88 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (date_string);
#line 88 "/home/jens/Source/shotwell/src/Properties.vala"
date_string = _tmp25_;
#line 1473 "Properties.c"
}
}
#line 91 "/home/jens/Source/shotwell/src/Properties.vala"
result = date_string;
#line 91 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 1480 "Properties.c"
}
static void properties_real_get_single_properties (Properties* self, DataView* view) {
#line 94 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_DATA_VIEW (view));
#line 1487 "Properties.c"
}
void properties_get_single_properties (Properties* self, DataView* view) {
#line 94 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 94 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_GET_CLASS (self)->get_single_properties (self, view);
#line 1496 "Properties.c"
}
static void properties_real_get_multiple_properties (Properties* self, GeeIterable* iter) {
#line 97 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail ((iter == NULL) || GEE_IS_ITERABLE (iter));
#line 1503 "Properties.c"
}
void properties_get_multiple_properties (Properties* self, GeeIterable* iter) {
#line 97 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 97 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_GET_CLASS (self)->get_multiple_properties (self, iter);
#line 1512 "Properties.c"
}
static void properties_real_get_properties (Properties* self, Page* current_page) {
ViewCollection* view = NULL;
Page* _tmp0_ = NULL;
ViewCollection* _tmp1_ = NULL;
ViewCollection* _tmp2_ = NULL;
gint count = 0;
ViewCollection* _tmp3_ = NULL;
gint _tmp4_ = 0;
GeeIterable* iter = NULL;
gint _tmp5_ = 0;
gboolean _tmp12_ = FALSE;
GeeIterable* _tmp13_ = NULL;
gint _tmp15_ = 0;
#line 100 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PAGE (current_page));
#line 101 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = current_page;
#line 101 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = page_get_view (_tmp0_);
#line 101 "/home/jens/Source/shotwell/src/Properties.vala"
view = _tmp1_;
#line 102 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = view;
#line 102 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp2_ == NULL) {
#line 103 "/home/jens/Source/shotwell/src/Properties.vala"
_data_collection_unref0 (view);
#line 103 "/home/jens/Source/shotwell/src/Properties.vala"
return;
#line 1545 "Properties.c"
}
#line 106 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = view;
#line 106 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
#line 106 "/home/jens/Source/shotwell/src/Properties.vala"
count = _tmp4_;
#line 107 "/home/jens/Source/shotwell/src/Properties.vala"
iter = NULL;
#line 108 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = count;
#line 108 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp5_ != 0) {
#line 1559 "Properties.c"
ViewCollection* _tmp6_ = NULL;
GeeList* _tmp7_ = NULL;
#line 109 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = view;
#line 109 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = view_collection_get_selected (_tmp6_);
#line 109 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (iter);
#line 109 "/home/jens/Source/shotwell/src/Properties.vala"
iter = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable);
#line 1570 "Properties.c"
} else {
ViewCollection* _tmp8_ = NULL;
gint _tmp9_ = 0;
ViewCollection* _tmp10_ = NULL;
GeeCollection* _tmp11_ = NULL;
#line 111 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = view;
#line 111 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_COLLECTION, DataCollection));
#line 111 "/home/jens/Source/shotwell/src/Properties.vala"
count = _tmp9_;
#line 112 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = view;
#line 112 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection));
#line 112 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (iter);
#line 112 "/home/jens/Source/shotwell/src/Properties.vala"
iter = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ITERABLE, GeeIterable);
#line 1590 "Properties.c"
}
#line 115 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = iter;
#line 115 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp13_ == NULL) {
#line 115 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = TRUE;
#line 1598 "Properties.c"
} else {
gint _tmp14_ = 0;
#line 115 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = count;
#line 115 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = _tmp14_ == 0;
#line 1605 "Properties.c"
}
#line 115 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp12_) {
#line 116 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (iter);
#line 116 "/home/jens/Source/shotwell/src/Properties.vala"
_data_collection_unref0 (view);
#line 116 "/home/jens/Source/shotwell/src/Properties.vala"
return;
#line 1615 "Properties.c"
}
#line 118 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = count;
#line 118 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp15_ == 1) {
#line 1621 "Properties.c"
{
GeeIterator* _item_it = NULL;
GeeIterable* _tmp16_ = NULL;
GeeIterator* _tmp17_ = NULL;
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = iter;
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = gee_iterable_iterator (_tmp16_);
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_item_it = _tmp17_;
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
while (TRUE) {
#line 1634 "Properties.c"
GeeIterator* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
DataView* item = NULL;
GeeIterator* _tmp20_ = NULL;
gpointer _tmp21_ = NULL;
DataView* _tmp22_ = NULL;
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = _item_it;
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = gee_iterator_next (_tmp18_);
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
if (!_tmp19_) {
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
break;
#line 1649 "Properties.c"
}
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = _item_it;
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = gee_iterator_get (_tmp20_);
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
item = (DataView*) _tmp21_;
#line 120 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = item;
#line 120 "/home/jens/Source/shotwell/src/Properties.vala"
properties_get_single_properties (self, _tmp22_);
#line 121 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (item);
#line 121 "/home/jens/Source/shotwell/src/Properties.vala"
break;
#line 1665 "Properties.c"
}
#line 119 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_item_it);
#line 1669 "Properties.c"
}
} else {
GeeIterable* _tmp23_ = NULL;
#line 124 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = iter;
#line 124 "/home/jens/Source/shotwell/src/Properties.vala"
properties_get_multiple_properties (self, _tmp23_);
#line 1677 "Properties.c"
}
#line 100 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (iter);
#line 100 "/home/jens/Source/shotwell/src/Properties.vala"
_data_collection_unref0 (view);
#line 1683 "Properties.c"
}
void properties_get_properties (Properties* self, Page* current_page) {
#line 100 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 100 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_GET_CLASS (self)->get_properties (self, current_page);
#line 1692 "Properties.c"
}
static void properties_real_clear_properties (Properties* self) {
GList* _tmp0_ = NULL;
#line 129 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer));
#line 1700 "Properties.c"
{
GList* child_collection = NULL;
GList* child_it = NULL;
#line 129 "/home/jens/Source/shotwell/src/Properties.vala"
child_collection = _tmp0_;
#line 129 "/home/jens/Source/shotwell/src/Properties.vala"
for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 1708 "Properties.c"
GtkWidget* _tmp1_ = NULL;
GtkWidget* child = NULL;
#line 129 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = _g_object_ref0 ((GtkWidget*) child_it->data);
#line 129 "/home/jens/Source/shotwell/src/Properties.vala"
child = _tmp1_;
#line 1715 "Properties.c"
{
GtkWidget* _tmp2_ = NULL;
#line 130 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = child;
#line 130 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), _tmp2_);
#line 129 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (child);
#line 1724 "Properties.c"
}
}
#line 129 "/home/jens/Source/shotwell/src/Properties.vala"
_g_list_free0 (child_collection);
#line 1729 "Properties.c"
}
#line 132 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->line_count = (guint) 0;
#line 1733 "Properties.c"
}
void properties_clear_properties (Properties* self) {
#line 128 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 128 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_GET_CLASS (self)->clear_properties (self);
#line 1742 "Properties.c"
}
void properties_update_properties (Properties* self, Page* page) {
Page* _tmp0_ = NULL;
#line 135 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 135 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PAGE (page));
#line 136 "/home/jens/Source/shotwell/src/Properties.vala"
properties_clear_properties (self);
#line 137 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = page;
#line 137 "/home/jens/Source/shotwell/src/Properties.vala"
properties_internal_update_properties (self, _tmp0_);
#line 138 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1760 "Properties.c"
}
static void properties_real_internal_update_properties (Properties* self, Page* page) {
Page* _tmp0_ = NULL;
#line 141 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PAGE (page));
#line 142 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = page;
#line 142 "/home/jens/Source/shotwell/src/Properties.vala"
properties_get_properties (self, _tmp0_);
#line 1772 "Properties.c"
}
void properties_internal_update_properties (Properties* self, Page* page) {
#line 141 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 141 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_GET_CLASS (self)->internal_update_properties (self, page);
#line 1781 "Properties.c"
}
void properties_unselect_text (Properties* self) {
GList* _tmp0_ = NULL;
#line 145 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PROPERTIES (self));
#line 146 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer));
#line 1791 "Properties.c"
{
GList* child_collection = NULL;
GList* child_it = NULL;
#line 146 "/home/jens/Source/shotwell/src/Properties.vala"
child_collection = _tmp0_;
#line 146 "/home/jens/Source/shotwell/src/Properties.vala"
for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 1799 "Properties.c"
GtkWidget* _tmp1_ = NULL;
GtkWidget* child = NULL;
#line 146 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = _g_object_ref0 ((GtkWidget*) child_it->data);
#line 146 "/home/jens/Source/shotwell/src/Properties.vala"
child = _tmp1_;
#line 1806 "Properties.c"
{
GtkWidget* _tmp2_ = NULL;
#line 147 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = child;
#line 147 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_label_get_type ())) {
#line 1813 "Properties.c"
GtkWidget* _tmp3_ = NULL;
#line 148 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = child;
#line 148 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_label_select_region (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_label_get_type (), GtkLabel), 0, 0);
#line 1819 "Properties.c"
}
#line 146 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (child);
#line 1823 "Properties.c"
}
}
#line 146 "/home/jens/Source/shotwell/src/Properties.vala"
_g_list_free0 (child_collection);
#line 1828 "Properties.c"
}
}
static void properties_class_init (PropertiesClass * klass) {
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
properties_parent_class = g_type_class_peek_parent (klass);
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
g_type_class_add_private (klass, sizeof (PropertiesPrivate));
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->get_single_properties = properties_real_get_single_properties;
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->get_multiple_properties = properties_real_get_multiple_properties;
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->get_properties = properties_real_get_properties;
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->clear_properties = properties_real_clear_properties;
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->internal_update_properties = properties_real_internal_update_properties;
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (klass)->finalize = properties_finalize;
#line 1850 "Properties.c"
}
static void properties_instance_init (Properties * self) {
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv = PROPERTIES_GET_PRIVATE (self);
#line 8 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->line_count = (guint) 0;
#line 1859 "Properties.c"
}
static void properties_finalize (GObject* obj) {
Properties * self;
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROPERTIES, Properties);
#line 7 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (properties_parent_class)->finalize (obj);
#line 1869 "Properties.c"
}
GType properties_get_type (void) {
static volatile gsize properties_type_id__volatile = 0;
if (g_once_init_enter (&properties_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PropertiesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) properties_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Properties), 0, (GInstanceInitFunc) properties_instance_init, NULL };
GType properties_type_id;
properties_type_id = g_type_register_static (gtk_grid_get_type (), "Properties", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
g_once_init_leave (&properties_type_id__volatile, properties_type_id);
}
return properties_type_id__volatile;
}
BasicProperties* basic_properties_construct (GType object_type) {
BasicProperties * self = NULL;
#line 168 "/home/jens/Source/shotwell/src/Properties.vala"
self = (BasicProperties*) properties_construct (object_type);
#line 168 "/home/jens/Source/shotwell/src/Properties.vala"
return self;
#line 1891 "Properties.c"
}
BasicProperties* basic_properties_new (void) {
#line 168 "/home/jens/Source/shotwell/src/Properties.vala"
return basic_properties_construct (TYPE_BASIC_PROPERTIES);
#line 1898 "Properties.c"
}
static void basic_properties_real_clear_properties (Properties* base) {
BasicProperties * self;
gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
#line 171 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BASIC_PROPERTIES, BasicProperties);
#line 172 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (basic_properties_parent_class)->clear_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties));
#line 173 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = g_strdup ("");
#line 173 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->title);
#line 173 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->title = _tmp0_;
#line 174 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = (time_t) 0;
#line 175 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = (time_t) 0;
#line 176 "/home/jens/Source/shotwell/src/Properties.vala"
dimensions_init (&self->priv->dimensions, 0, 0);
#line 177 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->photo_count = -1;
#line 178 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->event_count = -1;
#line 179 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->video_count = -1;
#line 180 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = g_strdup ("");
#line 180 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure);
#line 180 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure = _tmp1_;
#line 181 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = g_strdup ("");
#line 181 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->aperture);
#line 181 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->aperture = _tmp2_;
#line 182 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = g_strdup ("");
#line 182 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->iso);
#line 182 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->iso = _tmp3_;
#line 183 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->clip_duration = 0.0;
#line 184 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = g_strdup ("");
#line 184 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->raw_developer);
#line 184 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->raw_developer = _tmp4_;
#line 185 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = g_strdup ("");
#line 185 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->raw_assoc);
#line 185 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->raw_assoc = _tmp5_;
#line 1964 "Properties.c"
}
static gpointer _media_metadata_ref0 (gpointer self) {
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
return self ? media_metadata_ref (self) : NULL;
#line 1971 "Properties.c"
}
static void basic_properties_real_get_single_properties (Properties* base, DataView* view) {
BasicProperties * self;
DataView* _tmp0_ = NULL;
DataSource* source = NULL;
DataView* _tmp1_ = NULL;
DataSource* _tmp2_ = NULL;
DataSource* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
DataSource* _tmp6_ = NULL;
#line 188 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BASIC_PROPERTIES, BasicProperties);
#line 188 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_DATA_VIEW (view));
#line 189 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = view;
#line 189 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (basic_properties_parent_class)->get_single_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp0_);
#line 191 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = view;
#line 191 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = data_view_get_source (_tmp1_);
#line 191 "/home/jens/Source/shotwell/src/Properties.vala"
source = _tmp2_;
#line 193 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = source;
#line 193 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
#line 193 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->title);
#line 193 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->title = _tmp4_;
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = source;
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, TYPE_PHOTO_SOURCE)) {
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = TRUE;
#line 2013 "Properties.c"
} else {
DataSource* _tmp7_ = NULL;
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = source;
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_PHOTO_IMPORT_SOURCE);
#line 2020 "Properties.c"
}
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp5_) {
#line 2024 "Properties.c"
time_t _tmp8_ = 0;
DataSource* _tmp9_ = NULL;
time_t _tmp14_ = 0;
PhotoMetadata* _tmp15_ = NULL;
DataSource* _tmp16_ = NULL;
PhotoMetadata* metadata = NULL;
PhotoMetadata* _tmp21_ = NULL;
PhotoMetadata* _tmp22_ = NULL;
DataSource* _tmp47_ = NULL;
gboolean _tmp50_ = FALSE;
DataSource* _tmp51_ = NULL;
#line 196 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = source;
#line 196 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, TYPE_PHOTO_SOURCE)) {
#line 2040 "Properties.c"
DataSource* _tmp10_ = NULL;
time_t _tmp11_ = 0;
#line 196 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = source;
#line 196 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_PHOTO_SOURCE, PhotoSource), TYPE_MEDIA_SOURCE, MediaSource));
#line 196 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = _tmp11_;
#line 2049 "Properties.c"
} else {
DataSource* _tmp12_ = NULL;
time_t _tmp13_ = 0;
#line 197 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = source;
#line 197 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource), TYPE_IMPORT_SOURCE, ImportSource));
#line 197 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = _tmp13_;
#line 2059 "Properties.c"
}
#line 196 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp8_;
#line 198 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = self->priv->start_time;
#line 198 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp14_;
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = source;
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_PHOTO_SOURCE)) {
#line 2071 "Properties.c"
DataSource* _tmp17_ = NULL;
PhotoMetadata* _tmp18_ = NULL;
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = source;
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = photo_source_get_metadata (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PHOTO_SOURCE, PhotoSource));
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (_tmp15_);
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = _tmp18_;
#line 2082 "Properties.c"
} else {
DataSource* _tmp19_ = NULL;
PhotoMetadata* _tmp20_ = NULL;
#line 201 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = source;
#line 201 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = photo_import_source_get_metadata (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource));
#line 201 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (_tmp15_);
#line 201 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = _tmp20_;
#line 2094 "Properties.c"
}
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = _media_metadata_ref0 (_tmp15_);
#line 200 "/home/jens/Source/shotwell/src/Properties.vala"
metadata = _tmp21_;
#line 203 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = metadata;
#line 203 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp22_ != NULL) {
#line 2104 "Properties.c"
PhotoMetadata* _tmp23_ = NULL;
gchar* _tmp24_ = NULL;
const gchar* _tmp25_ = NULL;
PhotoMetadata* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
const gchar* _tmp29_ = NULL;
PhotoMetadata* _tmp31_ = NULL;
gchar* _tmp32_ = NULL;
const gchar* _tmp33_ = NULL;
Dimensions _tmp35_ = {0};
PhotoMetadata* _tmp36_ = NULL;
Dimensions* _tmp37_ = NULL;
Dimensions* _tmp38_ = NULL;
gboolean _tmp39_ = FALSE;
#line 204 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = metadata;
#line 204 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = photo_metadata_get_exposure_string (_tmp23_);
#line 204 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure);
#line 204 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure = _tmp24_;
#line 205 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp25_ = self->priv->exposure;
#line 205 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp25_ == NULL) {
#line 2131 "Properties.c"
gchar* _tmp26_ = NULL;
#line 206 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp26_ = g_strdup ("");
#line 206 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure);
#line 206 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure = _tmp26_;
#line 2139 "Properties.c"
}
#line 208 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp27_ = metadata;
#line 208 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp28_ = photo_metadata_get_aperture_string (_tmp27_, TRUE);
#line 208 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->aperture);
#line 208 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->aperture = _tmp28_;
#line 209 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp29_ = self->priv->aperture;
#line 209 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp29_ == NULL) {
#line 2153 "Properties.c"
gchar* _tmp30_ = NULL;
#line 210 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp30_ = g_strdup ("");
#line 210 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->aperture);
#line 210 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->aperture = _tmp30_;
#line 2161 "Properties.c"
}
#line 212 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp31_ = metadata;
#line 212 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = photo_metadata_get_iso_string (_tmp31_);
#line 212 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->iso);
#line 212 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->iso = _tmp32_;
#line 213 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp33_ = self->priv->iso;
#line 213 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp33_ == NULL) {
#line 2175 "Properties.c"
gchar* _tmp34_ = NULL;
#line 214 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = g_strdup ("");
#line 214 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->iso);
#line 214 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->iso = _tmp34_;
#line 2183 "Properties.c"
}
#line 216 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp36_ = metadata;
#line 216 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp37_ = photo_metadata_get_pixel_dimensions (_tmp36_);
#line 216 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp38_ = _tmp37_;
#line 216 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp39_ = _tmp38_ != NULL;
#line 216 "/home/jens/Source/shotwell/src/Properties.vala"
_dimensions_free0 (_tmp38_);
#line 216 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp39_) {
#line 2197 "Properties.c"
PhotoMetadata* _tmp40_ = NULL;
Orientation _tmp41_ = 0;
PhotoMetadata* _tmp42_ = NULL;
Dimensions* _tmp43_ = NULL;
Dimensions* _tmp44_ = NULL;
Dimensions _tmp45_ = {0};
Dimensions _tmp46_ = {0};
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp40_ = metadata;
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp41_ = photo_metadata_get_orientation (_tmp40_);
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp42_ = metadata;
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp43_ = photo_metadata_get_pixel_dimensions (_tmp42_);
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = _tmp43_;
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp45_ = *_tmp44_;
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
orientation_rotate_dimensions (_tmp41_, &_tmp45_, &_tmp46_);
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp35_ = _tmp46_;
#line 217 "/home/jens/Source/shotwell/src/Properties.vala"
_dimensions_free0 (_tmp44_);
#line 2223 "Properties.c"
} else {
#line 218 "/home/jens/Source/shotwell/src/Properties.vala"
dimensions_init (&_tmp35_, 0, 0);
#line 2227 "Properties.c"
}
#line 216 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->dimensions = _tmp35_;
#line 2231 "Properties.c"
}
#line 221 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp47_ = source;
#line 221 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp47_, TYPE_PHOTO_SOURCE)) {
#line 2237 "Properties.c"
DataSource* _tmp48_ = NULL;
Dimensions _tmp49_ = {0};
#line 222 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp48_ = source;
#line 222 "/home/jens/Source/shotwell/src/Properties.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_PHOTO_SOURCE, PhotoSource), TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp49_);
#line 222 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->dimensions = _tmp49_;
#line 2246 "Properties.c"
}
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp51_ = source;
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, TYPE_PHOTO)) {
#line 2252 "Properties.c"
DataSource* _tmp52_ = NULL;
PhotoFileFormat _tmp53_ = 0;
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp52_ = source;
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp53_ = photo_get_master_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, TYPE_PHOTO, Photo));
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp50_ = _tmp53_ == PHOTO_FILE_FORMAT_RAW;
#line 2261 "Properties.c"
} else {
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp50_ = FALSE;
#line 2265 "Properties.c"
}
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp50_) {
#line 2269 "Properties.c"
Photo* photo = NULL;
DataSource* _tmp54_ = NULL;
Photo* _tmp55_ = NULL;
Photo* _tmp56_ = NULL;
RawDeveloper _tmp57_ = 0;
gchar* _tmp58_ = NULL;
const gchar* _tmp59_ = NULL;
Photo* _tmp60_ = NULL;
gboolean _tmp61_ = FALSE;
gchar* _tmp63_ = NULL;
#line 225 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp54_ = source;
#line 225 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp55_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp54_, TYPE_PHOTO) ? ((Photo*) _tmp54_) : NULL);
#line 225 "/home/jens/Source/shotwell/src/Properties.vala"
photo = _tmp55_;
#line 226 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp56_ = photo;
#line 226 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp57_ = photo_get_raw_developer (_tmp56_);
#line 226 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp58_ = raw_developer_get_label (_tmp57_);
#line 226 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->raw_developer);
#line 226 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->raw_developer = _tmp58_;
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp60_ = photo;
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp61_ = photo_is_raw_developer_available (_tmp60_, RAW_DEVELOPER_CAMERA);
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp61_) {
#line 2302 "Properties.c"
const gchar* _tmp62_ = NULL;
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp62_ = _ ("RAW+JPEG");
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp59_ = _tmp62_;
#line 2308 "Properties.c"
} else {
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp59_ = "";
#line 2312 "Properties.c"
}
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp63_ = g_strdup (_tmp59_);
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->raw_assoc);
#line 227 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->raw_assoc = _tmp63_;
#line 224 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (photo);
#line 2322 "Properties.c"
}
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (metadata);
#line 195 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (_tmp15_);
#line 2328 "Properties.c"
} else {
DataSource* _tmp64_ = NULL;
#line 229 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp64_ = source;
#line 229 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp64_, TYPE_EVENT_SOURCE)) {
#line 2335 "Properties.c"
EventSource* event_source = NULL;
DataSource* _tmp65_ = NULL;
EventSource* _tmp66_ = NULL;
EventSource* _tmp67_ = NULL;
time_t _tmp68_ = 0;
EventSource* _tmp69_ = NULL;
time_t _tmp70_ = 0;
gint event_photo_count = 0;
gint event_video_count = 0;
EventSource* _tmp71_ = NULL;
GeeCollection* _tmp72_ = NULL;
GeeCollection* _tmp73_ = NULL;
gint _tmp74_ = 0;
gint _tmp75_ = 0;
gint _tmp76_ = 0;
gint _tmp77_ = 0;
#line 230 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp65_ = source;
#line 230 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp66_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, TYPE_EVENT_SOURCE, EventSource));
#line 230 "/home/jens/Source/shotwell/src/Properties.vala"
event_source = _tmp66_;
#line 232 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp67_ = event_source;
#line 232 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp68_ = event_source_get_start_time (_tmp67_);
#line 232 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp68_;
#line 233 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp69_ = event_source;
#line 233 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp70_ = event_source_get_end_time (_tmp69_);
#line 233 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp70_;
#line 237 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp71_ = event_source;
#line 237 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp72_ = event_source_get_media (_tmp71_);
#line 237 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp73_ = _tmp72_;
#line 237 "/home/jens/Source/shotwell/src/Properties.vala"
media_source_collection_count_media (_tmp73_, &_tmp74_, &_tmp75_);
#line 237 "/home/jens/Source/shotwell/src/Properties.vala"
event_photo_count = _tmp74_;
#line 237 "/home/jens/Source/shotwell/src/Properties.vala"
event_video_count = _tmp75_;
#line 237 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_tmp73_);
#line 240 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp76_ = event_photo_count;
#line 240 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->photo_count = _tmp76_;
#line 241 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp77_ = event_video_count;
#line 241 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->video_count = _tmp77_;
#line 229 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (event_source);
#line 2394 "Properties.c"
} else {
gboolean _tmp78_ = FALSE;
DataSource* _tmp79_ = NULL;
#line 242 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp79_ = source;
#line 242 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp79_, TYPE_VIDEO_SOURCE)) {
#line 242 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp78_ = TRUE;
#line 2404 "Properties.c"
} else {
DataSource* _tmp80_ = NULL;
#line 242 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp80_ = source;
#line 242 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp78_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp80_, TYPE_VIDEO_IMPORT_SOURCE);
#line 2411 "Properties.c"
}
#line 242 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp78_) {
#line 2415 "Properties.c"
DataSource* _tmp81_ = NULL;
time_t _tmp94_ = 0;
#line 243 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp81_ = source;
#line 243 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp81_, TYPE_VIDEO_SOURCE)) {
#line 2422 "Properties.c"
Video* video = NULL;
DataSource* _tmp82_ = NULL;
Video* _tmp83_ = NULL;
Video* _tmp84_ = NULL;
gdouble _tmp85_ = 0.0;
Video* _tmp86_ = NULL;
gboolean _tmp87_ = FALSE;
Video* _tmp90_ = NULL;
time_t _tmp91_ = 0;
#line 244 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp82_ = source;
#line 244 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp83_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, TYPE_VIDEO, Video));
#line 244 "/home/jens/Source/shotwell/src/Properties.vala"
video = _tmp83_;
#line 245 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp84_ = video;
#line 245 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp85_ = video_get_clip_duration (_tmp84_);
#line 245 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->clip_duration = _tmp85_;
#line 247 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp86_ = video;
#line 247 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp87_ = video_get_is_interpretable (_tmp86_);
#line 247 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp87_) {
#line 2450 "Properties.c"
Video* _tmp88_ = NULL;
Dimensions _tmp89_ = {0};
#line 248 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp88_ = video;
#line 248 "/home/jens/Source/shotwell/src/Properties.vala"
video_get_frame_dimensions (_tmp88_, &_tmp89_);
#line 248 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->dimensions = _tmp89_;
#line 2459 "Properties.c"
}
#line 250 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp90_ = video;
#line 250 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp91_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, TYPE_MEDIA_SOURCE, MediaSource));
#line 250 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp91_;
#line 243 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (video);
#line 2469 "Properties.c"
} else {
DataSource* _tmp92_ = NULL;
time_t _tmp93_ = 0;
#line 252 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp92_ = source;
#line 252 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp93_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp92_, TYPE_VIDEO_IMPORT_SOURCE, VideoImportSource), TYPE_IMPORT_SOURCE, ImportSource));
#line 252 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp93_;
#line 2479 "Properties.c"
}
#line 254 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp94_ = self->priv->start_time;
#line 254 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp94_;
#line 2485 "Properties.c"
}
}
}
#line 188 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (source);
#line 2491 "Properties.c"
}
static void basic_properties_real_get_multiple_properties (Properties* base, GeeIterable* iter) {
BasicProperties * self;
GeeIterable* _tmp0_ = NULL;
#line 258 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BASIC_PROPERTIES, BasicProperties);
#line 258 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail ((iter == NULL) || GEE_IS_ITERABLE (iter));
#line 259 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = iter;
#line 259 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (basic_properties_parent_class)->get_multiple_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp0_);
#line 261 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->photo_count = 0;
#line 262 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->video_count = 0;
#line 2510 "Properties.c"
{
GeeIterator* _view_it = NULL;
GeeIterable* _tmp1_ = NULL;
GeeIterator* _tmp2_ = NULL;
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = iter;
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = gee_iterable_iterator (_tmp1_);
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_view_it = _tmp2_;
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
while (TRUE) {
#line 2523 "Properties.c"
GeeIterator* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
DataView* view = NULL;
GeeIterator* _tmp5_ = NULL;
gpointer _tmp6_ = NULL;
DataSource* source = NULL;
DataView* _tmp7_ = NULL;
DataSource* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
DataSource* _tmp10_ = NULL;
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = _view_it;
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = gee_iterator_next (_tmp3_);
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
if (!_tmp4_) {
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
break;
#line 2542 "Properties.c"
}
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = _view_it;
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = gee_iterator_get (_tmp5_);
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
view = (DataView*) _tmp6_;
#line 264 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = view;
#line 264 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = data_view_get_source (_tmp7_);
#line 264 "/home/jens/Source/shotwell/src/Properties.vala"
source = _tmp8_;
#line 266 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = source;
#line 266 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, TYPE_PHOTO_SOURCE)) {
#line 266 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = TRUE;
#line 2562 "Properties.c"
} else {
DataSource* _tmp11_ = NULL;
#line 266 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = source;
#line 266 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp11_, TYPE_PHOTO_IMPORT_SOURCE);
#line 2569 "Properties.c"
}
#line 266 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp9_) {
#line 2573 "Properties.c"
time_t _tmp12_ = 0;
DataSource* _tmp13_ = NULL;
time_t exposure_time = 0;
time_t _tmp18_ = 0;
gint _tmp29_ = 0;
#line 267 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = source;
#line 267 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_PHOTO_SOURCE)) {
#line 2583 "Properties.c"
DataSource* _tmp14_ = NULL;
time_t _tmp15_ = 0;
#line 268 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = source;
#line 268 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PHOTO_SOURCE, PhotoSource), TYPE_MEDIA_SOURCE, MediaSource));
#line 268 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = _tmp15_;
#line 2592 "Properties.c"
} else {
DataSource* _tmp16_ = NULL;
time_t _tmp17_ = 0;
#line 269 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = source;
#line 269 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource), TYPE_IMPORT_SOURCE, ImportSource));
#line 269 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = _tmp17_;
#line 2602 "Properties.c"
}
#line 267 "/home/jens/Source/shotwell/src/Properties.vala"
exposure_time = _tmp12_;
#line 271 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = exposure_time;
#line 271 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp18_ != ((time_t) 0)) {
#line 2610 "Properties.c"
gboolean _tmp19_ = FALSE;
time_t _tmp20_ = 0;
gboolean _tmp24_ = FALSE;
time_t _tmp25_ = 0;
#line 272 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = self->priv->start_time;
#line 272 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp20_ == ((time_t) 0)) {
#line 272 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = TRUE;
#line 2621 "Properties.c"
} else {
time_t _tmp21_ = 0;
time_t _tmp22_ = 0;
#line 272 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = exposure_time;
#line 272 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = self->priv->start_time;
#line 272 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = _tmp21_ < _tmp22_;
#line 2631 "Properties.c"
}
#line 272 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp19_) {
#line 2635 "Properties.c"
time_t _tmp23_ = 0;
#line 273 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = exposure_time;
#line 273 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp23_;
#line 2641 "Properties.c"
}
#line 275 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp25_ = self->priv->end_time;
#line 275 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp25_ == ((time_t) 0)) {
#line 275 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = TRUE;
#line 2649 "Properties.c"
} else {
time_t _tmp26_ = 0;
time_t _tmp27_ = 0;
#line 275 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp26_ = exposure_time;
#line 275 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp27_ = self->priv->end_time;
#line 275 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = _tmp26_ > _tmp27_;
#line 2659 "Properties.c"
}
#line 275 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp24_) {
#line 2663 "Properties.c"
time_t _tmp28_ = 0;
#line 276 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp28_ = exposure_time;
#line 276 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp28_;
#line 2669 "Properties.c"
}
}
#line 279 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp29_ = self->priv->photo_count;
#line 279 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->photo_count = _tmp29_ + 1;
#line 2676 "Properties.c"
} else {
DataSource* _tmp30_ = NULL;
#line 280 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp30_ = source;
#line 280 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_EVENT_SOURCE)) {
#line 2683 "Properties.c"
EventSource* event_source = NULL;
DataSource* _tmp31_ = NULL;
EventSource* _tmp32_ = NULL;
gint _tmp33_ = 0;
gboolean _tmp34_ = FALSE;
gboolean _tmp35_ = FALSE;
time_t _tmp36_ = 0;
gboolean _tmp44_ = FALSE;
gboolean _tmp45_ = FALSE;
time_t _tmp46_ = 0;
gint event_photo_count = 0;
gint event_video_count = 0;
EventSource* _tmp61_ = NULL;
GeeCollection* _tmp62_ = NULL;
GeeCollection* _tmp63_ = NULL;
gint _tmp64_ = 0;
gint _tmp65_ = 0;
gint _tmp66_ = 0;
gint _tmp67_ = 0;
gint _tmp68_ = 0;
gint _tmp69_ = 0;
gint _tmp70_ = 0;
#line 281 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp31_ = source;
#line 281 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_EVENT_SOURCE, EventSource));
#line 281 "/home/jens/Source/shotwell/src/Properties.vala"
event_source = _tmp32_;
#line 283 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp33_ = self->priv->event_count;
#line 283 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp33_ == -1) {
#line 284 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->event_count = 0;
#line 2718 "Properties.c"
}
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp36_ = self->priv->start_time;
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp36_ == ((time_t) 0)) {
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp35_ = TRUE;
#line 2726 "Properties.c"
} else {
EventSource* _tmp37_ = NULL;
time_t _tmp38_ = 0;
time_t _tmp39_ = 0;
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp37_ = event_source;
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp38_ = event_source_get_start_time (_tmp37_);
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp39_ = self->priv->start_time;
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp35_ = _tmp38_ < _tmp39_;
#line 2739 "Properties.c"
}
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp35_) {
#line 2743 "Properties.c"
EventSource* _tmp40_ = NULL;
time_t _tmp41_ = 0;
#line 287 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp40_ = event_source;
#line 287 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp41_ = event_source_get_start_time (_tmp40_);
#line 287 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = _tmp41_ != ((time_t) 0);
#line 2752 "Properties.c"
} else {
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = FALSE;
#line 2756 "Properties.c"
}
#line 286 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp34_) {
#line 2760 "Properties.c"
EventSource* _tmp42_ = NULL;
time_t _tmp43_ = 0;
#line 288 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp42_ = event_source;
#line 288 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp43_ = event_source_get_start_time (_tmp42_);
#line 288 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp43_;
#line 2769 "Properties.c"
}
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp46_ = self->priv->end_time;
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp46_ == ((time_t) 0)) {
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp45_ = TRUE;
#line 2777 "Properties.c"
} else {
EventSource* _tmp47_ = NULL;
time_t _tmp48_ = 0;
time_t _tmp49_ = 0;
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp47_ = event_source;
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp48_ = event_source_get_end_time (_tmp47_);
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp49_ = self->priv->end_time;
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp45_ = _tmp48_ > _tmp49_;
#line 2790 "Properties.c"
}
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp45_) {
#line 2794 "Properties.c"
EventSource* _tmp50_ = NULL;
time_t _tmp51_ = 0;
#line 291 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp50_ = event_source;
#line 291 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp51_ = event_source_get_end_time (_tmp50_);
#line 291 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = _tmp51_ != ((time_t) 0);
#line 2803 "Properties.c"
} else {
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = FALSE;
#line 2807 "Properties.c"
}
#line 290 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp44_) {
#line 2811 "Properties.c"
EventSource* _tmp52_ = NULL;
time_t _tmp53_ = 0;
#line 292 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp52_ = event_source;
#line 292 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp53_ = event_source_get_end_time (_tmp52_);
#line 292 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp53_;
#line 2820 "Properties.c"
} else {
gboolean _tmp54_ = FALSE;
time_t _tmp55_ = 0;
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp55_ = self->priv->end_time;
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp55_ == ((time_t) 0)) {
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp54_ = TRUE;
#line 2830 "Properties.c"
} else {
EventSource* _tmp56_ = NULL;
time_t _tmp57_ = 0;
time_t _tmp58_ = 0;
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp56_ = event_source;
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp57_ = event_source_get_start_time (_tmp56_);
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp58_ = self->priv->end_time;
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp54_ = _tmp57_ > _tmp58_;
#line 2843 "Properties.c"
}
#line 293 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp54_) {
#line 2847 "Properties.c"
EventSource* _tmp59_ = NULL;
time_t _tmp60_ = 0;
#line 294 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp59_ = event_source;
#line 294 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp60_ = event_source_get_start_time (_tmp59_);
#line 294 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp60_;
#line 2856 "Properties.c"
}
}
#line 299 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp61_ = event_source;
#line 299 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp62_ = event_source_get_media (_tmp61_);
#line 299 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp63_ = _tmp62_;
#line 299 "/home/jens/Source/shotwell/src/Properties.vala"
media_source_collection_count_media (_tmp63_, &_tmp64_, &_tmp65_);
#line 299 "/home/jens/Source/shotwell/src/Properties.vala"
event_photo_count = _tmp64_;
#line 299 "/home/jens/Source/shotwell/src/Properties.vala"
event_video_count = _tmp65_;
#line 299 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_tmp63_);
#line 302 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp66_ = self->priv->photo_count;
#line 302 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp67_ = event_photo_count;
#line 302 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->photo_count = _tmp66_ + _tmp67_;
#line 303 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp68_ = self->priv->video_count;
#line 303 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp69_ = event_video_count;
#line 303 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->video_count = _tmp68_ + _tmp69_;
#line 304 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp70_ = self->priv->event_count;
#line 304 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->event_count = _tmp70_ + 1;
#line 280 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (event_source);
#line 2891 "Properties.c"
} else {
gboolean _tmp71_ = FALSE;
DataSource* _tmp72_ = NULL;
#line 305 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp72_ = source;
#line 305 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp72_, TYPE_VIDEO_SOURCE)) {
#line 305 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp71_ = TRUE;
#line 2901 "Properties.c"
} else {
DataSource* _tmp73_ = NULL;
#line 305 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp73_ = source;
#line 305 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp71_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp73_, TYPE_VIDEO_IMPORT_SOURCE);
#line 2908 "Properties.c"
}
#line 305 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp71_) {
#line 2912 "Properties.c"
time_t _tmp74_ = 0;
DataSource* _tmp75_ = NULL;
time_t exposure_time = 0;
time_t _tmp80_ = 0;
gint _tmp91_ = 0;
#line 306 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp75_ = source;
#line 306 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp75_, TYPE_VIDEO_SOURCE)) {
#line 2922 "Properties.c"
DataSource* _tmp76_ = NULL;
time_t _tmp77_ = 0;
#line 307 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp76_ = source;
#line 307 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp77_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, TYPE_VIDEO_SOURCE, VideoSource), TYPE_MEDIA_SOURCE, MediaSource));
#line 307 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp74_ = _tmp77_;
#line 2931 "Properties.c"
} else {
DataSource* _tmp78_ = NULL;
time_t _tmp79_ = 0;
#line 308 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp78_ = source;
#line 308 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp79_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, TYPE_VIDEO_IMPORT_SOURCE, VideoImportSource), TYPE_IMPORT_SOURCE, ImportSource));
#line 308 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp74_ = _tmp79_;
#line 2941 "Properties.c"
}
#line 306 "/home/jens/Source/shotwell/src/Properties.vala"
exposure_time = _tmp74_;
#line 310 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp80_ = exposure_time;
#line 310 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp80_ != ((time_t) 0)) {
#line 2949 "Properties.c"
gboolean _tmp81_ = FALSE;
time_t _tmp82_ = 0;
gboolean _tmp86_ = FALSE;
time_t _tmp87_ = 0;
#line 311 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp82_ = self->priv->start_time;
#line 311 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp82_ == ((time_t) 0)) {
#line 311 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp81_ = TRUE;
#line 2960 "Properties.c"
} else {
time_t _tmp83_ = 0;
time_t _tmp84_ = 0;
#line 311 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp83_ = exposure_time;
#line 311 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp84_ = self->priv->start_time;
#line 311 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp81_ = _tmp83_ < _tmp84_;
#line 2970 "Properties.c"
}
#line 311 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp81_) {
#line 2974 "Properties.c"
time_t _tmp85_ = 0;
#line 312 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp85_ = exposure_time;
#line 312 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp85_;
#line 2980 "Properties.c"
}
#line 314 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp87_ = self->priv->end_time;
#line 314 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp87_ == ((time_t) 0)) {
#line 314 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp86_ = TRUE;
#line 2988 "Properties.c"
} else {
time_t _tmp88_ = 0;
time_t _tmp89_ = 0;
#line 314 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp88_ = exposure_time;
#line 314 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp89_ = self->priv->end_time;
#line 314 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp86_ = _tmp88_ > _tmp89_;
#line 2998 "Properties.c"
}
#line 314 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp86_) {
#line 3002 "Properties.c"
time_t _tmp90_ = 0;
#line 315 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp90_ = exposure_time;
#line 315 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp90_;
#line 3008 "Properties.c"
}
}
#line 318 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp91_ = self->priv->video_count;
#line 318 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->video_count = _tmp91_ + 1;
#line 3015 "Properties.c"
}
}
}
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (source);
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (view);
#line 3023 "Properties.c"
}
#line 263 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_view_it);
#line 3027 "Properties.c"
}
}
static void basic_properties_real_get_properties (Properties* base, Page* current_page) {
BasicProperties * self;
Page* _tmp0_ = NULL;
time_t _tmp1_ = 0;
time_t _tmp3_ = 0;
#line 323 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BASIC_PROPERTIES, BasicProperties);
#line 323 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PAGE (current_page));
#line 324 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = current_page;
#line 324 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (basic_properties_parent_class)->get_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp0_);
#line 326 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = self->priv->end_time;
#line 326 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp1_ == ((time_t) 0)) {
#line 3049 "Properties.c"
time_t _tmp2_ = 0;
#line 327 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = self->priv->start_time;
#line 327 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp2_;
#line 3055 "Properties.c"
}
#line 328 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = self->priv->start_time;
#line 328 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp3_ == ((time_t) 0)) {
#line 3061 "Properties.c"
time_t _tmp4_ = 0;
#line 329 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = self->priv->end_time;
#line 329 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp4_;
#line 3067 "Properties.c"
}
}
static void basic_properties_real_internal_update_properties (Properties* base, Page* page) {
BasicProperties * self;
Page* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
const gchar* _tmp2_ = NULL;
const gchar* _tmp8_ = NULL;
gboolean _tmp13_ = FALSE;
gint _tmp14_ = 0;
time_t _tmp43_ = 0;
gboolean _tmp72_ = FALSE;
gdouble _tmp84_ = 0.0;
const gchar* _tmp90_ = NULL;
const gchar* _tmp93_ = NULL;
gboolean _tmp95_ = FALSE;
gboolean _tmp96_ = FALSE;
const gchar* _tmp97_ = NULL;
#line 332 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BASIC_PROPERTIES, BasicProperties);
#line 332 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PAGE (page));
#line 333 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = page;
#line 333 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (basic_properties_parent_class)->internal_update_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp0_);
#line 336 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = self->priv->title;
#line 336 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp2_, "") == 0) {
#line 3100 "Properties.c"
Page* _tmp3_ = NULL;
#line 336 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = page;
#line 336 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, TYPE_TAG_PAGE);
#line 3106 "Properties.c"
} else {
#line 336 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = FALSE;
#line 3110 "Properties.c"
}
#line 336 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp1_) {
#line 3114 "Properties.c"
Page* _tmp4_ = NULL;
Tag* _tmp5_ = NULL;
Tag* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
#line 337 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = page;
#line 337 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = tag_page_get_tag (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_TAG_PAGE, TagPage));
#line 337 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = _tmp5_;
#line 337 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = tag_get_user_visible_name (_tmp6_);
#line 337 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->title);
#line 337 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->title = _tmp7_;
#line 337 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_tmp6_);
#line 3133 "Properties.c"
}
#line 339 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = self->priv->title;
#line 339 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp8_, "") != 0) {
#line 3139 "Properties.c"
const gchar* _tmp9_ = NULL;
const gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
#line 340 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = _ ("Title:");
#line 340 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = self->priv->title;
#line 340 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = guarded_markup_escape_text (_tmp10_);
#line 340 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = _tmp11_;
#line 340 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp9_, _tmp12_, FALSE);
#line 340 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp12_);
#line 3156 "Properties.c"
}
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = self->priv->photo_count;
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp14_ >= 0) {
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = TRUE;
#line 3164 "Properties.c"
} else {
gint _tmp15_ = 0;
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = self->priv->video_count;
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = _tmp15_ >= 0;
#line 3171 "Properties.c"
}
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp13_) {
#line 3175 "Properties.c"
gchar* label = NULL;
const gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gint _tmp18_ = 0;
gchar* photo_num_string = NULL;
gint _tmp26_ = 0;
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gchar* _tmp29_ = NULL;
gchar* video_num_string = NULL;
gint _tmp30_ = 0;
const gchar* _tmp31_ = NULL;
gint _tmp32_ = 0;
gchar* _tmp33_ = NULL;
gboolean _tmp34_ = FALSE;
gint _tmp35_ = 0;
const gchar* _tmp39_ = NULL;
const gchar* _tmp40_ = NULL;
gint _tmp41_ = 0;
#line 343 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = _ ("Items:");
#line 343 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = g_strdup (_tmp16_);
#line 343 "/home/jens/Source/shotwell/src/Properties.vala"
label = _tmp17_;
#line 345 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = self->priv->event_count;
#line 345 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp18_ >= 0) {
#line 3205 "Properties.c"
gchar* event_num_string = NULL;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
gint _tmp21_ = 0;
gchar* _tmp22_ = NULL;
const gchar* _tmp23_ = NULL;
const gchar* _tmp24_ = NULL;
gchar* _tmp25_ = NULL;
#line 346 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = self->priv->event_count;
#line 346 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = ngettext ("%d Event", "%d Events", (gulong) _tmp19_);
#line 346 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = self->priv->event_count;
#line 346 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = g_strdup_printf (_tmp20_, _tmp21_);
#line 346 "/home/jens/Source/shotwell/src/Properties.vala"
event_num_string = _tmp22_;
#line 349 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = label;
#line 349 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = event_num_string;
#line 349 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp23_, _tmp24_, FALSE);
#line 350 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp25_ = g_strdup ("");
#line 350 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (label);
#line 350 "/home/jens/Source/shotwell/src/Properties.vala"
label = _tmp25_;
#line 345 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (event_num_string);
#line 3238 "Properties.c"
}
#line 353 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp26_ = self->priv->photo_count;
#line 353 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp27_ = ngettext ("%d Photo", "%d Photos", (gulong) _tmp26_);
#line 353 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp28_ = self->priv->photo_count;
#line 353 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp29_ = g_strdup_printf (_tmp27_, _tmp28_);
#line 353 "/home/jens/Source/shotwell/src/Properties.vala"
photo_num_string = _tmp29_;
#line 355 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp30_ = self->priv->video_count;
#line 355 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp31_ = ngettext ("%d Video", "%d Videos", (gulong) _tmp30_);
#line 355 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = self->priv->video_count;
#line 355 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp33_ = g_strdup_printf (_tmp31_, _tmp32_);
#line 355 "/home/jens/Source/shotwell/src/Properties.vala"
video_num_string = _tmp33_;
#line 358 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp35_ = self->priv->photo_count;
#line 358 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp35_ == 0) {
#line 3264 "Properties.c"
gint _tmp36_ = 0;
#line 358 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp36_ = self->priv->video_count;
#line 358 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = _tmp36_ > 0;
#line 3270 "Properties.c"
} else {
#line 358 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = FALSE;
#line 3274 "Properties.c"
}
#line 358 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp34_) {
#line 3278 "Properties.c"
const gchar* _tmp37_ = NULL;
const gchar* _tmp38_ = NULL;
#line 359 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp37_ = label;
#line 359 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp38_ = video_num_string;
#line 359 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp37_, _tmp38_, FALSE);
#line 360 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (video_num_string);
#line 360 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (photo_num_string);
#line 360 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (label);
#line 360 "/home/jens/Source/shotwell/src/Properties.vala"
return;
#line 3295 "Properties.c"
}
#line 363 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp39_ = label;
#line 363 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp40_ = photo_num_string;
#line 363 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp39_, _tmp40_, FALSE);
#line 365 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp41_ = self->priv->video_count;
#line 365 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp41_ > 0) {
#line 3307 "Properties.c"
const gchar* _tmp42_ = NULL;
#line 366 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp42_ = video_num_string;
#line 366 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), "", _tmp42_, FALSE);
#line 3313 "Properties.c"
}
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (video_num_string);
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (photo_num_string);
#line 342 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (label);
#line 3321 "Properties.c"
}
#line 369 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp43_ = self->priv->start_time;
#line 369 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp43_ != ((time_t) 0)) {
#line 3327 "Properties.c"
gchar* start_date = NULL;
time_t _tmp44_ = 0;
struct tm _tmp45_ = {0};
gchar* _tmp46_ = NULL;
gchar* start_time = NULL;
time_t _tmp47_ = 0;
struct tm _tmp48_ = {0};
gchar* _tmp49_ = NULL;
gchar* end_date = NULL;
time_t _tmp50_ = 0;
struct tm _tmp51_ = {0};
gchar* _tmp52_ = NULL;
gchar* end_time = NULL;
time_t _tmp53_ = 0;
struct tm _tmp54_ = {0};
gchar* _tmp55_ = NULL;
const gchar* _tmp56_ = NULL;
const gchar* _tmp57_ = NULL;
#line 370 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = self->priv->start_time;
#line 370 "/home/jens/Source/shotwell/src/Properties.vala"
g_time_local (_tmp44_, &_tmp45_);
#line 370 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp46_ = properties_get_prettyprint_date (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), &_tmp45_);
#line 370 "/home/jens/Source/shotwell/src/Properties.vala"
start_date = _tmp46_;
#line 371 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp47_ = self->priv->start_time;
#line 371 "/home/jens/Source/shotwell/src/Properties.vala"
g_time_local (_tmp47_, &_tmp48_);
#line 371 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp49_ = properties_get_prettyprint_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), &_tmp48_);
#line 371 "/home/jens/Source/shotwell/src/Properties.vala"
start_time = _tmp49_;
#line 372 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp50_ = self->priv->end_time;
#line 372 "/home/jens/Source/shotwell/src/Properties.vala"
g_time_local (_tmp50_, &_tmp51_);
#line 372 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp52_ = properties_get_prettyprint_date (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), &_tmp51_);
#line 372 "/home/jens/Source/shotwell/src/Properties.vala"
end_date = _tmp52_;
#line 373 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp53_ = self->priv->end_time;
#line 373 "/home/jens/Source/shotwell/src/Properties.vala"
g_time_local (_tmp53_, &_tmp54_);
#line 373 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp55_ = properties_get_prettyprint_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), &_tmp54_);
#line 373 "/home/jens/Source/shotwell/src/Properties.vala"
end_time = _tmp55_;
#line 375 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp56_ = start_date;
#line 375 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp57_ = end_date;
#line 375 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp56_, _tmp57_) == 0) {
#line 3384 "Properties.c"
const gchar* _tmp58_ = NULL;
const gchar* _tmp59_ = NULL;
const gchar* _tmp60_ = NULL;
const gchar* _tmp61_ = NULL;
#line 377 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp58_ = _ ("Date:");
#line 377 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp59_ = start_date;
#line 377 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp58_, _tmp59_, FALSE);
#line 379 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp60_ = start_time;
#line 379 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp61_ = end_time;
#line 379 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp60_, _tmp61_) == 0) {
#line 3401 "Properties.c"
const gchar* _tmp62_ = NULL;
const gchar* _tmp63_ = NULL;
#line 381 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp62_ = _ ("Time:");
#line 381 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp63_ = start_time;
#line 381 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp62_, _tmp63_, FALSE);
#line 3410 "Properties.c"
} else {
const gchar* _tmp64_ = NULL;
const gchar* _tmp65_ = NULL;
const gchar* _tmp66_ = NULL;
const gchar* _tmp67_ = NULL;
#line 384 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp64_ = _ ("From:");
#line 384 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp65_ = start_time;
#line 384 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp64_, _tmp65_, FALSE);
#line 385 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp66_ = _ ("To:");
#line 385 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp67_ = end_time;
#line 385 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp66_, _tmp67_, FALSE);
#line 3428 "Properties.c"
}
} else {
const gchar* _tmp68_ = NULL;
const gchar* _tmp69_ = NULL;
const gchar* _tmp70_ = NULL;
const gchar* _tmp71_ = NULL;
#line 389 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp68_ = _ ("From:");
#line 389 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp69_ = start_date;
#line 389 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp68_, _tmp69_, FALSE);
#line 390 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp70_ = _ ("To:");
#line 390 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp71_ = end_date;
#line 390 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp70_, _tmp71_, FALSE);
#line 3447 "Properties.c"
}
#line 369 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (end_time);
#line 369 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (end_date);
#line 369 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (start_time);
#line 369 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (start_date);
#line 3457 "Properties.c"
}
#line 394 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp72_ = dimensions_has_area (&self->priv->dimensions);
#line 394 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp72_) {
#line 3463 "Properties.c"
gchar* label = NULL;
const gchar* _tmp73_ = NULL;
gchar* _tmp74_ = NULL;
gboolean _tmp75_ = FALSE;
#line 395 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp73_ = _ ("Size:");
#line 395 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp74_ = g_strdup (_tmp73_);
#line 395 "/home/jens/Source/shotwell/src/Properties.vala"
label = _tmp74_;
#line 397 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp75_ = dimensions_has_area (&self->priv->dimensions);
#line 397 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp75_) {
#line 3478 "Properties.c"
const gchar* _tmp76_ = NULL;
Dimensions _tmp77_ = {0};
gint _tmp78_ = 0;
Dimensions _tmp79_ = {0};
gint _tmp80_ = 0;
gchar* _tmp81_ = NULL;
gchar* _tmp82_ = NULL;
gchar* _tmp83_ = NULL;
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp76_ = label;
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp77_ = self->priv->dimensions;
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp78_ = _tmp77_.width;
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp79_ = self->priv->dimensions;
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp80_ = _tmp79_.height;
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp81_ = g_strdup_printf ("%d × %d", _tmp78_, _tmp80_);
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp82_ = _tmp81_;
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp76_, _tmp82_, FALSE);
#line 398 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp82_);
#line 399 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp83_ = g_strdup ("");
#line 399 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (label);
#line 399 "/home/jens/Source/shotwell/src/Properties.vala"
label = _tmp83_;
#line 3511 "Properties.c"
}
#line 394 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (label);
#line 3515 "Properties.c"
}
#line 403 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp84_ = self->priv->clip_duration;
#line 403 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp84_ > 0.0) {
#line 3521 "Properties.c"
const gchar* _tmp85_ = NULL;
const gchar* _tmp86_ = NULL;
gdouble _tmp87_ = 0.0;
gchar* _tmp88_ = NULL;
gchar* _tmp89_ = NULL;
#line 404 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp85_ = _ ("Duration:");
#line 404 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp86_ = _ ("%.1f seconds");
#line 404 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp87_ = self->priv->clip_duration;
#line 404 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp88_ = g_strdup_printf (_tmp86_, _tmp87_);
#line 404 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp89_ = _tmp88_;
#line 404 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp85_, _tmp89_, FALSE);
#line 404 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp89_);
#line 3541 "Properties.c"
}
#line 407 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp90_ = self->priv->raw_developer;
#line 407 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp90_, "") != 0) {
#line 3547 "Properties.c"
const gchar* _tmp91_ = NULL;
const gchar* _tmp92_ = NULL;
#line 408 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp91_ = _ ("Developer:");
#line 408 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp92_ = self->priv->raw_developer;
#line 408 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp91_, _tmp92_, FALSE);
#line 3556 "Properties.c"
}
#line 412 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp93_ = self->priv->raw_assoc;
#line 412 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp93_, "") != 0) {
#line 3562 "Properties.c"
const gchar* _tmp94_ = NULL;
#line 413 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp94_ = self->priv->raw_assoc;
#line 413 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), "", _tmp94_, FALSE);
#line 3568 "Properties.c"
}
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp97_ = self->priv->exposure;
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp97_, "") != 0) {
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp96_ = TRUE;
#line 3576 "Properties.c"
} else {
const gchar* _tmp98_ = NULL;
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp98_ = self->priv->aperture;
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp96_ = g_strcmp0 (_tmp98_, "") != 0;
#line 3583 "Properties.c"
}
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp96_) {
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp95_ = TRUE;
#line 3589 "Properties.c"
} else {
const gchar* _tmp99_ = NULL;
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp99_ = self->priv->iso;
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp95_ = g_strcmp0 (_tmp99_, "") != 0;
#line 3596 "Properties.c"
}
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp95_) {
#line 3600 "Properties.c"
gchar* line = NULL;
const gchar* _tmp100_ = NULL;
const gchar* _tmp103_ = NULL;
gboolean _tmp112_ = FALSE;
gboolean _tmp113_ = FALSE;
const gchar* _tmp114_ = NULL;
#line 416 "/home/jens/Source/shotwell/src/Properties.vala"
line = NULL;
#line 419 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp100_ = self->priv->exposure;
#line 419 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp100_, "") != 0) {
#line 3613 "Properties.c"
const gchar* _tmp101_ = NULL;
gchar* _tmp102_ = NULL;
#line 420 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp101_ = self->priv->exposure;
#line 420 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp102_ = g_strdup (_tmp101_);
#line 420 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (line);
#line 420 "/home/jens/Source/shotwell/src/Properties.vala"
line = _tmp102_;
#line 3624 "Properties.c"
}
#line 422 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp103_ = self->priv->aperture;
#line 422 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp103_, "") != 0) {
#line 3630 "Properties.c"
const gchar* _tmp104_ = NULL;
#line 423 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp104_ = line;
#line 423 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp104_ != NULL) {
#line 3636 "Properties.c"
const gchar* _tmp105_ = NULL;
const gchar* _tmp106_ = NULL;
gchar* _tmp107_ = NULL;
gchar* _tmp108_ = NULL;
gchar* _tmp109_ = NULL;
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp105_ = line;
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp106_ = self->priv->aperture;
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp107_ = g_strconcat (", ", _tmp106_, NULL);
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp108_ = _tmp107_;
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp109_ = g_strconcat (_tmp105_, _tmp108_, NULL);
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (line);
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
line = _tmp109_;
#line 424 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp108_);
#line 3658 "Properties.c"
} else {
const gchar* _tmp110_ = NULL;
gchar* _tmp111_ = NULL;
#line 426 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp110_ = self->priv->aperture;
#line 426 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp111_ = g_strdup (_tmp110_);
#line 426 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (line);
#line 426 "/home/jens/Source/shotwell/src/Properties.vala"
line = _tmp111_;
#line 3670 "Properties.c"
}
}
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp114_ = self->priv->exposure;
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp114_, "") == 0) {
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp113_ = TRUE;
#line 3679 "Properties.c"
} else {
const gchar* _tmp115_ = NULL;
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp115_ = self->priv->aperture;
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp113_ = g_strcmp0 (_tmp115_, "") == 0;
#line 3686 "Properties.c"
}
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp113_) {
#line 3690 "Properties.c"
const gchar* _tmp116_ = NULL;
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp116_ = self->priv->iso;
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp112_ = g_strcmp0 (_tmp116_, "") != 0;
#line 3696 "Properties.c"
} else {
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp112_ = FALSE;
#line 3700 "Properties.c"
}
#line 430 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp112_) {
#line 3704 "Properties.c"
const gchar* _tmp117_ = NULL;
const gchar* _tmp125_ = NULL;
const gchar* _tmp126_ = NULL;
#line 431 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp117_ = line;
#line 431 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp117_ != NULL) {
#line 3712 "Properties.c"
const gchar* _tmp118_ = NULL;
const gchar* _tmp119_ = NULL;
gchar* _tmp120_ = NULL;
gchar* _tmp121_ = NULL;
gchar* _tmp122_ = NULL;
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp118_ = line;
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp119_ = self->priv->iso;
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp120_ = g_strconcat (", " "ISO ", _tmp119_, NULL);
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp121_ = _tmp120_;
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp122_ = g_strconcat (_tmp118_, _tmp121_, NULL);
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (line);
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
line = _tmp122_;
#line 432 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp121_);
#line 3734 "Properties.c"
} else {
const gchar* _tmp123_ = NULL;
gchar* _tmp124_ = NULL;
#line 434 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp123_ = self->priv->iso;
#line 434 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp124_ = g_strconcat ("ISO ", _tmp123_, NULL);
#line 434 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (line);
#line 434 "/home/jens/Source/shotwell/src/Properties.vala"
line = _tmp124_;
#line 3746 "Properties.c"
}
#line 436 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp125_ = _ ("Exposure:");
#line 436 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp126_ = line;
#line 436 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp125_, _tmp126_, FALSE);
#line 3754 "Properties.c"
} else {
const gchar* _tmp127_ = NULL;
const gchar* _tmp130_ = NULL;
#line 439 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp127_ = line;
#line 439 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp127_ != NULL) {
#line 3762 "Properties.c"
const gchar* _tmp128_ = NULL;
const gchar* _tmp129_ = NULL;
#line 440 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp128_ = _ ("Exposure:");
#line 440 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp129_ = line;
#line 440 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp128_, _tmp129_, FALSE);
#line 3771 "Properties.c"
}
#line 443 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp130_ = self->priv->iso;
#line 443 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp130_, "") != 0) {
#line 3777 "Properties.c"
const gchar* _tmp131_ = NULL;
#line 444 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp131_ = line;
#line 444 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp131_ != NULL) {
#line 3783 "Properties.c"
const gchar* _tmp132_ = NULL;
gchar* _tmp133_ = NULL;
gchar* _tmp134_ = NULL;
#line 445 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp132_ = self->priv->iso;
#line 445 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp133_ = g_strconcat ("ISO ", _tmp132_, NULL);
#line 445 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp134_ = _tmp133_;
#line 445 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), "", _tmp134_, FALSE);
#line 445 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp134_);
#line 3797 "Properties.c"
} else {
const gchar* _tmp135_ = NULL;
const gchar* _tmp136_ = NULL;
gchar* _tmp137_ = NULL;
gchar* _tmp138_ = NULL;
#line 447 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp135_ = _ ("Exposure:");
#line 447 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp136_ = self->priv->iso;
#line 447 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp137_ = g_strconcat ("ISO ", _tmp136_, NULL);
#line 447 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp138_ = _tmp137_;
#line 447 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp135_, _tmp138_, FALSE);
#line 447 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp138_);
#line 3815 "Properties.c"
}
}
}
#line 415 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (line);
#line 3821 "Properties.c"
}
}
static void basic_properties_class_init (BasicPropertiesClass * klass) {
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
basic_properties_parent_class = g_type_class_peek_parent (klass);
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
g_type_class_add_private (klass, sizeof (BasicPropertiesPrivate));
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->clear_properties = basic_properties_real_clear_properties;
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->get_single_properties = basic_properties_real_get_single_properties;
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->get_multiple_properties = basic_properties_real_get_multiple_properties;
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->get_properties = basic_properties_real_get_properties;
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->internal_update_properties = basic_properties_real_internal_update_properties;
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (klass)->finalize = basic_properties_finalize;
#line 3843 "Properties.c"
}
static void basic_properties_instance_init (BasicProperties * self) {
time_t _tmp0_ = 0;
time_t _tmp1_ = 0;
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv = BASIC_PROPERTIES_GET_PRIVATE (self);
#line 155 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = time (NULL);
#line 155 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->start_time = _tmp0_;
#line 156 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = time (NULL);
#line 156 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->end_time = _tmp1_;
#line 3860 "Properties.c"
}
static void basic_properties_finalize (GObject* obj) {
BasicProperties * self;
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_BASIC_PROPERTIES, BasicProperties);
#line 154 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->title);
#line 161 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure);
#line 162 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->aperture);
#line 163 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->iso);
#line 165 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->raw_developer);
#line 166 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->raw_assoc);
#line 153 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (basic_properties_parent_class)->finalize (obj);
#line 3882 "Properties.c"
}
GType basic_properties_get_type (void) {
static volatile gsize basic_properties_type_id__volatile = 0;
if (g_once_init_enter (&basic_properties_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (BasicPropertiesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) basic_properties_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BasicProperties), 0, (GInstanceInitFunc) basic_properties_instance_init, NULL };
GType basic_properties_type_id;
basic_properties_type_id = g_type_register_static (TYPE_PROPERTIES, "BasicProperties", &g_define_type_info, 0);
g_once_init_leave (&basic_properties_type_id__volatile, basic_properties_type_id);
}
return basic_properties_type_id__volatile;
}
static gboolean _gtk_widget_hide_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
gboolean result;
result = gtk_widget_hide_on_delete ((GtkWidget*) self);
#line 646 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 3903 "Properties.c"
}
ExtendedPropertiesWindow* extended_properties_window_construct (GType object_type, GtkWindow* owner) {
ExtendedPropertiesWindow * self = NULL;
gboolean use_header = FALSE;
GtkSettings* _tmp0_ = NULL;
gint _tmp1_ = 0;
gboolean _tmp2_ = FALSE;
const gchar* _tmp3_ = NULL;
GtkWindow* _tmp4_ = NULL;
ExtendedPropertiesWindowExtendedProperties* _tmp5_ = NULL;
GtkAlignment* alignment = NULL;
GtkAlignment* _tmp6_ = NULL;
ExtendedPropertiesWindowExtendedProperties* _tmp7_ = NULL;
GtkBox* _tmp8_ = NULL;
#line 632 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (GTK_IS_WINDOW (owner), NULL);
#line 634 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = gtk_settings_get_default ();
#line 634 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 635 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = use_header;
#line 635 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp2_) {
#line 635 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = 1;
#line 3932 "Properties.c"
} else {
#line 635 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = 0;
#line 3936 "Properties.c"
}
#line 635 "/home/jens/Source/shotwell/src/Properties.vala"
self = (ExtendedPropertiesWindow*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
#line 637 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), (gint) (GDK_BUTTON_PRESS_MASK | GDK_KEY_PRESS_MASK));
#line 638 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_window_set_focus_on_map (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 639 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_window_set_accept_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 640 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE);
#line 641 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = _ ("Extended Information");
#line 641 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp3_);
#line 642 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_window_set_position (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GTK_WIN_POS_CENTER);
#line 643 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = owner;
#line 643 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_);
#line 644 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
#line 646 "/home/jens/Source/shotwell/src/Properties.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _gtk_widget_hide_on_delete_gtk_widget_delete_event, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), 0);
#line 648 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = extended_properties_window_extended_properties_new ();
#line 648 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_ref_sink (_tmp5_);
#line 648 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (self->priv->properties);
#line 648 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->properties = _tmp5_;
#line 649 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = (GtkAlignment*) gtk_alignment_new (0.5f, 0.5f, (gfloat) 1, (gfloat) 1);
#line 649 "/home/jens/Source/shotwell/src/Properties.vala"
g_object_ref_sink (_tmp6_);
#line 649 "/home/jens/Source/shotwell/src/Properties.vala"
alignment = _tmp6_;
#line 650 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = self->priv->properties;
#line 650 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (alignment, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
#line 651 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (alignment, gtk_container_get_type (), GtkContainer), (guint) 3);
#line 652 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 652 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_box_get_type (), GtkBox), gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (alignment, gtk_widget_get_type (), GtkWidget));
#line 632 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (alignment);
#line 632 "/home/jens/Source/shotwell/src/Properties.vala"
return self;
#line 3990 "Properties.c"
}
ExtendedPropertiesWindow* extended_properties_window_new (GtkWindow* owner) {
#line 632 "/home/jens/Source/shotwell/src/Properties.vala"
return extended_properties_window_construct (TYPE_EXTENDED_PROPERTIES_WINDOW, owner);
#line 3997 "Properties.c"
}
static gboolean extended_properties_window_real_button_press_event (GtkWidget* base, GdkEventButton* event) {
ExtendedPropertiesWindow * self;
gboolean result = FALSE;
GdkEventButton* _tmp0_ = NULL;
guint _tmp1_ = 0U;
GdkEventButton* _tmp5_ = NULL;
guint _tmp6_ = 0U;
GdkEventButton* _tmp7_ = NULL;
gdouble _tmp8_ = 0.0;
GdkEventButton* _tmp9_ = NULL;
gdouble _tmp10_ = 0.0;
GdkEventButton* _tmp11_ = NULL;
guint32 _tmp12_ = 0U;
#line 655 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow);
#line 655 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (event != NULL, FALSE);
#line 657 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = event;
#line 657 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = _tmp0_->button;
#line 657 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp1_ != ((guint) 1)) {
#line 4024 "Properties.c"
gboolean _tmp2_ = FALSE;
#line 658 "/home/jens/Source/shotwell/src/Properties.vala"
if (GTK_WIDGET_CLASS (extended_properties_window_parent_class)->button_press_event != NULL) {
#line 4028 "Properties.c"
GdkEventButton* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
#line 658 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = event;
#line 658 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = GTK_WIDGET_CLASS (extended_properties_window_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), gtk_widget_get_type (), GtkWidget), _tmp3_);
#line 658 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = _tmp4_;
#line 4037 "Properties.c"
} else {
#line 658 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = TRUE;
#line 4041 "Properties.c"
}
#line 658 "/home/jens/Source/shotwell/src/Properties.vala"
result = _tmp2_;
#line 658 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 4047 "Properties.c"
}
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = event;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = _tmp5_->button;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = event;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = _tmp7_->x_root;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = event;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = _tmp9_->y_root;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = event;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = _tmp11_->time;
#line 660 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_window_begin_move_drag (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), (gint) _tmp6_, (gint) _tmp8_, (gint) _tmp10_, _tmp12_);
#line 662 "/home/jens/Source/shotwell/src/Properties.vala"
result = TRUE;
#line 662 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 4071 "Properties.c"
}
static gboolean extended_properties_window_real_key_press_event (GtkWidget* base, GdkEventKey* event) {
ExtendedPropertiesWindow * self;
gboolean result = FALSE;
GdkEventKey* _tmp0_ = NULL;
guint _tmp1_ = 0U;
const gchar* _tmp2_ = NULL;
AppWindow* _tmp3_ = NULL;
AppWindow* _tmp4_ = NULL;
GdkEventKey* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
#line 665 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow);
#line 665 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_val_if_fail (event != NULL, FALSE);
#line 667 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = event;
#line 667 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = _tmp0_->keyval;
#line 667 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
#line 667 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp2_, "Escape") == 0) {
#line 668 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 669 "/home/jens/Source/shotwell/src/Properties.vala"
result = TRUE;
#line 669 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 4104 "Properties.c"
}
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = app_window_get_instance ();
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = _tmp3_;
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = event;
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), "key-press-event", _tmp5_, &_tmp6_);
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = _tmp6_;
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_tmp4_);
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
result = _tmp7_;
#line 672 "/home/jens/Source/shotwell/src/Properties.vala"
return result;
#line 4122 "Properties.c"
}
void extended_properties_window_update_properties (ExtendedPropertiesWindow* self, Page* page) {
ExtendedPropertiesWindowExtendedProperties* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
#line 675 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_EXTENDED_PROPERTIES_WINDOW (self));
#line 675 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PAGE (page));
#line 676 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = self->priv->properties;
#line 676 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = page;
#line 676 "/home/jens/Source/shotwell/src/Properties.vala"
properties_update_properties (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PROPERTIES, Properties), _tmp1_);
#line 4139 "Properties.c"
}
static void extended_properties_window_real_show_all (GtkWidget* base) {
ExtendedPropertiesWindow * self;
ExtendedPropertiesWindowExtendedProperties* _tmp0_ = NULL;
#line 679 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow);
#line 680 "/home/jens/Source/shotwell/src/Properties.vala"
GTK_WIDGET_CLASS (extended_properties_window_parent_class)->show_all (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), gtk_widget_get_type (), GtkWidget));
#line 681 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = self->priv->properties;
#line 681 "/home/jens/Source/shotwell/src/Properties.vala"
properties_unselect_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PROPERTIES, Properties));
#line 682 "/home/jens/Source/shotwell/src/Properties.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 4156 "Properties.c"
}
static gpointer _dimensions_dup0 (gpointer self) {
#line 495 "/home/jens/Source/shotwell/src/Properties.vala"
return self ? dimensions_dup (self) : NULL;
#line 4163 "Properties.c"
}
static void extended_properties_window_extended_properties_real_clear_properties (Properties* base) {
ExtendedPropertiesWindowExtendedProperties * self;
gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
Dimensions _tmp2_ = {0};
Dimensions* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
#line 488 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedProperties);
#line 489 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (extended_properties_window_extended_properties_parent_class)->clear_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties));
#line 491 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = g_strdup ("");
#line 491 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->file_path);
#line 491 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->file_path = _tmp0_;
#line 492 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = g_strdup ("");
#line 492 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->development_path);
#line 492 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->development_path = _tmp1_;
#line 493 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->is_raw = FALSE;
#line 494 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->filesize = (guint64) 0;
#line 495 "/home/jens/Source/shotwell/src/Properties.vala"
dimensions_init (&_tmp2_, 0, 0);
#line 495 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = _dimensions_dup0 (&_tmp2_);
#line 495 "/home/jens/Source/shotwell/src/Properties.vala"
_dimensions_free0 (self->priv->original_dim);
#line 495 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->original_dim = _tmp3_;
#line 496 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = g_strdup ("");
#line 496 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->camera_make);
#line 496 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->camera_make = _tmp4_;
#line 497 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = g_strdup ("");
#line 497 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->camera_model);
#line 497 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->camera_model = _tmp5_;
#line 498 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = g_strdup ("");
#line 498 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->flash);
#line 498 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->flash = _tmp6_;
#line 499 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = g_strdup ("");
#line 499 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->focal_length);
#line 499 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->focal_length = _tmp7_;
#line 500 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_lat = (gdouble) -1;
#line 501 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = g_strdup ("");
#line 501 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->gps_lat_ref);
#line 501 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_lat_ref = _tmp8_;
#line 502 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_long = (gdouble) -1;
#line 503 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = g_strdup ("");
#line 503 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->gps_long_ref);
#line 503 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_long_ref = _tmp9_;
#line 504 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = g_strdup ("");
#line 504 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->artist);
#line 504 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->artist = _tmp10_;
#line 505 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = g_strdup ("");
#line 505 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->copyright);
#line 505 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->copyright = _tmp11_;
#line 506 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = g_strdup ("");
#line 506 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->software);
#line 506 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->software = _tmp12_;
#line 507 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = g_strdup ("");
#line 507 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_bias);
#line 507 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure_bias = _tmp13_;
#line 508 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = g_strdup ("");
#line 508 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_date);
#line 508 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure_date = _tmp14_;
#line 509 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = g_strdup ("");
#line 509 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_time);
#line 509 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure_time = _tmp15_;
#line 510 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = g_strdup ("");
#line 510 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->comment);
#line 510 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->comment = _tmp16_;
#line 4296 "Properties.c"
}
static void extended_properties_window_extended_properties_real_get_single_properties (Properties* base, DataView* view) {
ExtendedPropertiesWindowExtendedProperties * self;
DataView* _tmp0_ = NULL;
DataSource* source = NULL;
DataView* _tmp1_ = NULL;
DataSource* _tmp2_ = NULL;
DataSource* _tmp3_ = NULL;
DataSource* _tmp4_ = NULL;
GError * _inner_error_ = NULL;
#line 513 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedProperties);
#line 513 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_DATA_VIEW (view));
#line 514 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = view;
#line 514 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (extended_properties_window_extended_properties_parent_class)->get_single_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp0_);
#line 516 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = view;
#line 516 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = data_view_get_source (_tmp1_);
#line 516 "/home/jens/Source/shotwell/src/Properties.vala"
source = _tmp2_;
#line 517 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = source;
#line 517 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp3_ == NULL) {
#line 518 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (source);
#line 518 "/home/jens/Source/shotwell/src/Properties.vala"
return;
#line 4331 "Properties.c"
}
#line 520 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = source;
#line 520 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_MEDIA_SOURCE)) {
#line 4337 "Properties.c"
MediaSource* media = NULL;
DataSource* _tmp5_ = NULL;
MediaSource* _tmp6_ = NULL;
MediaSource* _tmp7_ = NULL;
GFile* _tmp8_ = NULL;
GFile* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
MediaSource* _tmp11_ = NULL;
GFile* _tmp12_ = NULL;
GFile* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
MediaSource* _tmp15_ = NULL;
guint64 _tmp16_ = 0ULL;
Photo* photo = NULL;
MediaSource* _tmp17_ = NULL;
Photo* _tmp18_ = NULL;
Photo* _tmp19_ = NULL;
PhotoMetadata* metadata = NULL;
PhotoMetadata* _tmp26_ = NULL;
PhotoMetadata* _tmp27_ = NULL;
MetadataDateTime* _tmp28_ = NULL;
MetadataDateTime* _tmp29_ = NULL;
gboolean _tmp30_ = FALSE;
Photo* _tmp36_ = NULL;
PhotoFileFormat _tmp37_ = 0;
PhotoMetadata* _tmp38_ = NULL;
Dimensions* _tmp39_ = NULL;
PhotoMetadata* _tmp40_ = NULL;
gchar* _tmp41_ = NULL;
PhotoMetadata* _tmp42_ = NULL;
gchar* _tmp43_ = NULL;
PhotoMetadata* _tmp44_ = NULL;
gchar* _tmp45_ = NULL;
PhotoMetadata* _tmp46_ = NULL;
gchar* _tmp47_ = NULL;
PhotoMetadata* _tmp48_ = NULL;
gdouble _tmp49_ = 0.0;
gchar* _tmp50_ = NULL;
gdouble _tmp51_ = 0.0;
gchar* _tmp52_ = NULL;
gdouble _tmp53_ = 0.0;
PhotoMetadata* _tmp54_ = NULL;
gchar* _tmp55_ = NULL;
PhotoMetadata* _tmp56_ = NULL;
gchar* _tmp57_ = NULL;
PhotoMetadata* _tmp58_ = NULL;
gchar* _tmp59_ = NULL;
PhotoMetadata* _tmp60_ = NULL;
gchar* _tmp61_ = NULL;
time_t exposure_time_obj = 0;
PhotoMetadata* _tmp62_ = NULL;
MetadataDateTime* _tmp63_ = NULL;
MetadataDateTime* _tmp64_ = NULL;
time_t _tmp65_ = 0;
time_t _tmp66_ = 0;
time_t _tmp67_ = 0;
struct tm _tmp68_ = {0};
gchar* _tmp69_ = NULL;
time_t _tmp70_ = 0;
struct tm _tmp71_ = {0};
gchar* _tmp72_ = NULL;
MediaSource* _tmp73_ = NULL;
gchar* _tmp74_ = NULL;
#line 521 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = source;
#line 521 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_MEDIA_SOURCE, MediaSource));
#line 521 "/home/jens/Source/shotwell/src/Properties.vala"
media = _tmp6_;
#line 522 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = media;
#line 522 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = media_source_get_master_file (_tmp7_);
#line 522 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = _tmp8_;
#line 522 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = g_file_get_path (_tmp9_);
#line 522 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->file_path);
#line 522 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->file_path = _tmp10_;
#line 522 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_tmp9_);
#line 523 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = media;
#line 523 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = media_source_get_file (_tmp11_);
#line 523 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = _tmp12_;
#line 523 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = g_file_get_path (_tmp13_);
#line 523 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->development_path);
#line 523 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->development_path = _tmp14_;
#line 523 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (_tmp13_);
#line 524 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = media;
#line 524 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = media_source_get_master_filesize (_tmp15_);
#line 524 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->filesize = _tmp16_;
#line 529 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = media;
#line 529 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp17_, TYPE_PHOTO) ? ((Photo*) _tmp17_) : NULL);
#line 529 "/home/jens/Source/shotwell/src/Properties.vala"
photo = _tmp18_;
#line 530 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = photo;
#line 530 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp19_ == NULL) {
#line 531 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (photo);
#line 531 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (media);
#line 531 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (source);
#line 531 "/home/jens/Source/shotwell/src/Properties.vala"
return;
#line 4459 "Properties.c"
}
{
PhotoMetadata* _tmp20_ = NULL;
Photo* _tmp21_ = NULL;
PhotoMetadata* _tmp22_ = NULL;
PhotoMetadata* _tmp23_ = NULL;
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = photo;
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = photo_get_master_metadata (_tmp21_, &_inner_error_);
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = _tmp22_;
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4474 "Properties.c"
goto __catch435_g_error;
}
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = _tmp20_;
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = NULL;
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (metadata);
#line 540 "/home/jens/Source/shotwell/src/Properties.vala"
metadata = _tmp23_;
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (_tmp20_);
#line 4487 "Properties.c"
}
goto __finally435;
__catch435_g_error:
{
GError* e = NULL;
Photo* _tmp24_ = NULL;
PhotoMetadata* _tmp25_ = NULL;
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
e = _inner_error_;
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
_inner_error_ = NULL;
#line 542 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = photo;
#line 542 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp25_ = photo_source_get_metadata (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_PHOTO_SOURCE, PhotoSource));
#line 542 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (metadata);
#line 542 "/home/jens/Source/shotwell/src/Properties.vala"
metadata = _tmp25_;
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
_g_error_free0 (e);
#line 4509 "Properties.c"
}
__finally435:
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (metadata);
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (photo);
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (media);
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (source);
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
g_clear_error (&_inner_error_);
#line 535 "/home/jens/Source/shotwell/src/Properties.vala"
return;
#line 4528 "Properties.c"
}
#line 545 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp26_ = metadata;
#line 545 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp26_ == NULL) {
#line 546 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (metadata);
#line 546 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (photo);
#line 546 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (media);
#line 546 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (source);
#line 546 "/home/jens/Source/shotwell/src/Properties.vala"
return;
#line 4544 "Properties.c"
}
#line 553 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp27_ = metadata;
#line 553 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp28_ = photo_metadata_get_exposure_date_time (_tmp27_);
#line 553 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp29_ = _tmp28_;
#line 553 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp30_ = _tmp29_ == NULL;
#line 553 "/home/jens/Source/shotwell/src/Properties.vala"
_metadata_date_time_unref0 (_tmp29_);
#line 553 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp30_) {
#line 4558 "Properties.c"
PhotoMetadata* _tmp31_ = NULL;
Photo* _tmp32_ = NULL;
time_t _tmp33_ = 0;
MetadataDateTime* _tmp34_ = NULL;
MetadataDateTime* _tmp35_ = NULL;
#line 554 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp31_ = metadata;
#line 554 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = photo;
#line 554 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp33_ = media_source_get_timestamp (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_MEDIA_SOURCE, MediaSource));
#line 554 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = metadata_date_time_new (_tmp33_);
#line 554 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp35_ = _tmp34_;
#line 554 "/home/jens/Source/shotwell/src/Properties.vala"
photo_metadata_set_exposure_date_time (_tmp31_, _tmp35_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS);
#line 554 "/home/jens/Source/shotwell/src/Properties.vala"
_metadata_date_time_unref0 (_tmp35_);
#line 4578 "Properties.c"
}
#line 556 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp36_ = photo;
#line 556 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp37_ = photo_get_master_file_format (_tmp36_);
#line 556 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->is_raw = _tmp37_ == PHOTO_FILE_FORMAT_RAW;
#line 557 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp38_ = metadata;
#line 557 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp39_ = photo_metadata_get_pixel_dimensions (_tmp38_);
#line 557 "/home/jens/Source/shotwell/src/Properties.vala"
_dimensions_free0 (self->priv->original_dim);
#line 557 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->original_dim = _tmp39_;
#line 558 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp40_ = metadata;
#line 558 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp41_ = photo_metadata_get_camera_make (_tmp40_);
#line 558 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->camera_make);
#line 558 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->camera_make = _tmp41_;
#line 559 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp42_ = metadata;
#line 559 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp43_ = photo_metadata_get_camera_model (_tmp42_);
#line 559 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->camera_model);
#line 559 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->camera_model = _tmp43_;
#line 560 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = metadata;
#line 560 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp45_ = photo_metadata_get_flash_string (_tmp44_);
#line 560 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->flash);
#line 560 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->flash = _tmp45_;
#line 561 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp46_ = metadata;
#line 561 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp47_ = photo_metadata_get_focal_length_string (_tmp46_);
#line 561 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->focal_length);
#line 561 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->focal_length = _tmp47_;
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp48_ = metadata;
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
photo_metadata_get_gps (_tmp48_, &_tmp49_, &_tmp50_, &_tmp51_, &_tmp52_, &_tmp53_);
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_long = _tmp49_;
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->gps_long_ref);
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_long_ref = _tmp50_;
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_lat = _tmp51_;
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->gps_lat_ref);
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_lat_ref = _tmp52_;
#line 562 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->gps_alt = _tmp53_;
#line 563 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp54_ = metadata;
#line 563 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp55_ = photo_metadata_get_artist (_tmp54_);
#line 563 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->artist);
#line 563 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->artist = _tmp55_;
#line 564 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp56_ = metadata;
#line 564 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp57_ = photo_metadata_get_copyright (_tmp56_);
#line 564 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->copyright);
#line 564 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->copyright = _tmp57_;
#line 565 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp58_ = metadata;
#line 565 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp59_ = photo_metadata_get_software (_tmp58_);
#line 565 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->software);
#line 565 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->software = _tmp59_;
#line 566 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp60_ = metadata;
#line 566 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp61_ = photo_metadata_get_exposure_bias (_tmp60_);
#line 566 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_bias);
#line 566 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure_bias = _tmp61_;
#line 567 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp62_ = metadata;
#line 567 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp63_ = photo_metadata_get_exposure_date_time (_tmp62_);
#line 567 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp64_ = _tmp63_;
#line 567 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp65_ = metadata_date_time_get_timestamp (_tmp64_);
#line 567 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp66_ = _tmp65_;
#line 567 "/home/jens/Source/shotwell/src/Properties.vala"
_metadata_date_time_unref0 (_tmp64_);
#line 567 "/home/jens/Source/shotwell/src/Properties.vala"
exposure_time_obj = _tmp66_;
#line 568 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp67_ = exposure_time_obj;
#line 568 "/home/jens/Source/shotwell/src/Properties.vala"
g_time_local (_tmp67_, &_tmp68_);
#line 568 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp69_ = properties_get_prettyprint_date (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), &_tmp68_);
#line 568 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_date);
#line 568 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure_date = _tmp69_;
#line 569 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp70_ = exposure_time_obj;
#line 569 "/home/jens/Source/shotwell/src/Properties.vala"
g_time_local (_tmp70_, &_tmp71_);
#line 569 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp72_ = properties_get_prettyprint_time_with_seconds (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), &_tmp71_);
#line 569 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_time);
#line 569 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->exposure_time = _tmp72_;
#line 570 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp73_ = media;
#line 570 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp74_ = media_source_get_comment (_tmp73_);
#line 570 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->comment);
#line 570 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->comment = _tmp74_;
#line 520 "/home/jens/Source/shotwell/src/Properties.vala"
_media_metadata_unref0 (metadata);
#line 520 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (photo);
#line 520 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (media);
#line 4724 "Properties.c"
} else {
DataSource* _tmp75_ = NULL;
#line 571 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp75_ = source;
#line 571 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp75_, TYPE_EVENT_SOURCE)) {
#line 4731 "Properties.c"
Event* event = NULL;
DataSource* _tmp76_ = NULL;
Event* _tmp77_ = NULL;
Event* _tmp78_ = NULL;
gchar* _tmp79_ = NULL;
#line 572 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp76_ = source;
#line 572 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp77_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, TYPE_EVENT, Event));
#line 572 "/home/jens/Source/shotwell/src/Properties.vala"
event = _tmp77_;
#line 573 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp78_ = event;
#line 573 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp79_ = event_source_get_comment (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, TYPE_EVENT_SOURCE, EventSource));
#line 573 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->comment);
#line 573 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->comment = _tmp79_;
#line 571 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (event);
#line 4753 "Properties.c"
}
}
#line 513 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (source);
#line 4758 "Properties.c"
}
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 4771 "Properties.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
GRegex* _tmp3_ = NULL;
GRegex* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
GRegex* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = old;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
regex = _tmp4_;
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 4802 "Properties.c"
goto __catch436_g_regex_error;
}
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
#line 4811 "Properties.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = regex;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 4827 "Properties.c"
goto __catch436_g_regex_error;
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
#line 4838 "Properties.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp9_;
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 4852 "Properties.c"
}
goto __finally436;
__catch436_g_regex_error:
{
GError* e = NULL;
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
e = _inner_error_;
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_assert_not_reached ();
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 4866 "Properties.c"
}
__finally436:
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
#line 4877 "Properties.c"
}
}
static void extended_properties_window_extended_properties_real_internal_update_properties (Properties* base, Page* page) {
ExtendedPropertiesWindowExtendedProperties * self;
Page* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
gboolean _tmp113_ = FALSE;
const gchar* _tmp114_ = NULL;
gboolean has_comment = FALSE;
const gchar* _tmp116_ = NULL;
gboolean _tmp117_ = FALSE;
const gchar* _tmp119_ = NULL;
gboolean _tmp120_ = FALSE;
#line 577 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedProperties);
#line 577 "/home/jens/Source/shotwell/src/Properties.vala"
g_return_if_fail (IS_PAGE (page));
#line 578 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp0_ = page;
#line 578 "/home/jens/Source/shotwell/src/Properties.vala"
PROPERTIES_CLASS (extended_properties_window_extended_properties_parent_class)->internal_update_properties (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp0_);
#line 580 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp1_ = page;
#line 580 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_EVENTS_DIRECTORY_PAGE)) {
#line 4905 "Properties.c"
} else {
gchar* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
const gchar* _tmp4_ = NULL;
const gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
guint64 _tmp11_ = 0ULL;
const gchar* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
gchar* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
Dimensions* _tmp21_ = NULL;
const gchar* _tmp30_ = NULL;
const gchar* _tmp31_ = NULL;
gboolean _tmp32_ = FALSE;
const gchar* _tmp33_ = NULL;
const gchar* _tmp36_ = NULL;
const gchar* _tmp37_ = NULL;
gboolean _tmp38_ = FALSE;
const gchar* _tmp39_ = NULL;
const gchar* _tmp42_ = NULL;
const gchar* _tmp43_ = NULL;
gboolean _tmp44_ = FALSE;
const gchar* _tmp45_ = NULL;
const gchar* _tmp48_ = NULL;
const gchar* _tmp49_ = NULL;
gboolean _tmp50_ = FALSE;
const gchar* _tmp51_ = NULL;
const gchar* _tmp54_ = NULL;
const gchar* _tmp55_ = NULL;
gboolean _tmp56_ = FALSE;
const gchar* _tmp57_ = NULL;
const gchar* _tmp60_ = NULL;
const gchar* _tmp61_ = NULL;
gboolean _tmp62_ = FALSE;
const gchar* _tmp63_ = NULL;
const gchar* _tmp66_ = NULL;
const gchar* _tmp67_ = NULL;
gboolean _tmp68_ = FALSE;
const gchar* _tmp69_ = NULL;
const gchar* _tmp72_ = NULL;
gchar* _tmp73_ = NULL;
gboolean _tmp74_ = FALSE;
gboolean _tmp75_ = FALSE;
gdouble _tmp76_ = 0.0;
const gchar* _tmp83_ = NULL;
gchar* _tmp84_ = NULL;
gboolean _tmp85_ = FALSE;
gboolean _tmp86_ = FALSE;
gdouble _tmp87_ = 0.0;
const gchar* _tmp94_ = NULL;
const gchar* _tmp95_ = NULL;
gboolean _tmp96_ = FALSE;
const gchar* _tmp97_ = NULL;
const gchar* _tmp100_ = NULL;
const gchar* _tmp101_ = NULL;
gboolean _tmp102_ = FALSE;
const gchar* _tmp103_ = NULL;
const gchar* _tmp106_ = NULL;
const gchar* _tmp107_ = NULL;
gboolean _tmp108_ = FALSE;
const gchar* _tmp109_ = NULL;
const gchar* _tmp112_ = NULL;
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp4_ = self->priv->file_path;
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp4_, "") != 0) {
#line 4973 "Properties.c"
const gchar* _tmp5_ = NULL;
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp5_ = self->priv->file_path;
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = _tmp5_ != NULL;
#line 4979 "Properties.c"
} else {
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp3_ = FALSE;
#line 4983 "Properties.c"
}
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp3_) {
#line 4987 "Properties.c"
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
#line 584 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp6_ = self->priv->file_path;
#line 584 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp7_ = string_replace (_tmp6_, "&", "&");
#line 584 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp2_);
#line 584 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = _tmp7_;
#line 4998 "Properties.c"
} else {
gchar* _tmp8_ = NULL;
#line 584 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp8_ = g_strdup (EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE);
#line 584 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp2_);
#line 584 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp2_ = _tmp8_;
#line 5007 "Properties.c"
}
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp9_ = _ ("Location:");
#line 583 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp9_, _tmp2_, FALSE);
#line 586 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp11_ = self->priv->filesize;
#line 586 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp11_ > ((guint64) 0)) {
#line 5017 "Properties.c"
guint64 _tmp12_ = 0ULL;
gchar* _tmp13_ = NULL;
#line 587 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp12_ = self->priv->filesize;
#line 587 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp13_ = g_format_size_full ((guint64) ((gint64) _tmp12_), G_FORMAT_SIZE_DEFAULT);
#line 587 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp10_);
#line 587 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = _tmp13_;
#line 5028 "Properties.c"
} else {
gchar* _tmp14_ = NULL;
#line 587 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp14_ = g_strdup (EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE);
#line 587 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp10_);
#line 587 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp10_ = _tmp14_;
#line 5037 "Properties.c"
}
#line 586 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp15_ = _ ("File size:");
#line 586 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp15_, _tmp10_, FALSE);
#line 589 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp16_ = self->priv->is_raw;
#line 589 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp16_) {
#line 5047 "Properties.c"
const gchar* _tmp17_ = NULL;
const gchar* _tmp18_ = NULL;
#line 590 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp17_ = _ ("Current Development:");
#line 590 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp18_ = self->priv->development_path;
#line 590 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp17_, _tmp18_, FALSE);
#line 5056 "Properties.c"
}
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp21_ = self->priv->original_dim;
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp21_ != NULL) {
#line 5062 "Properties.c"
Dimensions* _tmp22_ = NULL;
gboolean _tmp23_ = FALSE;
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp22_ = self->priv->original_dim;
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = dimensions_has_area (_tmp22_);
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = _tmp23_;
#line 5071 "Properties.c"
} else {
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp20_ = FALSE;
#line 5075 "Properties.c"
}
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp20_) {
#line 5079 "Properties.c"
Dimensions* _tmp24_ = NULL;
gint _tmp25_ = 0;
Dimensions* _tmp26_ = NULL;
gint _tmp27_ = 0;
gchar* _tmp28_ = NULL;
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp24_ = self->priv->original_dim;
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp25_ = (*_tmp24_).width;
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp26_ = self->priv->original_dim;
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp27_ = (*_tmp26_).height;
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp28_ = g_strdup_printf ("%d × %d", _tmp25_, _tmp27_);
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp19_);
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = _tmp28_;
#line 5099 "Properties.c"
} else {
gchar* _tmp29_ = NULL;
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp29_ = g_strdup (EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE);
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp19_);
#line 593 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp19_ = _tmp29_;
#line 5108 "Properties.c"
}
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp30_ = _ ("Original dimensions:");
#line 592 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp30_, _tmp19_, FALSE);
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp33_ = self->priv->camera_make;
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp33_, "") != 0) {
#line 5118 "Properties.c"
const gchar* _tmp34_ = NULL;
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp34_ = self->priv->camera_make;
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = _tmp34_ != NULL;
#line 5124 "Properties.c"
} else {
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp32_ = FALSE;
#line 5128 "Properties.c"
}
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp32_) {
#line 5132 "Properties.c"
const gchar* _tmp35_ = NULL;
#line 596 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp35_ = self->priv->camera_make;
#line 596 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp31_ = _tmp35_;
#line 5138 "Properties.c"
} else {
#line 596 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp31_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5142 "Properties.c"
}
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp36_ = _ ("Camera make:");
#line 595 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp36_, _tmp31_, FALSE);
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp39_ = self->priv->camera_model;
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp39_, "") != 0) {
#line 5152 "Properties.c"
const gchar* _tmp40_ = NULL;
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp40_ = self->priv->camera_model;
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp38_ = _tmp40_ != NULL;
#line 5158 "Properties.c"
} else {
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp38_ = FALSE;
#line 5162 "Properties.c"
}
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp38_) {
#line 5166 "Properties.c"
const gchar* _tmp41_ = NULL;
#line 599 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp41_ = self->priv->camera_model;
#line 599 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp37_ = _tmp41_;
#line 5172 "Properties.c"
} else {
#line 599 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp37_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5176 "Properties.c"
}
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp42_ = _ ("Camera model:");
#line 598 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp42_, _tmp37_, FALSE);
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp45_ = self->priv->flash;
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp45_, "") != 0) {
#line 5186 "Properties.c"
const gchar* _tmp46_ = NULL;
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp46_ = self->priv->flash;
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = _tmp46_ != NULL;
#line 5192 "Properties.c"
} else {
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp44_ = FALSE;
#line 5196 "Properties.c"
}
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp44_) {
#line 5200 "Properties.c"
const gchar* _tmp47_ = NULL;
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp47_ = self->priv->flash;
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp43_ = _tmp47_;
#line 5206 "Properties.c"
} else {
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp43_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5210 "Properties.c"
}
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp48_ = _ ("Flash:");
#line 601 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp48_, _tmp43_, FALSE);
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp51_ = self->priv->focal_length;
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp51_, "") != 0) {
#line 5220 "Properties.c"
const gchar* _tmp52_ = NULL;
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp52_ = self->priv->focal_length;
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp50_ = _tmp52_ != NULL;
#line 5226 "Properties.c"
} else {
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp50_ = FALSE;
#line 5230 "Properties.c"
}
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp50_) {
#line 5234 "Properties.c"
const gchar* _tmp53_ = NULL;
#line 604 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp53_ = self->priv->focal_length;
#line 604 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp49_ = _tmp53_;
#line 5240 "Properties.c"
} else {
#line 604 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp49_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5244 "Properties.c"
}
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp54_ = _ ("Focal length:");
#line 603 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp54_, _tmp49_, FALSE);
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp57_ = self->priv->exposure_date;
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp57_, "") != 0) {
#line 5254 "Properties.c"
const gchar* _tmp58_ = NULL;
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp58_ = self->priv->exposure_date;
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp56_ = _tmp58_ != NULL;
#line 5260 "Properties.c"
} else {
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp56_ = FALSE;
#line 5264 "Properties.c"
}
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp56_) {
#line 5268 "Properties.c"
const gchar* _tmp59_ = NULL;
#line 607 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp59_ = self->priv->exposure_date;
#line 607 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp55_ = _tmp59_;
#line 5274 "Properties.c"
} else {
#line 607 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp55_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5278 "Properties.c"
}
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp60_ = _ ("Exposure date:");
#line 606 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp60_, _tmp55_, FALSE);
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp63_ = self->priv->exposure_time;
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp63_, "") != 0) {
#line 5288 "Properties.c"
const gchar* _tmp64_ = NULL;
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp64_ = self->priv->exposure_time;
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp62_ = _tmp64_ != NULL;
#line 5294 "Properties.c"
} else {
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp62_ = FALSE;
#line 5298 "Properties.c"
}
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp62_) {
#line 5302 "Properties.c"
const gchar* _tmp65_ = NULL;
#line 610 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp65_ = self->priv->exposure_time;
#line 610 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp61_ = _tmp65_;
#line 5308 "Properties.c"
} else {
#line 610 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp61_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5312 "Properties.c"
}
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp66_ = _ ("Exposure time:");
#line 609 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp66_, _tmp61_, FALSE);
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp69_ = self->priv->exposure_bias;
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp69_, "") != 0) {
#line 5322 "Properties.c"
const gchar* _tmp70_ = NULL;
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp70_ = self->priv->exposure_bias;
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp68_ = _tmp70_ != NULL;
#line 5328 "Properties.c"
} else {
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp68_ = FALSE;
#line 5332 "Properties.c"
}
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp68_) {
#line 5336 "Properties.c"
const gchar* _tmp71_ = NULL;
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp71_ = self->priv->exposure_bias;
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp67_ = _tmp71_;
#line 5342 "Properties.c"
} else {
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp67_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5346 "Properties.c"
}
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp72_ = _ ("Exposure bias:");
#line 612 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp72_, _tmp67_, FALSE);
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp76_ = self->priv->gps_lat;
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp76_ != ((gdouble) -1)) {
#line 5356 "Properties.c"
const gchar* _tmp77_ = NULL;
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp77_ = self->priv->gps_lat_ref;
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp75_ = g_strcmp0 (_tmp77_, "") != 0;
#line 5362 "Properties.c"
} else {
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp75_ = FALSE;
#line 5366 "Properties.c"
}
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp75_) {
#line 5370 "Properties.c"
const gchar* _tmp78_ = NULL;
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp78_ = self->priv->gps_lat_ref;
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp74_ = _tmp78_ != NULL;
#line 5376 "Properties.c"
} else {
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp74_ = FALSE;
#line 5380 "Properties.c"
}
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp74_) {
#line 5384 "Properties.c"
gdouble _tmp79_ = 0.0;
const gchar* _tmp80_ = NULL;
gchar* _tmp81_ = NULL;
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp79_ = self->priv->gps_lat;
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp80_ = self->priv->gps_lat_ref;
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp81_ = g_strdup_printf ("%f °%s", _tmp79_, _tmp80_);
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp73_);
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp73_ = _tmp81_;
#line 5398 "Properties.c"
} else {
gchar* _tmp82_ = NULL;
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp82_ = g_strdup (EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE);
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp73_);
#line 615 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp73_ = _tmp82_;
#line 5407 "Properties.c"
}
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp83_ = _ ("GPS latitude:");
#line 614 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp83_, _tmp73_, FALSE);
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp87_ = self->priv->gps_long;
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp87_ != ((gdouble) -1)) {
#line 5417 "Properties.c"
const gchar* _tmp88_ = NULL;
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp88_ = self->priv->gps_long_ref;
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp86_ = g_strcmp0 (_tmp88_, "") != 0;
#line 5423 "Properties.c"
} else {
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp86_ = FALSE;
#line 5427 "Properties.c"
}
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp86_) {
#line 5431 "Properties.c"
const gchar* _tmp89_ = NULL;
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp89_ = self->priv->gps_long_ref;
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp85_ = _tmp89_ != NULL;
#line 5437 "Properties.c"
} else {
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp85_ = FALSE;
#line 5441 "Properties.c"
}
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp85_) {
#line 5445 "Properties.c"
gdouble _tmp90_ = 0.0;
const gchar* _tmp91_ = NULL;
gchar* _tmp92_ = NULL;
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp90_ = self->priv->gps_long;
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp91_ = self->priv->gps_long_ref;
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp92_ = g_strdup_printf ("%f °%s", _tmp90_, _tmp91_);
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp84_);
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp84_ = _tmp92_;
#line 5459 "Properties.c"
} else {
gchar* _tmp93_ = NULL;
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp93_ = g_strdup (EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE);
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp84_);
#line 618 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp84_ = _tmp93_;
#line 5468 "Properties.c"
}
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp94_ = _ ("GPS longitude:");
#line 617 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp94_, _tmp84_, FALSE);
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp97_ = self->priv->artist;
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp97_, "") != 0) {
#line 5478 "Properties.c"
const gchar* _tmp98_ = NULL;
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp98_ = self->priv->artist;
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp96_ = _tmp98_ != NULL;
#line 5484 "Properties.c"
} else {
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp96_ = FALSE;
#line 5488 "Properties.c"
}
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp96_) {
#line 5492 "Properties.c"
const gchar* _tmp99_ = NULL;
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp99_ = self->priv->artist;
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp95_ = _tmp99_;
#line 5498 "Properties.c"
} else {
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp95_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5502 "Properties.c"
}
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp100_ = _ ("Artist:");
#line 620 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp100_, _tmp95_, FALSE);
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp103_ = self->priv->copyright;
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp103_, "") != 0) {
#line 5512 "Properties.c"
const gchar* _tmp104_ = NULL;
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp104_ = self->priv->copyright;
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp102_ = _tmp104_ != NULL;
#line 5518 "Properties.c"
} else {
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp102_ = FALSE;
#line 5522 "Properties.c"
}
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp102_) {
#line 5526 "Properties.c"
const gchar* _tmp105_ = NULL;
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp105_ = self->priv->copyright;
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp101_ = _tmp105_;
#line 5532 "Properties.c"
} else {
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp101_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5536 "Properties.c"
}
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp106_ = _ ("Copyright:");
#line 622 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp106_, _tmp101_, FALSE);
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp109_ = self->priv->software;
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp109_, "") != 0) {
#line 5546 "Properties.c"
const gchar* _tmp110_ = NULL;
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp110_ = self->priv->software;
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp108_ = _tmp110_ != NULL;
#line 5552 "Properties.c"
} else {
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp108_ = FALSE;
#line 5556 "Properties.c"
}
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp108_) {
#line 5560 "Properties.c"
const gchar* _tmp111_ = NULL;
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp111_ = self->priv->software;
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp107_ = _tmp111_;
#line 5566 "Properties.c"
} else {
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp107_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5570 "Properties.c"
}
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp112_ = _ ("Software:");
#line 624 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp112_, _tmp107_, FALSE);
#line 580 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp84_);
#line 580 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp73_);
#line 580 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp19_);
#line 580 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp10_);
#line 580 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (_tmp2_);
#line 5586 "Properties.c"
}
#line 627 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp114_ = self->priv->comment;
#line 627 "/home/jens/Source/shotwell/src/Properties.vala"
if (g_strcmp0 (_tmp114_, "") != 0) {
#line 5592 "Properties.c"
const gchar* _tmp115_ = NULL;
#line 627 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp115_ = self->priv->comment;
#line 627 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp113_ = _tmp115_ != NULL;
#line 5598 "Properties.c"
} else {
#line 627 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp113_ = FALSE;
#line 5602 "Properties.c"
}
#line 627 "/home/jens/Source/shotwell/src/Properties.vala"
has_comment = _tmp113_;
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp117_ = has_comment;
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
if (_tmp117_) {
#line 5610 "Properties.c"
const gchar* _tmp118_ = NULL;
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp118_ = self->priv->comment;
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp116_ = _tmp118_;
#line 5616 "Properties.c"
} else {
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp116_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE;
#line 5620 "Properties.c"
}
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp119_ = _ ("Comment:");
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp120_ = has_comment;
#line 628 "/home/jens/Source/shotwell/src/Properties.vala"
properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _tmp119_, _tmp116_, _tmp120_);
#line 5628 "Properties.c"
}
static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_extended_properties_construct (GType object_type) {
ExtendedPropertiesWindowExtendedProperties * self = NULL;
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
self = (ExtendedPropertiesWindowExtendedProperties*) properties_construct (object_type);
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
return self;
#line 5638 "Properties.c"
}
static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_extended_properties_new (void) {
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
return extended_properties_window_extended_properties_construct (EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES);
#line 5645 "Properties.c"
}
static void extended_properties_window_extended_properties_class_init (ExtendedPropertiesWindowExtendedPropertiesClass * klass) {
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
extended_properties_window_extended_properties_parent_class = g_type_class_peek_parent (klass);
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
g_type_class_add_private (klass, sizeof (ExtendedPropertiesWindowExtendedPropertiesPrivate));
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->clear_properties = extended_properties_window_extended_properties_real_clear_properties;
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->get_single_properties = extended_properties_window_extended_properties_real_get_single_properties;
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
((PropertiesClass *) klass)->internal_update_properties = extended_properties_window_extended_properties_real_internal_update_properties;
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (klass)->finalize = extended_properties_window_extended_properties_finalize;
#line 5662 "Properties.c"
}
static void extended_properties_window_extended_properties_instance_init (ExtendedPropertiesWindowExtendedProperties * self) {
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_GET_PRIVATE (self);
#line 5669 "Properties.c"
}
static void extended_properties_window_extended_properties_finalize (GObject* obj) {
ExtendedPropertiesWindowExtendedProperties * self;
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES, ExtendedPropertiesWindowExtendedProperties);
#line 460 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->file_path);
#line 462 "/home/jens/Source/shotwell/src/Properties.vala"
_dimensions_free0 (self->priv->original_dim);
#line 463 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->camera_make);
#line 464 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->camera_model);
#line 465 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->flash);
#line 466 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->focal_length);
#line 468 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->gps_lat_ref);
#line 470 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->gps_long_ref);
#line 472 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->artist);
#line 473 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->copyright);
#line 474 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->software);
#line 475 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_bias);
#line 476 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_date);
#line 477 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->exposure_time);
#line 479 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->development_path);
#line 486 "/home/jens/Source/shotwell/src/Properties.vala"
_g_free0 (self->priv->comment);
#line 457 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (extended_properties_window_extended_properties_parent_class)->finalize (obj);
#line 5711 "Properties.c"
}
static GType extended_properties_window_extended_properties_get_type (void) {
static volatile gsize extended_properties_window_extended_properties_type_id__volatile = 0;
if (g_once_init_enter (&extended_properties_window_extended_properties_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (ExtendedPropertiesWindowExtendedPropertiesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) extended_properties_window_extended_properties_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ExtendedPropertiesWindowExtendedProperties), 0, (GInstanceInitFunc) extended_properties_window_extended_properties_instance_init, NULL };
GType extended_properties_window_extended_properties_type_id;
extended_properties_window_extended_properties_type_id = g_type_register_static (TYPE_PROPERTIES, "ExtendedPropertiesWindowExtendedProperties", &g_define_type_info, 0);
g_once_init_leave (&extended_properties_window_extended_properties_type_id__volatile, extended_properties_window_extended_properties_type_id);
}
return extended_properties_window_extended_properties_type_id__volatile;
}
static void extended_properties_window_class_init (ExtendedPropertiesWindowClass * klass) {
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
extended_properties_window_parent_class = g_type_class_peek_parent (klass);
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
g_type_class_add_private (klass, sizeof (ExtendedPropertiesWindowPrivate));
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
((GtkWidgetClass *) klass)->button_press_event = extended_properties_window_real_button_press_event;
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
((GtkWidgetClass *) klass)->key_press_event = extended_properties_window_real_key_press_event;
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
((GtkWidgetClass *) klass)->show_all = extended_properties_window_real_show_all;
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (klass)->finalize = extended_properties_window_finalize;
#line 5740 "Properties.c"
}
static void extended_properties_window_instance_init (ExtendedPropertiesWindow * self) {
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv = EXTENDED_PROPERTIES_WINDOW_GET_PRIVATE (self);
#line 455 "/home/jens/Source/shotwell/src/Properties.vala"
self->priv->properties = NULL;
#line 5749 "Properties.c"
}
static void extended_properties_window_finalize (GObject* obj) {
ExtendedPropertiesWindow * self;
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow);
#line 455 "/home/jens/Source/shotwell/src/Properties.vala"
_g_object_unref0 (self->priv->properties);
#line 454 "/home/jens/Source/shotwell/src/Properties.vala"
G_OBJECT_CLASS (extended_properties_window_parent_class)->finalize (obj);
#line 5761 "Properties.c"
}
GType extended_properties_window_get_type (void) {
static volatile gsize extended_properties_window_type_id__volatile = 0;
if (g_once_init_enter (&extended_properties_window_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (ExtendedPropertiesWindowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) extended_properties_window_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ExtendedPropertiesWindow), 0, (GInstanceInitFunc) extended_properties_window_instance_init, NULL };
GType extended_properties_window_type_id;
extended_properties_window_type_id = g_type_register_static (gtk_dialog_get_type (), "ExtendedPropertiesWindow", &g_define_type_info, 0);
g_once_init_leave (&extended_properties_window_type_id__volatile, extended_properties_window_type_id);
}
return extended_properties_window_type_id__volatile;
}
|