summaryrefslogtreecommitdiff
path: root/src/Dialogs.c
blob: 7447399dd4ef1e28c412c7340fa8fb5bf2c6ec91 (plain)
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
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
/* Dialogs.c generated by valac 0.34.7, the Vala compiler
 * generated from Dialogs.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.
 */
/* namespace for future migration of AppWindow alert and other question dialogs into single*/
/* place: http://trac.yorba.org/ticket/3452*/

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <gee.h>
#include <float.h>
#include <math.h>
#include <gdk/gdk.h>
#include <time.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gobject/gvaluecollector.h>


#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_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_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 _g_free0(var) (var = (g_free (var), NULL))

#define TYPE_SAVED_SEARCH (saved_search_get_type ())
#define SAVED_SEARCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SAVED_SEARCH, SavedSearch))
#define SAVED_SEARCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SAVED_SEARCH, SavedSearchClass))
#define IS_SAVED_SEARCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SAVED_SEARCH))
#define IS_SAVED_SEARCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SAVED_SEARCH))
#define SAVED_SEARCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SAVED_SEARCH, SavedSearchClass))

typedef struct _SavedSearch SavedSearch;
typedef struct _SavedSearchClass SavedSearchClass;

#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;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#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_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_EXPORT_DIALOG (export_dialog_get_type ())
#define EXPORT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPORT_DIALOG, ExportDialog))
#define EXPORT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPORT_DIALOG, ExportDialogClass))
#define IS_EXPORT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPORT_DIALOG))
#define IS_EXPORT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPORT_DIALOG))
#define EXPORT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPORT_DIALOG, ExportDialogClass))

typedef struct _ExportDialog ExportDialog;
typedef struct _ExportDialogClass ExportDialogClass;
typedef struct _ExportDialogPrivate ExportDialogPrivate;

#define TYPE_SCALE_CONSTRAINT (scale_constraint_get_type ())

#define TYPE_EXPORT_FORMAT_PARAMETERS (export_format_parameters_get_type ())

#define TYPE_EXPORT_FORMAT_MODE (export_format_mode_get_type ())

#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ())

#define JPEG_TYPE_QUALITY (jpeg_quality_get_type ())
typedef struct _ExportFormatParameters ExportFormatParameters;

#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ())
#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade))
#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))
#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE))
#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE))
#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))

typedef struct _ConfigurationFacade ConfigurationFacade;
typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass;

#define CONFIG_TYPE_FACADE (config_facade_get_type ())
#define CONFIG_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_FACADE, ConfigFacade))
#define CONFIG_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_FACADE, ConfigFacadeClass))
#define CONFIG_IS_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_FACADE))
#define CONFIG_IS_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_FACADE))
#define CONFIG_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_FACADE, ConfigFacadeClass))

typedef struct _ConfigFacade ConfigFacade;
typedef struct _ConfigFacadeClass ConfigFacadeClass;

#define TYPE_PHOTO_FILE_FORMAT_PROPERTIES (photo_file_format_properties_get_type ())
#define PHOTO_FILE_FORMAT_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_FILE_FORMAT_PROPERTIES, PhotoFileFormatProperties))
#define PHOTO_FILE_FORMAT_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PHOTO_FILE_FORMAT_PROPERTIES, PhotoFileFormatPropertiesClass))
#define IS_PHOTO_FILE_FORMAT_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PHOTO_FILE_FORMAT_PROPERTIES))
#define IS_PHOTO_FILE_FORMAT_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PHOTO_FILE_FORMAT_PROPERTIES))
#define PHOTO_FILE_FORMAT_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PHOTO_FILE_FORMAT_PROPERTIES, PhotoFileFormatPropertiesClass))

typedef struct _PhotoFileFormatProperties PhotoFileFormatProperties;
typedef struct _PhotoFileFormatPropertiesClass PhotoFileFormatPropertiesClass;
#define _photo_file_format_properties_unref0(var) ((var == NULL) ? NULL : (var = (photo_file_format_properties_unref (var), NULL)))

#define TYPE_BATCH_IMPORT_RESULT (batch_import_result_get_type ())
#define BATCH_IMPORT_RESULT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_BATCH_IMPORT_RESULT, BatchImportResult))
#define BATCH_IMPORT_RESULT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_BATCH_IMPORT_RESULT, BatchImportResultClass))
#define IS_BATCH_IMPORT_RESULT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_BATCH_IMPORT_RESULT))
#define IS_BATCH_IMPORT_RESULT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_BATCH_IMPORT_RESULT))
#define BATCH_IMPORT_RESULT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_BATCH_IMPORT_RESULT, BatchImportResultClass))

typedef struct _BatchImportResult BatchImportResult;
typedef struct _BatchImportResultClass BatchImportResultClass;
typedef struct _BatchImportResultPrivate BatchImportResultPrivate;

#define TYPE_BATCH_IMPORT_JOB (batch_import_job_get_type ())
#define BATCH_IMPORT_JOB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_BATCH_IMPORT_JOB, BatchImportJob))
#define BATCH_IMPORT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_BATCH_IMPORT_JOB, BatchImportJobClass))
#define IS_BATCH_IMPORT_JOB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_BATCH_IMPORT_JOB))
#define IS_BATCH_IMPORT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_BATCH_IMPORT_JOB))
#define BATCH_IMPORT_JOB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_BATCH_IMPORT_JOB, BatchImportJobClass))

typedef struct _BatchImportJob BatchImportJob;
typedef struct _BatchImportJobClass BatchImportJobClass;

#define TYPE_IMPORT_RESULT (import_result_get_type ())

#define TYPE_DUPLICATED_FILE (duplicated_file_get_type ())
#define DUPLICATED_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DUPLICATED_FILE, DuplicatedFile))
#define DUPLICATED_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DUPLICATED_FILE, DuplicatedFileClass))
#define IS_DUPLICATED_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DUPLICATED_FILE))
#define IS_DUPLICATED_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DUPLICATED_FILE))
#define DUPLICATED_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DUPLICATED_FILE, DuplicatedFileClass))

typedef struct _DuplicatedFile DuplicatedFile;
typedef struct _DuplicatedFileClass DuplicatedFileClass;
#define _batch_import_result_unref0(var) ((var == NULL) ? NULL : (var = (batch_import_result_unref (var), NULL)))

#define IMPORT_UI_TYPE_QUESTION_PARAMS (import_ui_question_params_get_type ())
#define IMPORT_UI_QUESTION_PARAMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IMPORT_UI_TYPE_QUESTION_PARAMS, ImportUIQuestionParams))
#define IMPORT_UI_QUESTION_PARAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IMPORT_UI_TYPE_QUESTION_PARAMS, ImportUIQuestionParamsClass))
#define IMPORT_UI_IS_QUESTION_PARAMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IMPORT_UI_TYPE_QUESTION_PARAMS))
#define IMPORT_UI_IS_QUESTION_PARAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IMPORT_UI_TYPE_QUESTION_PARAMS))
#define IMPORT_UI_QUESTION_PARAMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IMPORT_UI_TYPE_QUESTION_PARAMS, ImportUIQuestionParamsClass))

typedef struct _ImportUIQuestionParams ImportUIQuestionParams;
typedef struct _ImportUIQuestionParamsClass ImportUIQuestionParamsClass;
typedef struct _ImportUIQuestionParamsPrivate ImportUIQuestionParamsPrivate;
typedef struct _ImportUIParamSpecQuestionParams ImportUIParamSpecQuestionParams;

#define TYPE_IMPORT_MANIFEST (import_manifest_get_type ())
#define IMPORT_MANIFEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_IMPORT_MANIFEST, ImportManifest))
#define IMPORT_MANIFEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_IMPORT_MANIFEST, ImportManifestClass))
#define IS_IMPORT_MANIFEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_IMPORT_MANIFEST))
#define IS_IMPORT_MANIFEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_IMPORT_MANIFEST))
#define IMPORT_MANIFEST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_IMPORT_MANIFEST, ImportManifestClass))

typedef struct _ImportManifest ImportManifest;
typedef struct _ImportManifestClass ImportManifestClass;
typedef struct _ImportManifestPrivate ImportManifestPrivate;
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

#define TYPE_TEXT_ENTRY_DIALOG_MEDIATOR (text_entry_dialog_mediator_get_type ())
#define TEXT_ENTRY_DIALOG_MEDIATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator))
#define TEXT_ENTRY_DIALOG_MEDIATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediatorClass))
#define IS_TEXT_ENTRY_DIALOG_MEDIATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR))
#define IS_TEXT_ENTRY_DIALOG_MEDIATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR))
#define TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediatorClass))

typedef struct _TextEntryDialogMediator TextEntryDialogMediator;
typedef struct _TextEntryDialogMediatorClass TextEntryDialogMediatorClass;
typedef struct _TextEntryDialogMediatorPrivate TextEntryDialogMediatorPrivate;

#define TYPE_TEXT_ENTRY_DIALOG (text_entry_dialog_get_type ())
#define TEXT_ENTRY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TEXT_ENTRY_DIALOG, TextEntryDialog))
#define TEXT_ENTRY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TEXT_ENTRY_DIALOG, TextEntryDialogClass))
#define IS_TEXT_ENTRY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TEXT_ENTRY_DIALOG))
#define IS_TEXT_ENTRY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TEXT_ENTRY_DIALOG))
#define TEXT_ENTRY_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TEXT_ENTRY_DIALOG, TextEntryDialogClass))

typedef struct _TextEntryDialog TextEntryDialog;
typedef struct _TextEntryDialogClass TextEntryDialogClass;
typedef struct _ParamSpecTextEntryDialogMediator ParamSpecTextEntryDialogMediator;

#define TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR (multi_text_entry_dialog_mediator_get_type ())
#define MULTI_TEXT_ENTRY_DIALOG_MEDIATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediator))
#define MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediatorClass))
#define IS_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR))
#define IS_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR))
#define MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediatorClass))

typedef struct _MultiTextEntryDialogMediator MultiTextEntryDialogMediator;
typedef struct _MultiTextEntryDialogMediatorClass MultiTextEntryDialogMediatorClass;
typedef struct _MultiTextEntryDialogMediatorPrivate MultiTextEntryDialogMediatorPrivate;

#define TYPE_MULTI_TEXT_ENTRY_DIALOG (multi_text_entry_dialog_get_type ())
#define MULTI_TEXT_ENTRY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MULTI_TEXT_ENTRY_DIALOG, MultiTextEntryDialog))
#define MULTI_TEXT_ENTRY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MULTI_TEXT_ENTRY_DIALOG, MultiTextEntryDialogClass))
#define IS_MULTI_TEXT_ENTRY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MULTI_TEXT_ENTRY_DIALOG))
#define IS_MULTI_TEXT_ENTRY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MULTI_TEXT_ENTRY_DIALOG))
#define MULTI_TEXT_ENTRY_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MULTI_TEXT_ENTRY_DIALOG, MultiTextEntryDialogClass))

typedef struct _MultiTextEntryDialog MultiTextEntryDialog;
typedef struct _MultiTextEntryDialogClass MultiTextEntryDialogClass;
typedef struct _ParamSpecMultiTextEntryDialogMediator ParamSpecMultiTextEntryDialogMediator;

#define TYPE_ENTRY_MULTI_COMPLETION (entry_multi_completion_get_type ())
#define ENTRY_MULTI_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletion))
#define ENTRY_MULTI_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletionClass))
#define IS_ENTRY_MULTI_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENTRY_MULTI_COMPLETION))
#define IS_ENTRY_MULTI_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENTRY_MULTI_COMPLETION))
#define ENTRY_MULTI_COMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletionClass))

typedef struct _EntryMultiCompletion EntryMultiCompletion;
typedef struct _EntryMultiCompletionClass EntryMultiCompletionClass;
typedef struct _EntryMultiCompletionPrivate EntryMultiCompletionPrivate;

#define TYPE_SET_BACKGROUND_PHOTO_DIALOG (set_background_photo_dialog_get_type ())
#define SET_BACKGROUND_PHOTO_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialog))
#define SET_BACKGROUND_PHOTO_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogClass))
#define IS_SET_BACKGROUND_PHOTO_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_BACKGROUND_PHOTO_DIALOG))
#define IS_SET_BACKGROUND_PHOTO_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_BACKGROUND_PHOTO_DIALOG))
#define SET_BACKGROUND_PHOTO_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogClass))

typedef struct _SetBackgroundPhotoDialog SetBackgroundPhotoDialog;
typedef struct _SetBackgroundPhotoDialogClass SetBackgroundPhotoDialogClass;
typedef struct _SetBackgroundPhotoDialogPrivate SetBackgroundPhotoDialogPrivate;

#define TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG (set_background_slideshow_dialog_get_type ())
#define SET_BACKGROUND_SLIDESHOW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog))
#define SET_BACKGROUND_SLIDESHOW_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialogClass))
#define IS_SET_BACKGROUND_SLIDESHOW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG))
#define IS_SET_BACKGROUND_SLIDESHOW_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG))
#define SET_BACKGROUND_SLIDESHOW_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialogClass))

typedef struct _SetBackgroundSlideshowDialog SetBackgroundSlideshowDialog;
typedef struct _SetBackgroundSlideshowDialogClass SetBackgroundSlideshowDialogClass;
typedef struct _SetBackgroundSlideshowDialogPrivate SetBackgroundSlideshowDialogPrivate;
typedef struct _TextEntryDialogPrivate TextEntryDialogPrivate;
typedef struct _MultiTextEntryDialogPrivate MultiTextEntryDialogPrivate;

#define TYPE_EVENT_RENAME_DIALOG (event_rename_dialog_get_type ())
#define EVENT_RENAME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EVENT_RENAME_DIALOG, EventRenameDialog))
#define EVENT_RENAME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EVENT_RENAME_DIALOG, EventRenameDialogClass))
#define IS_EVENT_RENAME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EVENT_RENAME_DIALOG))
#define IS_EVENT_RENAME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EVENT_RENAME_DIALOG))
#define EVENT_RENAME_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EVENT_RENAME_DIALOG, EventRenameDialogClass))

typedef struct _EventRenameDialog EventRenameDialog;
typedef struct _EventRenameDialogClass EventRenameDialogClass;
typedef struct _EventRenameDialogPrivate EventRenameDialogPrivate;

#define TYPE_EDIT_TITLE_DIALOG (edit_title_dialog_get_type ())
#define EDIT_TITLE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EDIT_TITLE_DIALOG, EditTitleDialog))
#define EDIT_TITLE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EDIT_TITLE_DIALOG, EditTitleDialogClass))
#define IS_EDIT_TITLE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EDIT_TITLE_DIALOG))
#define IS_EDIT_TITLE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EDIT_TITLE_DIALOG))
#define EDIT_TITLE_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EDIT_TITLE_DIALOG, EditTitleDialogClass))

typedef struct _EditTitleDialog EditTitleDialog;
typedef struct _EditTitleDialogClass EditTitleDialogClass;
typedef struct _EditTitleDialogPrivate EditTitleDialogPrivate;

#define TYPE_EDIT_COMMENT_DIALOG (edit_comment_dialog_get_type ())
#define EDIT_COMMENT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EDIT_COMMENT_DIALOG, EditCommentDialog))
#define EDIT_COMMENT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EDIT_COMMENT_DIALOG, EditCommentDialogClass))
#define IS_EDIT_COMMENT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EDIT_COMMENT_DIALOG))
#define IS_EDIT_COMMENT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EDIT_COMMENT_DIALOG))
#define EDIT_COMMENT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EDIT_COMMENT_DIALOG, EditCommentDialogClass))

typedef struct _EditCommentDialog EditCommentDialog;
typedef struct _EditCommentDialogClass EditCommentDialogClass;
typedef struct _EditCommentDialogPrivate EditCommentDialogPrivate;

#define TYPE_PROGRESS_DIALOG (progress_dialog_get_type ())
#define PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROGRESS_DIALOG, ProgressDialog))
#define PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROGRESS_DIALOG, ProgressDialogClass))
#define IS_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROGRESS_DIALOG))
#define IS_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROGRESS_DIALOG))
#define PROGRESS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROGRESS_DIALOG, ProgressDialogClass))

typedef struct _ProgressDialog ProgressDialog;
typedef struct _ProgressDialogClass ProgressDialogClass;
typedef struct _ProgressDialogPrivate ProgressDialogPrivate;

#define TYPE_ADJUST_DATE_TIME_DIALOG (adjust_date_time_dialog_get_type ())
#define ADJUST_DATE_TIME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialog))
#define ADJUST_DATE_TIME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialogClass))
#define IS_ADJUST_DATE_TIME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ADJUST_DATE_TIME_DIALOG))
#define IS_ADJUST_DATE_TIME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ADJUST_DATE_TIME_DIALOG))
#define ADJUST_DATE_TIME_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialogClass))

typedef struct _AdjustDateTimeDialog AdjustDateTimeDialog;
typedef struct _AdjustDateTimeDialogClass AdjustDateTimeDialogClass;
typedef struct _AdjustDateTimeDialogPrivate AdjustDateTimeDialogPrivate;

#define ADJUST_DATE_TIME_DIALOG_TYPE_TIME_SYSTEM (adjust_date_time_dialog_time_system_get_type ())

#define TYPE_DATEABLE (dateable_get_type ())
#define DATEABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DATEABLE, Dateable))
#define IS_DATEABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DATEABLE))
#define DATEABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_DATEABLE, DateableIface))

typedef struct _Dateable Dateable;
typedef struct _DateableIface DateableIface;

#define TYPE_TAGS_DIALOG (tags_dialog_get_type ())
#define TAGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TAGS_DIALOG, TagsDialog))
#define TAGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TAGS_DIALOG, TagsDialogClass))
#define IS_TAGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TAGS_DIALOG))
#define IS_TAGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TAGS_DIALOG))
#define TAGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TAGS_DIALOG, TagsDialogClass))

typedef struct _TagsDialog TagsDialog;
typedef struct _TagsDialogClass TagsDialogClass;
typedef struct _TagsDialogPrivate TagsDialogPrivate;

#define TYPE_HIERARCHICAL_TAG_INDEX (hierarchical_tag_index_get_type ())
#define HIERARCHICAL_TAG_INDEX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_HIERARCHICAL_TAG_INDEX, HierarchicalTagIndex))
#define HIERARCHICAL_TAG_INDEX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_HIERARCHICAL_TAG_INDEX, HierarchicalTagIndexClass))
#define IS_HIERARCHICAL_TAG_INDEX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_HIERARCHICAL_TAG_INDEX))
#define IS_HIERARCHICAL_TAG_INDEX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_HIERARCHICAL_TAG_INDEX))
#define HIERARCHICAL_TAG_INDEX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_HIERARCHICAL_TAG_INDEX, HierarchicalTagIndexClass))

typedef struct _HierarchicalTagIndex HierarchicalTagIndex;
typedef struct _HierarchicalTagIndexClass HierarchicalTagIndexClass;
#define _hierarchical_tag_index_unref0(var) ((var == NULL) ? NULL : (var = (hierarchical_tag_index_unref (var), NULL)))

#define TYPE_ADD_TAGS_DIALOG (add_tags_dialog_get_type ())
#define ADD_TAGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ADD_TAGS_DIALOG, AddTagsDialog))
#define ADD_TAGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ADD_TAGS_DIALOG, AddTagsDialogClass))
#define IS_ADD_TAGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ADD_TAGS_DIALOG))
#define IS_ADD_TAGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ADD_TAGS_DIALOG))
#define ADD_TAGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ADD_TAGS_DIALOG, AddTagsDialogClass))

typedef struct _AddTagsDialog AddTagsDialog;
typedef struct _AddTagsDialogClass AddTagsDialogClass;
typedef struct _AddTagsDialogPrivate AddTagsDialogPrivate;

#define TYPE_MODIFY_TAGS_DIALOG (modify_tags_dialog_get_type ())
#define MODIFY_TAGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MODIFY_TAGS_DIALOG, ModifyTagsDialog))
#define MODIFY_TAGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MODIFY_TAGS_DIALOG, ModifyTagsDialogClass))
#define IS_MODIFY_TAGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MODIFY_TAGS_DIALOG))
#define IS_MODIFY_TAGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MODIFY_TAGS_DIALOG))
#define MODIFY_TAGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MODIFY_TAGS_DIALOG, ModifyTagsDialogClass))

typedef struct _ModifyTagsDialog ModifyTagsDialog;
typedef struct _ModifyTagsDialogClass ModifyTagsDialogClass;
typedef struct _ModifyTagsDialogPrivate ModifyTagsDialogPrivate;

#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_SOURCE_COLLECTION (source_collection_get_type ())
#define SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SOURCE_COLLECTION, SourceCollection))
#define SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SOURCE_COLLECTION, SourceCollectionClass))
#define IS_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SOURCE_COLLECTION))
#define IS_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SOURCE_COLLECTION))
#define SOURCE_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SOURCE_COLLECTION, SourceCollectionClass))

typedef struct _SourceCollection SourceCollection;
typedef struct _SourceCollectionClass SourceCollectionClass;

#define TYPE_DATABASE_SOURCE_COLLECTION (database_source_collection_get_type ())
#define DATABASE_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DATABASE_SOURCE_COLLECTION, DatabaseSourceCollection))
#define DATABASE_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DATABASE_SOURCE_COLLECTION, DatabaseSourceCollectionClass))
#define IS_DATABASE_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DATABASE_SOURCE_COLLECTION))
#define IS_DATABASE_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DATABASE_SOURCE_COLLECTION))
#define DATABASE_SOURCE_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DATABASE_SOURCE_COLLECTION, DatabaseSourceCollectionClass))

typedef struct _DatabaseSourceCollection DatabaseSourceCollection;
typedef struct _DatabaseSourceCollectionClass DatabaseSourceCollectionClass;

#define TYPE_CONTAINER_SOURCE_COLLECTION (container_source_collection_get_type ())
#define CONTAINER_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection))
#define CONTAINER_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollectionClass))
#define IS_CONTAINER_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONTAINER_SOURCE_COLLECTION))
#define IS_CONTAINER_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONTAINER_SOURCE_COLLECTION))
#define CONTAINER_SOURCE_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollectionClass))

typedef struct _ContainerSourceCollection ContainerSourceCollection;
typedef struct _ContainerSourceCollectionClass ContainerSourceCollectionClass;

#define TYPE_TAG_SOURCE_COLLECTION (tag_source_collection_get_type ())
#define TAG_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection))
#define TAG_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TAG_SOURCE_COLLECTION, TagSourceCollectionClass))
#define IS_TAG_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TAG_SOURCE_COLLECTION))
#define IS_TAG_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TAG_SOURCE_COLLECTION))
#define TAG_SOURCE_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TAG_SOURCE_COLLECTION, TagSourceCollectionClass))

typedef struct _TagSourceCollection TagSourceCollection;
typedef struct _TagSourceCollectionClass TagSourceCollectionClass;

#define TYPE_WELCOME_SERVICE_ENTRY (welcome_service_entry_get_type ())
#define WELCOME_SERVICE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_WELCOME_SERVICE_ENTRY, WelcomeServiceEntry))
#define IS_WELCOME_SERVICE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_WELCOME_SERVICE_ENTRY))
#define WELCOME_SERVICE_ENTRY_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_WELCOME_SERVICE_ENTRY, WelcomeServiceEntryIface))

typedef struct _WelcomeServiceEntry WelcomeServiceEntry;
typedef struct _WelcomeServiceEntryIface WelcomeServiceEntryIface;

#define TYPE_WELCOME_DIALOG (welcome_dialog_get_type ())
#define WELCOME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_WELCOME_DIALOG, WelcomeDialog))
#define WELCOME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_WELCOME_DIALOG, WelcomeDialogClass))
#define IS_WELCOME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_WELCOME_DIALOG))
#define IS_WELCOME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_WELCOME_DIALOG))
#define WELCOME_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_WELCOME_DIALOG, WelcomeDialogClass))

typedef struct _WelcomeDialog WelcomeDialog;
typedef struct _WelcomeDialogClass WelcomeDialogClass;
typedef struct _WelcomeDialogPrivate WelcomeDialogPrivate;

#define SPIT_DATA_IMPORTS_TYPE_WELCOME_IMPORT_META_HOST (spit_data_imports_welcome_import_meta_host_get_type ())
#define SPIT_DATA_IMPORTS_WELCOME_IMPORT_META_HOST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_WELCOME_IMPORT_META_HOST, SpitDataImportsWelcomeImportMetaHost))
#define SPIT_DATA_IMPORTS_WELCOME_IMPORT_META_HOST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPIT_DATA_IMPORTS_TYPE_WELCOME_IMPORT_META_HOST, SpitDataImportsWelcomeImportMetaHostClass))
#define SPIT_DATA_IMPORTS_IS_WELCOME_IMPORT_META_HOST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_WELCOME_IMPORT_META_HOST))
#define SPIT_DATA_IMPORTS_IS_WELCOME_IMPORT_META_HOST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPIT_DATA_IMPORTS_TYPE_WELCOME_IMPORT_META_HOST))
#define SPIT_DATA_IMPORTS_WELCOME_IMPORT_META_HOST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPIT_DATA_IMPORTS_TYPE_WELCOME_IMPORT_META_HOST, SpitDataImportsWelcomeImportMetaHostClass))

typedef struct _SpitDataImportsWelcomeImportMetaHost SpitDataImportsWelcomeImportMetaHost;
typedef struct _SpitDataImportsWelcomeImportMetaHostClass SpitDataImportsWelcomeImportMetaHostClass;

#define TYPE_PREFERENCES_DIALOG (preferences_dialog_get_type ())
#define PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES_DIALOG, PreferencesDialog))
#define PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES_DIALOG, PreferencesDialogClass))
#define IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES_DIALOG))
#define IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES_DIALOG))
#define PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES_DIALOG, PreferencesDialogClass))

typedef struct _PreferencesDialog PreferencesDialog;
typedef struct _PreferencesDialogClass PreferencesDialogClass;
typedef struct _PreferencesDialogPrivate PreferencesDialogPrivate;

#define TYPE_SORTED_LIST (sorted_list_get_type ())
#define SORTED_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SORTED_LIST, SortedList))
#define SORTED_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SORTED_LIST, SortedListClass))
#define IS_SORTED_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SORTED_LIST))
#define IS_SORTED_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SORTED_LIST))
#define SORTED_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SORTED_LIST, SortedListClass))

typedef struct _SortedList SortedList;
typedef struct _SortedListClass SortedListClass;

#define PREFERENCES_DIALOG_TYPE_PATH_FORMAT (preferences_dialog_path_format_get_type ())
#define PREFERENCES_DIALOG_PATH_FORMAT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PREFERENCES_DIALOG_TYPE_PATH_FORMAT, PreferencesDialogPathFormat))
#define PREFERENCES_DIALOG_PATH_FORMAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PREFERENCES_DIALOG_TYPE_PATH_FORMAT, PreferencesDialogPathFormatClass))
#define PREFERENCES_DIALOG_IS_PATH_FORMAT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PREFERENCES_DIALOG_TYPE_PATH_FORMAT))
#define PREFERENCES_DIALOG_IS_PATH_FORMAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PREFERENCES_DIALOG_TYPE_PATH_FORMAT))
#define PREFERENCES_DIALOG_PATH_FORMAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PREFERENCES_DIALOG_TYPE_PATH_FORMAT, PreferencesDialogPathFormatClass))

typedef struct _PreferencesDialogPathFormat PreferencesDialogPathFormat;
typedef struct _PreferencesDialogPathFormatClass PreferencesDialogPathFormatClass;

#define PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR (plugins_manifest_widget_mediator_get_type ())
#define PLUGINS_MANIFEST_WIDGET_MEDIATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR, PluginsManifestWidgetMediator))
#define PLUGINS_MANIFEST_WIDGET_MEDIATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR, PluginsManifestWidgetMediatorClass))
#define PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR))
#define PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR))
#define PLUGINS_MANIFEST_WIDGET_MEDIATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR, PluginsManifestWidgetMediatorClass))

typedef struct _PluginsManifestWidgetMediator PluginsManifestWidgetMediator;
typedef struct _PluginsManifestWidgetMediatorClass PluginsManifestWidgetMediatorClass;
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
#define _plugins_manifest_widget_mediator_unref0(var) ((var == NULL) ? NULL : (var = (plugins_manifest_widget_mediator_unref (var), NULL)))

#define TYPE_RAW_DEVELOPER (raw_developer_get_type ())
typedef struct _PreferencesDialogPathFormatPrivate PreferencesDialogPathFormatPrivate;
#define _preferences_dialog_path_format_unref0(var) ((var == NULL) ? NULL : (var = (preferences_dialog_path_format_unref (var), NULL)))
#define _preferences_dialog_unref0(var) ((var == NULL) ? NULL : (var = (preferences_dialog_unref (var), NULL)))
typedef struct _PreferencesDialogParamSpecPathFormat PreferencesDialogParamSpecPathFormat;
typedef struct _ParamSpecPreferencesDialog ParamSpecPreferencesDialog;

#define TYPE_LIBRARY_PHOTO (library_photo_get_type ())
#define LIBRARY_PHOTO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LIBRARY_PHOTO, LibraryPhoto))
#define LIBRARY_PHOTO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LIBRARY_PHOTO, LibraryPhotoClass))
#define IS_LIBRARY_PHOTO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LIBRARY_PHOTO))
#define IS_LIBRARY_PHOTO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_LIBRARY_PHOTO))
#define LIBRARY_PHOTO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_LIBRARY_PHOTO, LibraryPhotoClass))

typedef struct _LibraryPhoto LibraryPhoto;
typedef struct _LibraryPhotoClass LibraryPhotoClass;

#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 (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_MEDIA_SOURCE_COLLECTION (media_source_collection_get_type ())
#define MEDIA_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection))
#define MEDIA_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollectionClass))
#define IS_MEDIA_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MEDIA_SOURCE_COLLECTION))
#define IS_MEDIA_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MEDIA_SOURCE_COLLECTION))
#define MEDIA_SOURCE_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollectionClass))

typedef struct _MediaSourceCollection MediaSourceCollection;
typedef struct _MediaSourceCollectionClass MediaSourceCollectionClass;

#define TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION (library_photo_source_collection_get_type ())
#define LIBRARY_PHOTO_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION, LibraryPhotoSourceCollection))
#define LIBRARY_PHOTO_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION, LibraryPhotoSourceCollectionClass))
#define IS_LIBRARY_PHOTO_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION))
#define IS_LIBRARY_PHOTO_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION))
#define LIBRARY_PHOTO_SOURCE_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION, LibraryPhotoSourceCollectionClass))

typedef struct _LibraryPhotoSourceCollection LibraryPhotoSourceCollection;
typedef struct _LibraryPhotoSourceCollectionClass LibraryPhotoSourceCollectionClass;

#define TYPE_VIDEO_SOURCE_COLLECTION (video_source_collection_get_type ())
#define VIDEO_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection))
#define VIDEO_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollectionClass))
#define IS_VIDEO_SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_VIDEO_SOURCE_COLLECTION))
#define IS_VIDEO_SOURCE_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_VIDEO_SOURCE_COLLECTION))
#define VIDEO_SOURCE_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollectionClass))

typedef struct _VideoSourceCollection VideoSourceCollection;
typedef struct _VideoSourceCollectionClass VideoSourceCollectionClass;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _ExportDialog {
	GtkDialog parent_instance;
	ExportDialogPrivate * priv;
};

struct _ExportDialogClass {
	GtkDialogClass parent_class;
};

struct _ExportDialogPrivate {
	GtkGrid* table;
	GtkComboBoxText* quality_combo;
	GtkComboBoxText* constraint_combo;
	GtkComboBoxText* format_combo;
	GtkSwitch* export_metadata;
	GeeArrayList* format_options;
	GtkEntry* pixels_entry;
	GtkWidget* ok_button;
	gboolean in_insert;
};

typedef enum  {
	SCALE_CONSTRAINT_ORIGINAL,
	SCALE_CONSTRAINT_DIMENSIONS,
	SCALE_CONSTRAINT_WIDTH,
	SCALE_CONSTRAINT_HEIGHT,
	SCALE_CONSTRAINT_FILL_VIEWPORT
} ScaleConstraint;

typedef enum  {
	EXPORT_FORMAT_MODE_UNMODIFIED,
	EXPORT_FORMAT_MODE_CURRENT,
	EXPORT_FORMAT_MODE_SPECIFIED,
	EXPORT_FORMAT_MODE_LAST
} ExportFormatMode;

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  {
	JPEG_QUALITY_LOW = 50,
	JPEG_QUALITY_MEDIUM = 75,
	JPEG_QUALITY_HIGH = 90,
	JPEG_QUALITY_MAXIMUM = 100
} JpegQuality;

struct _ExportFormatParameters {
	ExportFormatMode mode;
	PhotoFileFormat specified_format;
	JpegQuality quality;
	gboolean export_metadata;
};

typedef enum  {
	IMPORT_RESULT_SUCCESS,
	IMPORT_RESULT_FILE_ERROR,
	IMPORT_RESULT_DECODE_ERROR,
	IMPORT_RESULT_DATABASE_ERROR,
	IMPORT_RESULT_USER_ABORT,
	IMPORT_RESULT_NOT_A_FILE,
	IMPORT_RESULT_PHOTO_EXISTS,
	IMPORT_RESULT_UNSUPPORTED_FORMAT,
	IMPORT_RESULT_NOT_AN_IMAGE,
	IMPORT_RESULT_DISK_FAILURE,
	IMPORT_RESULT_DISK_FULL,
	IMPORT_RESULT_CAMERA_ERROR,
	IMPORT_RESULT_FILE_WRITE_ERROR,
	IMPORT_RESULT_PIXBUF_CORRUPT_IMAGE
} ImportResult;

struct _BatchImportResult {
	GTypeInstance parent_instance;
	volatile int ref_count;
	BatchImportResultPrivate * priv;
	BatchImportJob* job;
	GFile* file;
	gchar* src_identifier;
	gchar* dest_identifier;
	ImportResult result;
	gchar* errmsg;
	DuplicatedFile* duplicate_of;
};

struct _BatchImportResultClass {
	GTypeClass parent_class;
	void (*finalize) (BatchImportResult *self);
};

struct _ImportUIQuestionParams {
	GTypeInstance parent_instance;
	volatile int ref_count;
	ImportUIQuestionParamsPrivate * priv;
	gchar* question;
	gchar* yes_button;
	gchar* no_button;
};

struct _ImportUIQuestionParamsClass {
	GTypeClass parent_class;
	void (*finalize) (ImportUIQuestionParams *self);
};

struct _ImportUIParamSpecQuestionParams {
	GParamSpec parent_instance;
};

struct _ImportManifest {
	GTypeInstance parent_instance;
	volatile int ref_count;
	ImportManifestPrivate * priv;
	GeeList* imported;
	GeeList* success;
	GeeList* camera_failed;
	GeeList* failed;
	GeeList* write_failed;
	GeeList* skipped_photos;
	GeeList* skipped_files;
	GeeList* aborted;
	GeeList* already_imported;
	GeeList* corrupt_files;
	GeeList* all;
};

struct _ImportManifestClass {
	GTypeClass parent_class;
	void (*finalize) (ImportManifest *self);
};

struct _TextEntryDialogMediator {
	GTypeInstance parent_instance;
	volatile int ref_count;
	TextEntryDialogMediatorPrivate * priv;
};

struct _TextEntryDialogMediatorClass {
	GTypeClass parent_class;
	void (*finalize) (TextEntryDialogMediator *self);
	gboolean (*on_modify_validate) (TextEntryDialogMediator* self, const gchar* text);
};

struct _TextEntryDialogMediatorPrivate {
	TextEntryDialog* dialog;
};

typedef gboolean (*TextEntryDialogOnModifyValidateType) (const gchar* text, void* user_data);
struct _ParamSpecTextEntryDialogMediator {
	GParamSpec parent_instance;
};

struct _MultiTextEntryDialogMediator {
	GTypeInstance parent_instance;
	volatile int ref_count;
	MultiTextEntryDialogMediatorPrivate * priv;
};

struct _MultiTextEntryDialogMediatorClass {
	GTypeClass parent_class;
	void (*finalize) (MultiTextEntryDialogMediator *self);
	gboolean (*on_modify_validate) (MultiTextEntryDialogMediator* self, const gchar* text);
};

struct _MultiTextEntryDialogMediatorPrivate {
	MultiTextEntryDialog* dialog;
};

typedef gboolean (*MultiTextEntryDialogOnModifyValidateType) (const gchar* text, void* user_data);
struct _ParamSpecMultiTextEntryDialogMediator {
	GParamSpec parent_instance;
};

struct _EntryMultiCompletion {
	GtkEntryCompletion parent_instance;
	EntryMultiCompletionPrivate * priv;
};

struct _EntryMultiCompletionClass {
	GtkEntryCompletionClass parent_class;
};

struct _EntryMultiCompletionPrivate {
	gchar* delimiter;
};

struct _SetBackgroundPhotoDialog {
	GtkDialog parent_instance;
	SetBackgroundPhotoDialogPrivate * priv;
};

struct _SetBackgroundPhotoDialogClass {
	GtkDialogClass parent_class;
};

struct _SetBackgroundPhotoDialogPrivate {
	GtkCheckButton* desktop_background_checkbox;
	GtkCheckButton* screensaver_checkbox;
};

struct _SetBackgroundSlideshowDialog {
	GtkDialog parent_instance;
	SetBackgroundSlideshowDialogPrivate * priv;
};

struct _SetBackgroundSlideshowDialogClass {
	GtkDialogClass parent_class;
};

struct _SetBackgroundSlideshowDialogPrivate {
	GtkCheckButton* desktop_background_checkbox;
	GtkCheckButton* screensaver_checkbox;
	GtkScale* delay_scale;
	GtkLabel* delay_value_label;
	gint delay_value;
};

struct _TextEntryDialog {
	GtkDialog parent_instance;
	TextEntryDialogPrivate * priv;
};

struct _TextEntryDialogClass {
	GtkDialogClass parent_class;
};

struct _TextEntryDialogPrivate {
	TextEntryDialogOnModifyValidateType on_modify_validate;
	gpointer on_modify_validate_target;
	GtkEntry* entry;
	GtkBuilder* builder;
	GtkButton* button1;
	GtkButton* button2;
};

struct _MultiTextEntryDialog {
	GtkDialog parent_instance;
	MultiTextEntryDialogPrivate * priv;
};

struct _MultiTextEntryDialogClass {
	GtkDialogClass parent_class;
};

struct _MultiTextEntryDialogPrivate {
	MultiTextEntryDialogOnModifyValidateType on_modify_validate;
	gpointer on_modify_validate_target;
	GtkTextView* entry;
	GtkBuilder* builder;
	GtkButton* button1;
	GtkButton* button2;
};

struct _EventRenameDialog {
	TextEntryDialogMediator parent_instance;
	EventRenameDialogPrivate * priv;
};

struct _EventRenameDialogClass {
	TextEntryDialogMediatorClass parent_class;
	gchar* (*execute) (EventRenameDialog* self);
};

struct _EditTitleDialog {
	TextEntryDialogMediator parent_instance;
	EditTitleDialogPrivate * priv;
};

struct _EditTitleDialogClass {
	TextEntryDialogMediatorClass parent_class;
	gchar* (*execute) (EditTitleDialog* self);
};

struct _EditCommentDialog {
	MultiTextEntryDialogMediator parent_instance;
	EditCommentDialogPrivate * priv;
};

struct _EditCommentDialogClass {
	MultiTextEntryDialogMediatorClass parent_class;
	gchar* (*execute) (EditCommentDialog* self);
};

struct _ProgressDialog {
	GtkWindow parent_instance;
	ProgressDialogPrivate * priv;
};

struct _ProgressDialogClass {
	GtkWindowClass parent_class;
};

struct _ProgressDialogPrivate {
	GtkProgressBar* progress_bar;
	GtkButton* cancel_button;
	GCancellable* cancellable;
	guint64 last_count;
	gint update_every;
	gint minimum_on_screen_time_msec;
	gulong time_started;
};

struct _AdjustDateTimeDialog {
	GtkDialog parent_instance;
	AdjustDateTimeDialogPrivate * priv;
};

struct _AdjustDateTimeDialogClass {
	GtkDialogClass parent_class;
};

typedef enum  {
	ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM,
	ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM,
	ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR
} AdjustDateTimeDialogTimeSystem;

struct _AdjustDateTimeDialogPrivate {
	gboolean no_original_time;
	time_t original_time;
	GtkLabel* original_time_label;
	GtkCalendar* calendar;
	GtkSpinButton* hour;
	GtkSpinButton* minute;
	GtkSpinButton* second;
	GtkComboBoxText* system;
	GtkRadioButton* relativity_radio_button;
	GtkRadioButton* batch_radio_button;
	GtkCheckButton* modify_originals_check_button;
	GtkLabel* notification;
	AdjustDateTimeDialogTimeSystem previous_time_system;
};

struct _DateableIface {
	GTypeInterface parent_iface;
	void (*set_exposure_time) (Dateable* self, time_t target_time);
	time_t (*get_exposure_time) (Dateable* self);
};

struct _TagsDialog {
	TextEntryDialogMediator parent_instance;
	TagsDialogPrivate * priv;
};

struct _TagsDialogClass {
	TextEntryDialogMediatorClass parent_class;
};

struct _AddTagsDialog {
	TagsDialog parent_instance;
	AddTagsDialogPrivate * priv;
};

struct _AddTagsDialogClass {
	TagsDialogClass parent_class;
};

struct _ModifyTagsDialog {
	TagsDialog parent_instance;
	ModifyTagsDialogPrivate * priv;
};

struct _ModifyTagsDialogClass {
	TagsDialogClass parent_class;
};

struct _WelcomeServiceEntryIface {
	GTypeInterface parent_iface;
	gchar* (*get_service_name) (WelcomeServiceEntry* self);
	void (*execute) (WelcomeServiceEntry* self);
};

struct _WelcomeDialog {
	GtkDialog parent_instance;
	WelcomeDialogPrivate * priv;
};

struct _WelcomeDialogClass {
	GtkDialogClass parent_class;
};

struct _WelcomeDialogPrivate {
	GtkCheckButton* hide_button;
	GtkCheckButton* system_pictures_import_check;
	GtkCheckButton** external_import_checks;
	gint external_import_checks_length1;
	gint _external_import_checks_size_;
	WelcomeServiceEntry** external_import_entries;
	gint external_import_entries_length1;
	gint _external_import_entries_size_;
	GtkLabel* secondary_text;
	GtkLabel* instruction_header;
	GtkBox* import_content;
	GtkBox* import_action_checkbox_packer;
	GtkBox* external_import_action_checkbox_packer;
	SpitDataImportsWelcomeImportMetaHost* import_meta_host;
	gboolean import_content_already_installed;
	gboolean ok_clicked;
};

struct _PreferencesDialog {
	GTypeInstance parent_instance;
	volatile int ref_count;
	PreferencesDialogPrivate * priv;
};

struct _PreferencesDialogClass {
	GTypeClass parent_class;
	void (*finalize) (PreferencesDialog *self);
};

struct _PreferencesDialogPrivate {
	GtkDialog* dialog;
	GtkBuilder* builder;
	GtkAdjustment* bg_color_adjustment;
	GtkScale* bg_color_slider;
	GtkComboBox* photo_editor_combo;
	GtkComboBox* raw_editor_combo;
	SortedList* external_raw_apps;
	SortedList* external_photo_apps;
	GtkFileChooserButton* library_dir_button;
	GtkComboBoxText* dir_pattern_combo;
	GtkEntry* dir_pattern_entry;
	GtkLabel* dir_pattern_example;
	gboolean allow_closing;
	gchar* lib_dir;
	GeeArrayList* path_formats;
	GDateTime* example_date;
	GtkCheckButton* lowercase;
	PluginsManifestWidgetMediator* plugins_mediator;
	GtkComboBoxText* default_raw_developer_combo;
};

typedef enum  {
	RAW_DEVELOPER_SHOTWELL = 0,
	RAW_DEVELOPER_CAMERA,
	RAW_DEVELOPER_EMBEDDED
} RawDeveloper;

struct _PreferencesDialogPathFormat {
	GTypeInstance parent_instance;
	volatile int ref_count;
	PreferencesDialogPathFormatPrivate * priv;
	gchar* name;
	gchar* pattern;
};

struct _PreferencesDialogPathFormatClass {
	GTypeClass parent_class;
	void (*finalize) (PreferencesDialogPathFormat *self);
};

struct _PreferencesDialogParamSpecPathFormat {
	GParamSpec parent_instance;
};

struct _ParamSpecPreferencesDialog {
	GParamSpec parent_instance;
};

typedef gboolean (*ProgressMonitor) (guint64 current, guint64 total, gboolean do_event_loop, void* user_data);

extern GFile* export_ui_current_export_dir;
GFile* export_ui_current_export_dir = NULL;
static gpointer export_dialog_parent_class = NULL;
static ScaleConstraint export_dialog_current_constraint;
static ScaleConstraint export_dialog_current_constraint = SCALE_CONSTRAINT_ORIGINAL;
static ExportFormatParameters export_dialog_current_parameters;
static ExportFormatParameters export_dialog_current_parameters = {0};
static gint export_dialog_current_scale;
static gint export_dialog_current_scale = 0;
static gpointer import_ui_question_params_parent_class = NULL;
static gpointer text_entry_dialog_mediator_parent_class = NULL;
static gpointer multi_text_entry_dialog_mediator_parent_class = NULL;
static gpointer entry_multi_completion_parent_class = NULL;
static gpointer set_background_photo_dialog_parent_class = NULL;
static gpointer set_background_slideshow_dialog_parent_class = NULL;
static gpointer text_entry_dialog_parent_class = NULL;
static gpointer multi_text_entry_dialog_parent_class = NULL;
static gpointer event_rename_dialog_parent_class = NULL;
static gpointer edit_title_dialog_parent_class = NULL;
static gpointer edit_comment_dialog_parent_class = NULL;
static gpointer progress_dialog_parent_class = NULL;
static gpointer adjust_date_time_dialog_parent_class = NULL;
static gpointer tags_dialog_parent_class = NULL;
static gpointer add_tags_dialog_parent_class = NULL;
static gpointer modify_tags_dialog_parent_class = NULL;
extern TagSourceCollection* tag_global;
static gpointer welcome_dialog_parent_class = NULL;
static gpointer preferences_dialog_parent_class = NULL;
static PreferencesDialog* preferences_dialog_preferences_dialog;
static PreferencesDialog* preferences_dialog_preferences_dialog = NULL;
static gpointer preferences_dialog_path_format_parent_class = NULL;
extern LibraryPhotoSourceCollection* library_photo_global;
extern VideoSourceCollection* video_global;

GType data_object_get_type (void) G_GNUC_CONST;
GType data_source_get_type (void) G_GNUC_CONST;
GType tag_get_type (void) G_GNUC_CONST;
gboolean dialogs_confirm_delete_tag (Tag* tag);
gint tag_get_sources_count (Tag* self);
gchar* tag_get_user_visible_name (Tag* self);
gboolean app_window_negate_affirm_question (const gchar* message, const gchar* negative, const gchar* affirmative, const gchar* title, GtkWindow* parent);
#define RESOURCES_DELETE_TAG_TITLE _ ("Delete Tag")
GType saved_search_get_type (void) G_GNUC_CONST;
gboolean dialogs_confirm_delete_saved_search (SavedSearch* search);
gchar* data_object_get_name (DataObject* self);
#define RESOURCES_DELETE_SAVED_SEARCH_DIALOG_TITLE _ ("Delete Search")
gboolean dialogs_confirm_warn_developer_changed (gint number);
GType page_window_get_type (void) G_GNUC_CONST;
GType app_window_get_type (void) G_GNUC_CONST;
AppWindow* app_window_get_instance (void);
#define RESOURCES_CANCEL_LABEL _ ("_Cancel")
GFile* export_ui_choose_file (const gchar* current_file_basename);
gboolean video_reader_is_supported_video_filename (const gchar* filename);
#define RESOURCES_SAVE_LABEL _ ("_Save")
GFile* export_ui_choose_dir (const gchar* user_title);
#define RESOURCES_OK_LABEL _ ("_OK")
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 photo_get_type (void) G_GNUC_CONST;
void open_external_editor_error_dialog (GError* err, Photo* photo);
void app_window_error_message (const gchar* message, GtkWindow* parent);
GFile* media_source_get_master_file (MediaSource* self);
gchar* resources_launch_editor_failed (GError* err);
GtkResponseType export_error_dialog (GFile* dest, gboolean photos_remaining);
GtkResponseType app_window_affirm_cancel_question (const gchar* message, const gchar* affirmative, const gchar* title, GtkWindow* parent);
GType export_dialog_get_type (void) G_GNUC_CONST;
#define EXPORT_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EXPORT_DIALOG, ExportDialogPrivate))
enum  {
	EXPORT_DIALOG_DUMMY_PROPERTY
};
GType scale_constraint_get_type (void) G_GNUC_CONST;
GType export_format_parameters_get_type (void) G_GNUC_CONST;
GType export_format_mode_get_type (void) G_GNUC_CONST;
GType photo_file_format_get_type (void) G_GNUC_CONST;
GType jpeg_quality_get_type (void) G_GNUC_CONST;
ExportFormatParameters* export_format_parameters_dup (const ExportFormatParameters* self);
void export_format_parameters_free (ExportFormatParameters* self);
void export_format_parameters_current (ExportFormatParameters* result);
#define EXPORT_DIALOG_DEFAULT_SCALE 1200
#define EXPORT_DIALOG_NUM_SPECIAL_FORMATS 2
#define EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL _ ("Unmodified")
#define EXPORT_DIALOG_CURRENT_FORMAT_LABEL _ ("Current")
ExportDialog* export_dialog_new (const gchar* title);
ExportDialog* export_dialog_construct (GType object_type, const gchar* title);
GType configuration_facade_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
ConfigFacade* config_facade_get_instance (void);
ExportFormatMode configuration_facade_get_export_export_format_mode (ConfigurationFacade* self);
PhotoFileFormat configuration_facade_get_export_photo_file_format (ConfigurationFacade* self);
JpegQuality configuration_facade_get_export_quality (ConfigurationFacade* self);
gboolean configuration_facade_get_export_export_metadata (ConfigurationFacade* self);
ScaleConstraint configuration_facade_get_export_constraint (ConfigurationFacade* self);
gint configuration_facade_get_export_scale (ConfigurationFacade* self);
gchar* jpeg_quality_to_string (JpegQuality self);
gchar* scale_constraint_to_string (ScaleConstraint self);
static void export_dialog_format_add_option (ExportDialog* self, const gchar* format_name);
PhotoFileFormat* photo_file_format_get_writeable (int* result_length1);
gpointer photo_file_format_properties_ref (gpointer instance);
void photo_file_format_properties_unref (gpointer instance);
GParamSpec* param_spec_photo_file_format_properties (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_photo_file_format_properties (GValue* value, gpointer v_object);
void value_take_photo_file_format_properties (GValue* value, gpointer v_object);
gpointer value_get_photo_file_format_properties (const GValue* value);
GType photo_file_format_properties_get_type (void) G_GNUC_CONST;
PhotoFileFormatProperties* photo_file_format_get_properties (PhotoFileFormat self);
gchar* photo_file_format_properties_get_user_visible_name (PhotoFileFormatProperties* self);
static void export_dialog_on_constraint_changed (ExportDialog* self);
static void _export_dialog_on_constraint_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
static void export_dialog_on_format_changed (ExportDialog* self);
static void _export_dialog_on_format_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
static void export_dialog_on_pixels_changed (ExportDialog* self);
static void _export_dialog_on_pixels_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar* text, gint length, gint* position);
static void _export_dialog_on_pixels_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self);
static void export_dialog_on_activate (ExportDialog* self);
static void _export_dialog_on_activate_gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void export_dialog_add_label (ExportDialog* self, const gchar* text, gint x, gint y, GtkWidget* widget);
static void export_dialog_add_control (ExportDialog* self, GtkWidget* widget, gint x, gint y);
static void export_dialog_format_set_active_text (ExportDialog* self, const gchar* text);
static PhotoFileFormat export_dialog_get_specified_format (ExportDialog* self);
static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, ExportFormatParameters* params);
gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint* constraint, ExportFormatParameters* parameters);
gboolean photo_file_format_can_write (PhotoFileFormat self);
PhotoFileFormat photo_file_format_get_system_default_format (void);
void configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode);
void configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format);
void configuration_facade_set_export_quality (ConfigurationFacade* self, JpegQuality quality);
void configuration_facade_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata);
void configuration_facade_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint);
void configuration_facade_set_export_scale (ConfigurationFacade* self, gint scale);
static void export_dialog_finalize (GObject* obj);
#define IMPORT_UI_REPORT_FAILURE_COUNT 4
#define IMPORT_UI_SAVE_RESULTS_BUTTON_NAME _ ("Save Details…")
#define IMPORT_UI_SAVE_RESULTS_FILE_CHOOSER_TITLE _ ("Save Details")
#define IMPORT_UI_SAVE_RESULTS_RESPONSE_ID 1024
gpointer batch_import_result_ref (gpointer instance);
void batch_import_result_unref (gpointer instance);
GParamSpec* param_spec_batch_import_result (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_batch_import_result (GValue* value, gpointer v_object);
void value_take_batch_import_result (GValue* value, gpointer v_object);
gpointer value_get_batch_import_result (const GValue* value);
GType batch_import_result_get_type (void) G_GNUC_CONST;
gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_dest_id);
gpointer batch_import_job_ref (gpointer instance);
void batch_import_job_unref (gpointer instance);
GParamSpec* param_spec_batch_import_job (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_batch_import_job (GValue* value, gpointer v_object);
void value_take_batch_import_job (GValue* value, gpointer v_object);
gpointer value_get_batch_import_job (const GValue* value);
GType batch_import_job_get_type (void) G_GNUC_CONST;
GType import_result_get_type (void) G_GNUC_CONST;
GType duplicated_file_get_type (void) G_GNUC_CONST;
gpointer import_ui_question_params_ref (gpointer instance);
void import_ui_question_params_unref (gpointer instance);
GParamSpec* import_ui_param_spec_question_params (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void import_ui_value_set_question_params (GValue* value, gpointer v_object);
void import_ui_value_take_question_params (GValue* value, gpointer v_object);
gpointer import_ui_value_get_question_params (const GValue* value);
GType import_ui_question_params_get_type (void) G_GNUC_CONST;
enum  {
	IMPORT_UI_QUESTION_PARAMS_DUMMY_PROPERTY
};
ImportUIQuestionParams* import_ui_question_params_new (const gchar* question, const gchar* yes_button, const gchar* no_button);
ImportUIQuestionParams* import_ui_question_params_construct (GType object_type, const gchar* question, const gchar* yes_button, const gchar* no_button);
static void import_ui_question_params_finalize (ImportUIQuestionParams* obj);
gboolean import_ui_import_has_photos (GeeCollection* import_collection);
PhotoFileFormat photo_file_format_get_by_file_extension (GFile* file);
gboolean import_ui_import_has_videos (GeeCollection* import_collection);
gboolean video_reader_is_supported_video_file (GFile* file);
gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, const gchar* photos_msg, const gchar* videos_msg, const gchar* both_msg, const gchar* neither_msg);
gpointer import_manifest_ref (gpointer instance);
void import_manifest_unref (gpointer instance);
GParamSpec* param_spec_import_manifest (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_import_manifest (GValue* value, gpointer v_object);
void value_take_import_manifest (GValue* value, gpointer v_object);
gpointer value_get_import_manifest (const GValue* value);
GType import_manifest_get_type (void) G_GNUC_CONST;
gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest);
#define RESOURCES_APP_VERSION _VERSION
GFile* duplicated_file_get_file (DuplicatedFile* self);
gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest_id, ImportUIQuestionParams* question);
void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gchar* results_log);
#define RESOURCES_SAVE_AS_LABEL _ ("Save _As")
gpointer text_entry_dialog_mediator_ref (gpointer instance);
void text_entry_dialog_mediator_unref (gpointer instance);
GParamSpec* param_spec_text_entry_dialog_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_text_entry_dialog_mediator (GValue* value, gpointer v_object);
void value_take_text_entry_dialog_mediator (GValue* value, gpointer v_object);
gpointer value_get_text_entry_dialog_mediator (const GValue* value);
GType text_entry_dialog_mediator_get_type (void) G_GNUC_CONST;
GType text_entry_dialog_get_type (void) G_GNUC_CONST;
#define TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediatorPrivate))
enum  {
	TEXT_ENTRY_DIALOG_MEDIATOR_DUMMY_PROPERTY
};
TextEntryDialogMediator* text_entry_dialog_mediator_construct (GType object_type, const gchar* title, const gchar* label, const gchar* initial_text, GeeCollection* completion_list, const gchar* completion_delimiter);
GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user);
TextEntryDialog* text_entry_dialog_new (void);
TextEntryDialog* text_entry_dialog_construct (GType object_type);
void text_entry_dialog_set_builder (TextEntryDialog* self, GtkBuilder* builder);
void text_entry_dialog_setup (TextEntryDialog* self, TextEntryDialogOnModifyValidateType modify_validate, void* modify_validate_target, const gchar* title, const gchar* label, const gchar* initial_text, GeeCollection* completion_list, const gchar* completion_delimiter);
gboolean text_entry_dialog_mediator_on_modify_validate (TextEntryDialogMediator* self, const gchar* text);
static gboolean _text_entry_dialog_mediator_on_modify_validate_text_entry_dialog_on_modify_validate_type (const gchar* text, gpointer self);
static gboolean text_entry_dialog_mediator_real_on_modify_validate (TextEntryDialogMediator* self, const gchar* text);
gchar* _text_entry_dialog_mediator_execute (TextEntryDialogMediator* self);
gchar* text_entry_dialog_execute (TextEntryDialog* self);
static void text_entry_dialog_mediator_finalize (TextEntryDialogMediator* obj);
gpointer multi_text_entry_dialog_mediator_ref (gpointer instance);
void multi_text_entry_dialog_mediator_unref (gpointer instance);
GParamSpec* param_spec_multi_text_entry_dialog_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_multi_text_entry_dialog_mediator (GValue* value, gpointer v_object);
void value_take_multi_text_entry_dialog_mediator (GValue* value, gpointer v_object);
gpointer value_get_multi_text_entry_dialog_mediator (const GValue* value);
GType multi_text_entry_dialog_mediator_get_type (void) G_GNUC_CONST;
GType multi_text_entry_dialog_get_type (void) G_GNUC_CONST;
#define MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediatorPrivate))
enum  {
	MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_DUMMY_PROPERTY
};
MultiTextEntryDialogMediator* multi_text_entry_dialog_mediator_construct (GType object_type, const gchar* title, const gchar* label, const gchar* initial_text);
MultiTextEntryDialog* multi_text_entry_dialog_new (void);
MultiTextEntryDialog* multi_text_entry_dialog_construct (GType object_type);
void multi_text_entry_dialog_set_builder (MultiTextEntryDialog* self, GtkBuilder* builder);
void multi_text_entry_dialog_setup (MultiTextEntryDialog* self, MultiTextEntryDialogOnModifyValidateType modify_validate, void* modify_validate_target, const gchar* title, const gchar* label, const gchar* initial_text);
gboolean multi_text_entry_dialog_mediator_on_modify_validate (MultiTextEntryDialogMediator* self, const gchar* text);
static gboolean _multi_text_entry_dialog_mediator_on_modify_validate_multi_text_entry_dialog_on_modify_validate_type (const gchar* text, gpointer self);
static gboolean multi_text_entry_dialog_mediator_real_on_modify_validate (MultiTextEntryDialogMediator* self, const gchar* text);
gchar* _multi_text_entry_dialog_mediator_execute (MultiTextEntryDialogMediator* self);
gchar* multi_text_entry_dialog_execute (MultiTextEntryDialog* self);
static void multi_text_entry_dialog_mediator_finalize (MultiTextEntryDialogMediator* obj);
gchar* build_alert_body_text (const gchar* primary_text, const gchar* secondary_text, gboolean should_escape);
gchar* guarded_markup_escape_text (const gchar* plain);
GType entry_multi_completion_get_type (void) G_GNUC_CONST;
#define ENTRY_MULTI_COMPLETION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletionPrivate))
enum  {
	ENTRY_MULTI_COMPLETION_DUMMY_PROPERTY
};
EntryMultiCompletion* entry_multi_completion_new (GeeCollection* completion_list, const gchar* delimiter);
EntryMultiCompletion* entry_multi_completion_construct (GType object_type, GeeCollection* completion_list, const gchar* delimiter);
static GtkListStore* entry_multi_completion_create_completion_store (GeeCollection* completion_list);
static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter);
static gboolean _entry_multi_completion_match_func_gtk_entry_completion_match_func (GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter, gpointer self);
static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar* delimiter);
static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion* base, GtkTreeModel* model, GtkTreeIter* iter);
static void entry_multi_completion_finalize (GObject* obj);
GType set_background_photo_dialog_get_type (void) G_GNUC_CONST;
#define SET_BACKGROUND_PHOTO_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogPrivate))
enum  {
	SET_BACKGROUND_PHOTO_DIALOG_DUMMY_PROPERTY
};
SetBackgroundPhotoDialog* set_background_photo_dialog_new (void);
SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type);
static void set_background_photo_dialog_on_checkbox_clicked (SetBackgroundPhotoDialog* self);
static void _set_background_photo_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
gboolean set_background_photo_dialog_execute (SetBackgroundPhotoDialog* self, gboolean* desktop_background, gboolean* screensaver);
static void set_background_photo_dialog_finalize (GObject* obj);
GType set_background_slideshow_dialog_get_type (void) G_GNUC_CONST;
#define SET_BACKGROUND_SLIDESHOW_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialogPrivate))
enum  {
	SET_BACKGROUND_SLIDESHOW_DIALOG_DUMMY_PROPERTY
};
SetBackgroundSlideshowDialog* set_background_slideshow_dialog_new (void);
SetBackgroundSlideshowDialog* set_background_slideshow_dialog_construct (GType object_type);
static void set_background_slideshow_dialog_real_constructed (GObject* base);
static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBackgroundSlideshowDialog* self);
static void set_background_slideshow_dialog_on_checkbox_clicked (SetBackgroundSlideshowDialog* self);
static void _set_background_slideshow_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self);
gboolean set_background_slideshow_dialog_execute (SetBackgroundSlideshowDialog* self, gint* delay_value, gboolean* desktop_background, gboolean* screensaver);
static void set_background_slideshow_dialog_finalize (GObject* obj);
#define TEXT_ENTRY_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_TEXT_ENTRY_DIALOG, TextEntryDialogPrivate))
enum  {
	TEXT_ENTRY_DIALOG_DUMMY_PROPERTY
};
void text_entry_dialog_on_entry_changed (TextEntryDialog* self);
static void _text_entry_dialog_on_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void text_entry_dialog_finalize (GObject* obj);
#define MULTI_TEXT_ENTRY_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MULTI_TEXT_ENTRY_DIALOG, MultiTextEntryDialogPrivate))
enum  {
	MULTI_TEXT_ENTRY_DIALOG_DUMMY_PROPERTY
};
static void multi_text_entry_dialog_finalize (GObject* obj);
GType event_rename_dialog_get_type (void) G_GNUC_CONST;
enum  {
	EVENT_RENAME_DIALOG_DUMMY_PROPERTY
};
EventRenameDialog* event_rename_dialog_new (const gchar* event_name);
EventRenameDialog* event_rename_dialog_construct (GType object_type, const gchar* event_name);
gchar* event_rename_dialog_execute (EventRenameDialog* self);
static gchar* event_rename_dialog_real_execute (EventRenameDialog* self);
gchar* event_prep_event_name (const gchar* name);
GType edit_title_dialog_get_type (void) G_GNUC_CONST;
enum  {
	EDIT_TITLE_DIALOG_DUMMY_PROPERTY
};
EditTitleDialog* edit_title_dialog_new (const gchar* photo_title);
EditTitleDialog* edit_title_dialog_construct (GType object_type, const gchar* photo_title);
gchar* edit_title_dialog_execute (EditTitleDialog* self);
static gchar* edit_title_dialog_real_execute (EditTitleDialog* self);
gchar* media_source_prep_title (const gchar* title);
static gboolean edit_title_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text);
GType edit_comment_dialog_get_type (void) G_GNUC_CONST;
enum  {
	EDIT_COMMENT_DIALOG_DUMMY_PROPERTY
};
EditCommentDialog* edit_comment_dialog_new (const gchar* comment, gboolean is_event);
EditCommentDialog* edit_comment_dialog_construct (GType object_type, const gchar* comment, gboolean is_event);
gchar* edit_comment_dialog_execute (EditCommentDialog* self);
static gchar* edit_comment_dialog_real_execute (EditCommentDialog* self);
gchar* media_source_prep_comment (const gchar* comment);
static gboolean edit_comment_dialog_real_on_modify_validate (MultiTextEntryDialogMediator* base, const gchar* text);
GtkResponseType remove_from_library_dialog (GtkWindow* owner, const gchar* title, const gchar* user_message, gint count);
GtkResponseType remove_from_filesystem_dialog (GtkWindow* owner, const gchar* title, const gchar* user_message);
gboolean revert_editable_dialog (GtkWindow* owner, GeeCollection* photos);
gboolean photo_has_editable (Photo* self);
gboolean remove_offline_dialog (GtkWindow* owner, gint count);
GType progress_dialog_get_type (void) G_GNUC_CONST;
#define PROGRESS_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PROGRESS_DIALOG, ProgressDialogPrivate))
enum  {
	PROGRESS_DIALOG_DUMMY_PROPERTY
};
ProgressDialog* progress_dialog_new (GtkWindow* owner, const gchar* text, GCancellable* cancellable);
ProgressDialog* progress_dialog_construct (GType object_type, GtkWindow* owner, const gchar* text, GCancellable* cancellable);
static void progress_dialog_on_cancel (ProgressDialog* self);
static void _progress_dialog_on_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self);
static gboolean progress_dialog_on_window_closed (ProgressDialog* self);
static gboolean _progress_dialog_on_window_closed_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
gulong now_ms (void);
static void progress_dialog_real_realize (GtkWidget* base);
void progress_dialog_update_display_every (ProgressDialog* self, gint update_every);
void progress_dialog_set_minimum_on_screen_time_msec (ProgressDialog* self, gint minimum_on_screen_time_msec);
void progress_dialog_set_fraction (ProgressDialog* self, gint current, gint total);
void progress_dialog_set_percentage (ProgressDialog* self, gdouble pct);
static void progress_dialog_maybe_show_all (ProgressDialog* self, gdouble pct);
void progress_dialog_set_status (ProgressDialog* self, const gchar* text);
gboolean progress_dialog_monitor (ProgressDialog* self, guint64 count, guint64 total, gboolean do_event_loop);
void spin_event_loop (void);
void progress_dialog_close (ProgressDialog* self);
static void progress_dialog_finalize (GObject* obj);
GType adjust_date_time_dialog_get_type (void) G_GNUC_CONST;
static GType adjust_date_time_dialog_time_system_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define ADJUST_DATE_TIME_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialogPrivate))
enum  {
	ADJUST_DATE_TIME_DIALOG_DUMMY_PROPERTY
};
#define ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY ((gint64) ((60 * 60) * 24))
#define ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR ((gint64) (60 * 60))
#define ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE ((gint64) 60)
#define ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET 1900
#define ADJUST_DATE_TIME_DIALOG_CALENDAR_THUMBNAIL_SCALE 1
GType dateable_get_type (void) G_GNUC_CONST;
AdjustDateTimeDialog* adjust_date_time_dialog_new (Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video);
AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video);
#define RESOURCES_ADJUST_DATE_TIME_LABEL _ ("Adjust Date and Time")
static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self);
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self);
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender, gpointer self);
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender, gpointer self);
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender, gpointer self);
gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self);
static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDialog* self, GtkSpinButton* button);
static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender, gpointer self);
static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog* self);
static void _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
gboolean configuration_facade_get_keep_relativity (ConfigurationFacade* self);
static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self);
GdkPixbuf* thumbnail_source_get_thumbnail (ThumbnailSource* self, gint scale, GError** error);
gchar* data_object_to_string (DataObject* self);
time_t dateable_get_exposure_time (Dateable* self);
static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct tm* time);
static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialog* self, gboolean use_24_hr_format);
static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self);
gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* time_shift, gboolean* keep_relativity, gboolean* modify_originals);
void configuration_facade_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity);
void configuration_facade_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals);
void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time);
static void adjust_date_time_dialog_finalize (GObject* obj);
#define MAX_OBJECTS_DISPLAYED 3
void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message, const gchar* title);
GType tags_dialog_get_type (void) G_GNUC_CONST;
enum  {
	TAGS_DIALOG_DUMMY_PROPERTY
};
TagsDialog* tags_dialog_construct (GType object_type, const gchar* title, const gchar* label, const gchar* initial_text);
gpointer hierarchical_tag_index_ref (gpointer instance);
void hierarchical_tag_index_unref (gpointer instance);
GParamSpec* param_spec_hierarchical_tag_index (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_hierarchical_tag_index (GValue* value, gpointer v_object);
void value_take_hierarchical_tag_index (GValue* value, gpointer v_object);
gpointer value_get_hierarchical_tag_index (const GValue* value);
GType hierarchical_tag_index_get_type (void) G_GNUC_CONST;
HierarchicalTagIndex* hierarchical_tag_index_get_global_index (void);
GeeCollection* hierarchical_tag_index_get_all_tags (HierarchicalTagIndex* self);
GType add_tags_dialog_get_type (void) G_GNUC_CONST;
enum  {
	ADD_TAGS_DIALOG_DUMMY_PROPERTY
};
AddTagsDialog* add_tags_dialog_new (void);
AddTagsDialog* add_tags_dialog_construct (GType object_type);
#define RESOURCES_ADD_TAGS_TITLE "Add Tags"
gchar** add_tags_dialog_execute (AddTagsDialog* self, int* result_length1);
gchar** tag_prep_tag_names (gchar** names, int names_length1, int* result_length1);
static gboolean add_tags_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text);
#define TAG_PATH_SEPARATOR_STRING "/"
GType modify_tags_dialog_get_type (void) G_GNUC_CONST;
enum  {
	MODIFY_TAGS_DIALOG_DUMMY_PROPERTY
};
ModifyTagsDialog* modify_tags_dialog_new (MediaSource* source);
ModifyTagsDialog* modify_tags_dialog_construct (GType object_type, MediaSource* source);
#define RESOURCES_MODIFY_TAGS_LABEL _ ("Modify Tags")
static gchar* modify_tags_dialog_get_initial_text (MediaSource* source);
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 source_collection_get_type (void) G_GNUC_CONST;
GType database_source_collection_get_type (void) G_GNUC_CONST;
GType container_source_collection_get_type (void) G_GNUC_CONST;
GType tag_source_collection_get_type (void) G_GNUC_CONST;
GeeList* tag_source_collection_fetch_for_source (TagSourceCollection* self, MediaSource* source);
GeeCollection* tag_get_terminal_tags (GeeCollection* tags);
gchar* hierarchical_tag_utilities_get_basename (const gchar* in_path);
gchar* tag_get_path (Tag* self);
GeeArrayList* modify_tags_dialog_execute (ModifyTagsDialog* self);
gboolean is_string_empty (const gchar* s);
gchar** hierarchical_tag_index_get_paths_for_names_array (HierarchicalTagIndex* self, gchar** names, int names_length1, int* result_length1);
Tag* tag_for_path (const gchar* name);
static gboolean modify_tags_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text);
GType welcome_service_entry_get_type (void) G_GNUC_CONST;
gchar* welcome_service_entry_get_service_name (WelcomeServiceEntry* self);
void welcome_service_entry_execute (WelcomeServiceEntry* self);
GType welcome_dialog_get_type (void) G_GNUC_CONST;
GType spit_data_imports_welcome_import_meta_host_get_type (void) G_GNUC_CONST;
#define WELCOME_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_WELCOME_DIALOG, WelcomeDialogPrivate))
enum  {
	WELCOME_DIALOG_DUMMY_PROPERTY
};
WelcomeDialog* welcome_dialog_new (GtkWindow* owner);
WelcomeDialog* welcome_dialog_construct (GType object_type, GtkWindow* owner);
SpitDataImportsWelcomeImportMetaHost* spit_data_imports_welcome_import_meta_host_new (WelcomeDialog* dialog);
SpitDataImportsWelcomeImportMetaHost* spit_data_imports_welcome_import_meta_host_construct (GType object_type, WelcomeDialog* dialog);
static gboolean welcome_dialog_is_system_pictures_import_possible (void);
gchar* get_display_pathname (GFile* file);
GFile* app_dirs_get_import_dir (void);
static void welcome_dialog_install_import_content (WelcomeDialog* self);
void spit_data_imports_welcome_import_meta_host_start (SpitDataImportsWelcomeImportMetaHost* self);
void welcome_dialog_install_service_entry (WelcomeDialog* self, WelcomeServiceEntry* entry);
static void _vala_array_add109 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value);
static void _vala_array_add110 (GtkCheckButton*** array, int* length, int* size, GtkCheckButton* value);
static void welcome_dialog_on_dismiss (WelcomeDialog* self, gint resp);
gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** selected_import_entries, int* selected_import_entries_length1, gboolean* do_system_pictures_import);
static void _welcome_dialog_on_dismiss_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void _vala_array_add111 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value);
static WelcomeServiceEntry** _vala_array_dup29 (WelcomeServiceEntry** self, int length);
static void welcome_dialog_finalize (GObject* obj);
gpointer preferences_dialog_ref (gpointer instance);
void preferences_dialog_unref (gpointer instance);
GParamSpec* param_spec_preferences_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void value_set_preferences_dialog (GValue* value, gpointer v_object);
void value_take_preferences_dialog (GValue* value, gpointer v_object);
gpointer value_get_preferences_dialog (const GValue* value);
GType preferences_dialog_get_type (void) G_GNUC_CONST;
GType sorted_list_get_type (void) G_GNUC_CONST;
static gpointer preferences_dialog_path_format_ref (gpointer instance);
static void preferences_dialog_path_format_unref (gpointer instance);
static GParamSpec* preferences_dialog_param_spec_path_format (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) G_GNUC_UNUSED;
static void preferences_dialog_value_set_path_format (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static void preferences_dialog_value_take_path_format (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static gpointer preferences_dialog_value_get_path_format (const GValue* value) G_GNUC_UNUSED;
static GType preferences_dialog_path_format_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
gpointer plugins_manifest_widget_mediator_ref (gpointer instance);
void plugins_manifest_widget_mediator_unref (gpointer instance);
GParamSpec* plugins_param_spec_manifest_widget_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void plugins_value_set_manifest_widget_mediator (GValue* value, gpointer v_object);
void plugins_value_take_manifest_widget_mediator (GValue* value, gpointer v_object);
gpointer plugins_value_get_manifest_widget_mediator (const GValue* value);
GType plugins_manifest_widget_mediator_get_type (void) G_GNUC_CONST;
#define PREFERENCES_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PREFERENCES_DIALOG, PreferencesDialogPrivate))
enum  {
	PREFERENCES_DIALOG_DUMMY_PROPERTY
};
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_new (void);
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_construct (GType object_type);
static PreferencesDialog* preferences_dialog_new (void);
static PreferencesDialog* preferences_dialog_construct (GType object_type);
static gboolean preferences_dialog_on_delete (PreferencesDialog* self);
static gboolean _preferences_dialog_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
static void preferences_dialog_on_close (PreferencesDialog* self);
static void _preferences_dialog_on_close_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
void config_facade_get_bg_color (ConfigFacade* self, GdkRGBA* result);
static void preferences_dialog_on_value_changed (PreferencesDialog* self);
static void _preferences_dialog_on_value_changed_gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self);
static gboolean preferences_dialog_on_bg_color_reset (PreferencesDialog* self, GdkEventButton* event);
static gboolean _preferences_dialog_on_bg_color_reset_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self);
gchar* resources_get_help_path (void);
#define RESOURCES_DIR_PATTERN_URI_SYSWIDE "help:shotwell/other-files"
static gboolean preferences_dialog_on_local_pattern_help (PreferencesDialog* self, const gchar* ignore);
static gboolean _preferences_dialog_on_local_pattern_help_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self);
static void preferences_dialog_add_to_dir_formats (PreferencesDialog* self, const gchar* name, const gchar* pattern);
static void preferences_dialog_on_dir_pattern_combo_changed (PreferencesDialog* self);
static void _preferences_dialog_on_dir_pattern_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
static void preferences_dialog_on_dir_pattern_entry_changed (PreferencesDialog* self);
static void _preferences_dialog_on_dir_pattern_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void preferences_dialog_on_lowercase_toggled (PreferencesDialog* self);
static void _preferences_dialog_on_lowercase_toggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
GtkWidget* plugins_manifest_widget_mediator_get_widget (PluginsManifestWidgetMediator* self);
void preferences_dialog_populate_preference_options (PreferencesDialog* self);
static void preferences_dialog_on_photo_editor_changed (PreferencesDialog* self);
static void _preferences_dialog_on_photo_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
static void preferences_dialog_on_raw_editor_changed (PreferencesDialog* self);
static void _preferences_dialog_on_raw_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
gboolean configuration_facade_get_auto_import_from_library (ConfigurationFacade* self);
GType raw_developer_get_type (void) G_GNUC_CONST;
gchar* raw_developer_get_label (RawDeveloper self);
static void preferences_dialog_set_raw_developer_combo (PreferencesDialog* self, RawDeveloper d);
RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self);
static void preferences_dialog_on_default_raw_developer_changed (PreferencesDialog* self);
static void _preferences_dialog_on_default_raw_developer_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
static gboolean preferences_dialog_map_event (PreferencesDialog* self);
static gboolean _preferences_dialog_map_event_gtk_widget_map_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self, GtkComboBox* combo_box, gchar** mime_types, int mime_types_length1, const gchar* current_app_executable, SortedList** external_apps);
gchar** photo_file_format_get_editable_mime_types (int* result_length1);
gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self);
gchar** photo_file_format_get_mime_types (PhotoFileFormat self, int* result_length1);
gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self);
static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkComboBox* combo_box, GtkEntry* entry);
gboolean configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self);
void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** error);
SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int mime_types_length1);
GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gboolean scale_up);
#define RESOURCES_DEFAULT_ICON_SCALE 24
gint sorted_list_index_of (SortedList* self, gconstpointer search);
gchar* configuration_facade_get_directory_pattern (ConfigurationFacade* self);
gchar* configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self);
void preferences_dialog_show (void);
static void preferences_dialog_commit_on_close (PreferencesDialog* self);
void config_facade_commit_bg_color (ConfigFacade* self);
void configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import);
void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata);
void app_dirs_set_import_dir (const gchar* path);
void configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s);
void configuration_facade_set_directory_pattern (ConfigurationFacade* self, const gchar* s);
static gboolean preferences_dialog_get_allow_closing (PreferencesDialog* self);
static void preferences_dialog_set_background_color (PreferencesDialog* self, gdouble bg_color_value);
gboolean has_only_key_modifier (GdkModifierType field, GdkModifierType mask);
void parse_color (const gchar* spec, GdkRGBA* result);
#define CONFIG_FACADE_DEFAULT_BG_COLOR "#444"
static void preferences_dialog_set_allow_closing (PreferencesDialog* self, gboolean allow);
void config_facade_set_bg_color (ConfigFacade* self, GdkRGBA* color);
static void preferences_dialog_to_grayscale (PreferencesDialog* self, gdouble color_value, GdkRGBA* result);
gpointer sorted_list_get_at (SortedList* self, gint index);
void configuration_facade_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app);
gchar* desktop_integration_get_app_open_command (GAppInfo* app_info);
void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app);
static RawDeveloper preferences_dialog_raw_developer_from_combo (PreferencesDialog* self);
void configuration_facade_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d);
static void preferences_dialog_on_current_folder_changed (PreferencesDialog* self);
static void _preferences_dialog_on_current_folder_changed_gtk_file_chooser_current_folder_changed (GtkFileChooser* _sender, gpointer self);
static PreferencesDialogPathFormat* preferences_dialog_path_format_new (const gchar* name, const gchar* pattern);
static PreferencesDialogPathFormat* preferences_dialog_path_format_construct (GType object_type, const gchar* name, const gchar* pattern);
void configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b);
enum  {
	PREFERENCES_DIALOG_PATH_FORMAT_DUMMY_PROPERTY
};
static void preferences_dialog_path_format_finalize (PreferencesDialogPathFormat* obj);
static void preferences_dialog_finalize (PreferencesDialog* obj);
GtkResponseType copy_files_dialog (void);
GType library_photo_get_type (void) G_GNUC_CONST;
void remove_photos_from_library (GeeCollection* photos);
void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const gchar* progress_dialog_text);
GType video_source_get_type (void) G_GNUC_CONST;
GType video_get_type (void) G_GNUC_CONST;
void media_source_collection_filter_media (GeeCollection* media, GeeCollection* photos, GeeCollection* videos);
void page_window_set_busy_cursor (PageWindow* self);
static gboolean _progress_dialog_monitor_progress_monitor (guint64 current, guint64 total, gboolean do_event_loop, gpointer self);
GType media_source_collection_get_type (void) G_GNUC_CONST;
GType library_photo_source_collection_get_type (void) G_GNUC_CONST;
void media_source_collection_remove_from_app (MediaSourceCollection* self, GeeCollection* sources, gboolean delete_backing, ProgressMonitor monitor, void* monitor_target, GeeList* not_removed);
GType video_source_collection_get_type (void) G_GNUC_CONST;
void media_source_collection_delete_backing_files (MediaSourceCollection* self, GeeCollection* sources, ProgressMonitor monitor, void* monitor_target, GeeList* not_deleted);
void app_window_error_message_with_title (const gchar* title, const gchar* message, GtkWindow* parent, gboolean should_escape);
void page_window_set_normal_cursor (PageWindow* self);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);

const ScaleConstraint EXPORT_DIALOG_CONSTRAINT_ARRAY[4] = {SCALE_CONSTRAINT_ORIGINAL, SCALE_CONSTRAINT_DIMENSIONS, SCALE_CONSTRAINT_WIDTH, SCALE_CONSTRAINT_HEIGHT};
const JpegQuality EXPORT_DIALOG_QUALITY_ARRAY[4] = {JPEG_QUALITY_LOW, JPEG_QUALITY_MEDIUM, JPEG_QUALITY_HIGH, JPEG_QUALITY_MAXIMUM};

gboolean dialogs_confirm_delete_tag (Tag* tag) {
	gboolean result = FALSE;
	gint count = 0;
	Tag* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	gchar* msg = NULL;
	gint _tmp3_ = 0;
	const gchar* _tmp4_ = NULL;
	Tag* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	const gchar* _tmp13_ = NULL;
	gboolean _tmp14_ = FALSE;
#line 11 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_TAG (tag), FALSE);
#line 12 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = tag;
#line 12 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = tag_get_sources_count (_tmp0_);
#line 12 "/home/jens/Source/shotwell/src/Dialogs.vala"
	count = _tmp1_;
#line 13 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = count;
#line 13 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_ == 0) {
#line 14 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = TRUE;
#line 14 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 1719 "Dialogs.c"
	}
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = count;
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = ngettext ("This will remove the tag “%s” from one photo. Continue?", "This will remove the tag “%s” from %d photos. Continue?", (gulong) _tmp3_);
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = tag;
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = tag_get_user_visible_name (_tmp5_);
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_;
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = count;
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = g_strdup_printf (_tmp4_, _tmp7_, _tmp8_);
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp7_);
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
	msg = _tmp10_;
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = msg;
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = _ ("_Cancel");
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = _ ("_Delete");
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = app_window_negate_affirm_question (_tmp11_, _tmp12_, _tmp13_, RESOURCES_DELETE_TAG_TITLE, NULL);
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp14_;
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (msg);
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 1755 "Dialogs.c"
}


gboolean dialogs_confirm_delete_saved_search (SavedSearch* search) {
	gboolean result = FALSE;
	gchar* msg = NULL;
	const gchar* _tmp0_ = NULL;
	SavedSearch* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	gboolean _tmp8_ = FALSE;
#line 24 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_SAVED_SEARCH (search), FALSE);
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _ ("This will remove the saved search “%s”. Continue?");
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = search;
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_OBJECT, DataObject));
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_strdup_printf (_tmp0_, _tmp3_);
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp3_);
#line 25 "/home/jens/Source/shotwell/src/Dialogs.vala"
	msg = _tmp5_;
#line 28 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _ ("_Cancel");
#line 28 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _ ("_Delete");
#line 28 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = app_window_negate_affirm_question (msg, _tmp6_, _tmp7_, RESOURCES_DELETE_SAVED_SEARCH_DIALOG_TITLE, NULL);
#line 28 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp8_;
#line 28 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (msg);
#line 28 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 1801 "Dialogs.c"
}


gboolean dialogs_confirm_warn_developer_changed (gint number) {
	gboolean result = FALSE;
	GtkMessageDialog* dialog = NULL;
	AppWindow* _tmp0_ = NULL;
	AppWindow* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	const gchar* _tmp3_ = NULL;
	GtkMessageDialog* _tmp4_ = NULL;
	GtkMessageDialog* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gint response = 0;
	gint _tmp7_ = 0;
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = app_window_get_instance ();
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = number;
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = ngettext ("Switching developers will undo all changes you have made to this photo" \
" in Shotwell", "Switching developers will undo all changes you have made to these phot" \
"os in Shotwell", (gulong) _tmp2_);
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "<span weight=\"bold\" size=\"larger\">%s</span>", _tmp3_);
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp4_);
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp1_);
#line 33 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = _tmp5_;
#line 39 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, NULL);
#line 40 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _ ("_Switch Developer");
#line 40 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp6_, GTK_RESPONSE_YES, NULL);
#line 42 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
#line 42 "/home/jens/Source/shotwell/src/Dialogs.vala"
	response = _tmp7_;
#line 44 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
#line 46 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = response == ((gint) GTK_RESPONSE_YES);
#line 46 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 46 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 1853 "Dialogs.c"
}


GFile* export_ui_choose_file (const gchar* current_file_basename) {
	GFile* result = NULL;
	GFile* _tmp0_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gchar* file_chooser_title = NULL;
	gchar* _tmp8_ = NULL;
	GtkFileChooserDialog* chooser = NULL;
	const gchar* _tmp9_ = NULL;
	AppWindow* _tmp10_ = NULL;
	AppWindow* _tmp11_ = NULL;
	GtkFileChooserDialog* _tmp12_ = NULL;
	GtkFileChooserDialog* _tmp13_ = NULL;
	GtkFileChooserDialog* _tmp14_ = NULL;
	GtkFileChooserDialog* _tmp15_ = NULL;
	GFile* _tmp16_ = NULL;
	gchar* _tmp17_ = NULL;
	gchar* _tmp18_ = NULL;
	GtkFileChooserDialog* _tmp19_ = NULL;
	const gchar* _tmp20_ = NULL;
	GtkFileChooserDialog* _tmp21_ = NULL;
	GFile* file = NULL;
	GtkFileChooserDialog* _tmp22_ = NULL;
	gint _tmp23_ = 0;
	GtkFileChooserDialog* _tmp30_ = NULL;
#line 54 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (current_file_basename != NULL, NULL);
#line 55 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = export_ui_current_export_dir;
#line 55 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == NULL) {
#line 1889 "Dialogs.c"
		const gchar* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
#line 56 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = g_get_home_dir ();
#line 56 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = g_file_new_for_path (_tmp1_);
#line 56 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (export_ui_current_export_dir);
#line 56 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_ui_current_export_dir = _tmp2_;
#line 1900 "Dialogs.c"
	}
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = current_file_basename;
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = video_reader_is_supported_video_filename (_tmp4_);
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_) {
#line 1908 "Dialogs.c"
		const gchar* _tmp6_ = NULL;
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = _ ("Export Video");
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = _tmp6_;
#line 1914 "Dialogs.c"
	} else {
		const gchar* _tmp7_ = NULL;
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = _ ("Export Photo");
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = _tmp7_;
#line 1921 "Dialogs.c"
	}
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = g_strdup (_tmp3_);
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
	file_chooser_title = _tmp8_;
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = file_chooser_title;
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = app_window_get_instance ();
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = _tmp10_;
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_window_get_type (), GtkWindow), GTK_FILE_CHOOSER_ACTION_SAVE, RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_SAVE_LABEL, GTK_RESPONSE_ACCEPT, NULL, NULL);
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp12_);
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = _tmp12_;
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp11_);
#line 61 "/home/jens/Source/shotwell/src/Dialogs.vala"
	chooser = _tmp13_;
#line 64 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = chooser;
#line 64 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_do_overwrite_confirmation (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), TRUE);
#line 65 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = chooser;
#line 65 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = export_ui_current_export_dir;
#line 65 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = g_file_get_path (_tmp16_);
#line 65 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = _tmp17_;
#line 65 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp18_);
#line 65 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp18_);
#line 66 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = chooser;
#line 66 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = current_file_basename;
#line 66 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_current_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp20_);
#line 67 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = chooser;
#line 67 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_local_only (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), FALSE);
#line 69 "/home/jens/Source/shotwell/src/Dialogs.vala"
	file = NULL;
#line 70 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = chooser;
#line 70 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_dialog_get_type (), GtkDialog));
#line 70 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp23_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 1977 "Dialogs.c"
		GtkFileChooserDialog* _tmp24_ = NULL;
		gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
		GFile* _tmp27_ = NULL;
		GFile* _tmp28_ = NULL;
		GFile* _tmp29_ = NULL;
#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = chooser;
#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = gtk_file_chooser_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser));
#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = _tmp25_;
#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp27_ = g_file_new_for_path (_tmp26_);
#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (file);
#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala"
		file = _tmp27_;
#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp26_);
#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = file;
#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp29_ = g_file_get_parent (_tmp28_);
#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (export_ui_current_export_dir);
#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_ui_current_export_dir = _tmp29_;
#line 2006 "Dialogs.c"
	}
#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = chooser;
#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_widget_get_type (), GtkWidget));
#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = file;
#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (chooser);
#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (file_chooser_title);
#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 2020 "Dialogs.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self ? g_object_ref (self) : NULL;
#line 2027 "Dialogs.c"
}


GFile* export_ui_choose_dir (const gchar* user_title) {
	GFile* result = NULL;
	GFile* _tmp0_ = NULL;
	const gchar* _tmp3_ = NULL;
	GtkFileChooserDialog* chooser = NULL;
	const gchar* _tmp5_ = NULL;
	AppWindow* _tmp6_ = NULL;
	AppWindow* _tmp7_ = NULL;
	GtkFileChooserDialog* _tmp8_ = NULL;
	GtkFileChooserDialog* _tmp9_ = NULL;
	GtkFileChooserDialog* _tmp10_ = NULL;
	GFile* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	GtkFileChooserDialog* _tmp14_ = NULL;
	GFile* dir = NULL;
	GtkFileChooserDialog* _tmp15_ = NULL;
	gint _tmp16_ = 0;
	GtkFileChooserDialog* _tmp23_ = NULL;
#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = export_ui_current_export_dir;
#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == NULL) {
#line 2054 "Dialogs.c"
		const gchar* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = g_get_home_dir ();
#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = g_file_new_for_path (_tmp1_);
#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (export_ui_current_export_dir);
#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_ui_current_export_dir = _tmp2_;
#line 2065 "Dialogs.c"
	}
#line 83 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = user_title;
#line 83 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_ == NULL) {
#line 2071 "Dialogs.c"
		const gchar* _tmp4_ = NULL;
#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _ ("Export Photos");
#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala"
		user_title = _tmp4_;
#line 2077 "Dialogs.c"
	}
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = user_title;
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = app_window_get_instance ();
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_;
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_window_get_type (), GtkWindow), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_OK_LABEL, GTK_RESPONSE_ACCEPT, NULL, NULL);
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp8_);
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _tmp8_;
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp7_);
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
	chooser = _tmp9_;
#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = chooser;
#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = export_ui_current_export_dir;
#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = g_file_get_path (_tmp11_);
#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = _tmp12_;
#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp13_);
#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp13_);
#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = chooser;
#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_local_only (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), FALSE);
#line 92 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dir = NULL;
#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = chooser;
#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_dialog_get_type (), GtkDialog));
#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp16_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2119 "Dialogs.c"
		GtkFileChooserDialog* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		gchar* _tmp19_ = NULL;
		GFile* _tmp20_ = NULL;
		GFile* _tmp21_ = NULL;
		GFile* _tmp22_ = NULL;
#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = chooser;
#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = gtk_file_chooser_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser));
#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = _tmp18_;
#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = g_file_new_for_path (_tmp19_);
#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (dir);
#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dir = _tmp20_;
#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp19_);
#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = dir;
#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = _g_object_ref0 (_tmp21_);
#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (export_ui_current_export_dir);
#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_ui_current_export_dir = _tmp22_;
#line 2148 "Dialogs.c"
	}
#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = chooser;
#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget));
#line 100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = dir;
#line 100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (chooser);
#line 100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 2160 "Dialogs.c"
}


void open_external_editor_error_dialog (GError* err, Photo* photo) {
	gboolean _tmp0_ = FALSE;
	GError* _tmp1_ = NULL;
#line 107 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PHOTO (photo));
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = err;
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (g_error_matches (_tmp1_, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED)) {
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = TRUE;
#line 2175 "Dialogs.c"
	} else {
		GError* _tmp2_ = NULL;
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = err;
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = g_error_matches (_tmp2_, G_FILE_ERROR, G_FILE_ERROR_PERM);
#line 2182 "Dialogs.c"
	}
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 2186 "Dialogs.c"
		const gchar* _tmp3_ = NULL;
		Photo* _tmp4_ = NULL;
		GFile* _tmp5_ = NULL;
		GFile* _tmp6_ = NULL;
		GFile* _tmp7_ = NULL;
		GFile* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		gchar* _tmp12_ = NULL;
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = _ ("Shotwell couldn’t create a file for editing this photo because you do " \
"not have permission to write to %s.");
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = photo;
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = media_source_get_master_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_MEDIA_SOURCE, MediaSource));
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = _tmp5_;
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = g_file_get_parent (_tmp6_);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = _tmp7_;
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = g_file_get_path (_tmp8_);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp9_;
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = g_strdup_printf (_tmp3_, _tmp10_);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = _tmp11_;
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		app_window_error_message (_tmp12_, NULL);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp12_);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp10_);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp8_);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp6_);
#line 2227 "Dialogs.c"
	} else {
		GError* _tmp13_ = NULL;
		gchar* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = err;
#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = resources_launch_editor_failed (_tmp13_);
#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = _tmp14_;
#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala"
		app_window_error_message (_tmp15_, NULL);
#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp15_);
#line 2242 "Dialogs.c"
	}
}


GtkResponseType export_error_dialog (GFile* dest, gboolean photos_remaining) {
	GtkResponseType result = 0;
	gchar* message = NULL;
	const gchar* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	GtkResponseType response = 0;
	gboolean _tmp6_ = FALSE;
#line 120 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (G_IS_FILE (dest), 0);
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _ ("Unable to export the following photo due to a file error.\n\n");
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = dest;
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = g_file_get_path (_tmp1_);
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_strconcat (_tmp0_, _tmp3_, NULL);
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp3_);
#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala"
	message = _tmp5_;
#line 124 "/home/jens/Source/shotwell/src/Dialogs.vala"
	response = GTK_RESPONSE_NONE;
#line 126 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = photos_remaining;
#line 126 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp6_) {
#line 2282 "Dialogs.c"
		const gchar* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
		GtkResponseType _tmp12_ = 0;
#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = message;
#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = _ ("\n\nWould you like to continue exporting?");
#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = g_strconcat (_tmp7_, _tmp8_, NULL);
#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp9_;
#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = message;
#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = _ ("Con_tinue");
#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = app_window_affirm_cancel_question (_tmp10_, _tmp11_, NULL, NULL);
#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala"
		response = _tmp12_;
#line 2307 "Dialogs.c"
	} else {
		const gchar* _tmp13_ = NULL;
#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = message;
#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala"
		app_window_error_message (_tmp13_, NULL);
#line 2314 "Dialogs.c"
	}
#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = response;
#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (message);
#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 2322 "Dialogs.c"
}


static void _export_dialog_on_constraint_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 214 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_on_constraint_changed ((ExportDialog*) self);
#line 2329 "Dialogs.c"
}


static void _export_dialog_on_format_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_on_format_changed ((ExportDialog*) self);
#line 2336 "Dialogs.c"
}


static void _export_dialog_on_pixels_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 216 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_on_pixels_changed ((ExportDialog*) self);
#line 2343 "Dialogs.c"
}


static void _export_dialog_on_pixels_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
#line 217 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_on_pixels_insert_text ((ExportDialog*) self, new_text, new_text_length, position);
#line 2350 "Dialogs.c"
}


static void _export_dialog_on_activate_gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 218 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_on_activate ((ExportDialog*) self);
#line 2357 "Dialogs.c"
}


ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
	ExportDialog * self = NULL;
	gboolean use_header = FALSE;
	GtkSettings* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gboolean _tmp2_ = FALSE;
	const gchar* _tmp3_ = NULL;
	ConfigFacade* config = NULL;
	ConfigFacade* _tmp4_ = NULL;
	ConfigFacade* _tmp5_ = NULL;
	ExportFormatMode _tmp6_ = 0;
	ConfigFacade* _tmp7_ = NULL;
	PhotoFileFormat _tmp8_ = 0;
	ConfigFacade* _tmp9_ = NULL;
	JpegQuality _tmp10_ = 0;
	ConfigFacade* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	ConfigFacade* _tmp13_ = NULL;
	ScaleConstraint _tmp14_ = 0;
	ConfigFacade* _tmp15_ = NULL;
	gint _tmp16_ = 0;
	GtkComboBoxText* _tmp17_ = NULL;
	gint ctr = 0;
	GtkComboBoxText* _tmp28_ = NULL;
	GtkComboBoxText* _tmp38_ = NULL;
	gint _tmp39_ = 0;
	PhotoFileFormat* _tmp40_ = NULL;
	GtkEntry* _tmp46_ = NULL;
	GtkEntry* _tmp47_ = NULL;
	GtkEntry* _tmp48_ = NULL;
	gint _tmp49_ = 0;
	gchar* _tmp50_ = NULL;
	gchar* _tmp51_ = NULL;
	GtkComboBoxText* _tmp52_ = NULL;
	GtkComboBoxText* _tmp53_ = NULL;
	GtkEntry* _tmp54_ = NULL;
	GtkEntry* _tmp55_ = NULL;
	GtkEntry* _tmp56_ = NULL;
	const gchar* _tmp57_ = NULL;
	GtkComboBoxText* _tmp58_ = NULL;
	GtkComboBoxText* _tmp59_ = NULL;
	const gchar* _tmp60_ = NULL;
	GtkComboBoxText* _tmp61_ = NULL;
	GtkComboBoxText* _tmp62_ = NULL;
	const gchar* _tmp63_ = NULL;
	GtkComboBoxText* _tmp64_ = NULL;
	GtkComboBoxText* _tmp65_ = NULL;
	const gchar* _tmp66_ = NULL;
	GtkEntry* _tmp67_ = NULL;
	GtkEntry* _tmp68_ = NULL;
	GtkSwitch* _tmp69_ = NULL;
	const gchar* _tmp70_ = NULL;
	GtkSwitch* _tmp71_ = NULL;
	GtkSwitch* _tmp72_ = NULL;
	GtkSwitch* _tmp73_ = NULL;
	GtkSwitch* _tmp74_ = NULL;
	GtkGrid* _tmp75_ = NULL;
	GtkGrid* _tmp76_ = NULL;
	GtkGrid* _tmp77_ = NULL;
	GtkBox* _tmp78_ = NULL;
	GtkGrid* _tmp79_ = NULL;
	GtkWidget* _tmp80_ = NULL;
	GtkWidget* _tmp81_ = NULL;
	GtkWidget* _tmp82_ = NULL;
	GtkWidget* _tmp83_ = NULL;
	GtkWidget* _tmp84_ = NULL;
	ScaleConstraint _tmp85_ = 0;
	GtkWidget* _tmp88_ = NULL;
#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (title != NULL, NULL);
#line 169 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_settings_get_default ();
#line 169 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = use_header;
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_) {
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 1;
#line 2441 "Dialogs.c"
	} else {
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 0;
#line 2445 "Dialogs.c"
	}
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (ExportDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
#line 172 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = title;
#line 172 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp3_);
#line 173 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 176 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = config_facade_get_instance ();
#line 176 "/home/jens/Source/shotwell/src/Dialogs.vala"
	config = _tmp4_;
#line 177 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = config;
#line 177 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = configuration_facade_get_export_export_format_mode (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 177 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_parameters.mode = _tmp6_;
#line 178 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = config;
#line 178 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = configuration_facade_get_export_photo_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 178 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_parameters.specified_format = _tmp8_;
#line 179 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = config;
#line 179 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = configuration_facade_get_export_quality (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 179 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_parameters.quality = _tmp10_;
#line 180 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = config;
#line 180 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = configuration_facade_get_export_export_metadata (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 180 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_parameters.export_metadata = _tmp12_;
#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = config;
#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = configuration_facade_get_export_constraint (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_constraint = _tmp14_;
#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = config;
#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = configuration_facade_get_export_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_scale = _tmp16_;
#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp17_);
#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->quality_combo);
#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->quality_combo = _tmp17_;
#line 185 "/home/jens/Source/shotwell/src/Dialogs.vala"
	ctr = 0;
#line 2505 "Dialogs.c"
	{
		JpegQuality* quality_collection = NULL;
		gint quality_collection_length1 = 0;
		gint _quality_collection_size_ = 0;
		gint quality_it = 0;
#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala"
		quality_collection = EXPORT_DIALOG_QUALITY_ARRAY;
#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala"
		quality_collection_length1 = G_N_ELEMENTS (EXPORT_DIALOG_QUALITY_ARRAY);
#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala"
		for (quality_it = 0; quality_it < G_N_ELEMENTS (EXPORT_DIALOG_QUALITY_ARRAY); quality_it = quality_it + 1) {
#line 2517 "Dialogs.c"
			JpegQuality quality = 0;
#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala"
			quality = quality_collection[quality_it];
#line 2521 "Dialogs.c"
			{
				GtkComboBoxText* _tmp18_ = NULL;
				JpegQuality _tmp19_ = 0;
				gchar* _tmp20_ = NULL;
				gchar* _tmp21_ = NULL;
				JpegQuality _tmp22_ = 0;
				ExportFormatParameters _tmp23_ = {0};
				JpegQuality _tmp24_ = 0;
				gint _tmp27_ = 0;
#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp18_ = self->priv->quality_combo;
#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp19_ = quality;
#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp20_ = jpeg_quality_to_string (_tmp19_);
#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp21_ = _tmp20_;
#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala"
				gtk_combo_box_text_append_text (_tmp18_, _tmp21_);
#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp21_);
#line 188 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp22_ = quality;
#line 188 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp23_ = export_dialog_current_parameters;
#line 188 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp24_ = _tmp23_.quality;
#line 188 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp22_ == _tmp24_) {
#line 2551 "Dialogs.c"
					GtkComboBoxText* _tmp25_ = NULL;
					gint _tmp26_ = 0;
#line 189 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp25_ = self->priv->quality_combo;
#line 189 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp26_ = ctr;
#line 189 "/home/jens/Source/shotwell/src/Dialogs.vala"
					gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_combo_box_get_type (), GtkComboBox), _tmp26_);
#line 2560 "Dialogs.c"
				}
#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp27_ = ctr;
#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala"
				ctr = _tmp27_ + 1;
#line 2566 "Dialogs.c"
			}
		}
	}
#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp28_);
#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->constraint_combo);
#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->constraint_combo = _tmp28_;
#line 194 "/home/jens/Source/shotwell/src/Dialogs.vala"
	ctr = 0;
#line 2580 "Dialogs.c"
	{
		ScaleConstraint* constraint_collection = NULL;
		gint constraint_collection_length1 = 0;
		gint _constraint_collection_size_ = 0;
		gint constraint_it = 0;
#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala"
		constraint_collection = EXPORT_DIALOG_CONSTRAINT_ARRAY;
#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala"
		constraint_collection_length1 = G_N_ELEMENTS (EXPORT_DIALOG_CONSTRAINT_ARRAY);
#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala"
		for (constraint_it = 0; constraint_it < G_N_ELEMENTS (EXPORT_DIALOG_CONSTRAINT_ARRAY); constraint_it = constraint_it + 1) {
#line 2592 "Dialogs.c"
			ScaleConstraint constraint = 0;
#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala"
			constraint = constraint_collection[constraint_it];
#line 2596 "Dialogs.c"
			{
				GtkComboBoxText* _tmp29_ = NULL;
				ScaleConstraint _tmp30_ = 0;
				gchar* _tmp31_ = NULL;
				gchar* _tmp32_ = NULL;
				ScaleConstraint _tmp33_ = 0;
				ScaleConstraint _tmp34_ = 0;
				gint _tmp37_ = 0;
#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp29_ = self->priv->constraint_combo;
#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp30_ = constraint;
#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp31_ = scale_constraint_to_string (_tmp30_);
#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp32_ = _tmp31_;
#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala"
				gtk_combo_box_text_append_text (_tmp29_, _tmp32_);
#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp32_);
#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp33_ = constraint;
#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp34_ = export_dialog_current_constraint;
#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp33_ == _tmp34_) {
#line 2623 "Dialogs.c"
					GtkComboBoxText* _tmp35_ = NULL;
					gint _tmp36_ = 0;
#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp35_ = self->priv->constraint_combo;
#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp36_ = ctr;
#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala"
					gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_combo_box_get_type (), GtkComboBox), _tmp36_);
#line 2632 "Dialogs.c"
				}
#line 199 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp37_ = ctr;
#line 199 "/home/jens/Source/shotwell/src/Dialogs.vala"
				ctr = _tmp37_ + 1;
#line 2638 "Dialogs.c"
			}
		}
	}
#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp38_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp38_);
#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->format_combo);
#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->format_combo = _tmp38_;
#line 203 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_format_add_option (self, EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL);
#line 204 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_format_add_option (self, EXPORT_DIALOG_CURRENT_FORMAT_LABEL);
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp40_ = photo_file_format_get_writeable (&_tmp39_);
#line 2656 "Dialogs.c"
	{
		PhotoFileFormat* format_collection = NULL;
		gint format_collection_length1 = 0;
		gint _format_collection_size_ = 0;
		gint format_it = 0;
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
		format_collection = _tmp40_;
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
		format_collection_length1 = _tmp39_;
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
		for (format_it = 0; format_it < _tmp39_; format_it = format_it + 1) {
#line 2668 "Dialogs.c"
			PhotoFileFormat format = 0;
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
			format = format_collection[format_it];
#line 2672 "Dialogs.c"
			{
				PhotoFileFormat _tmp41_ = 0;
				PhotoFileFormatProperties* _tmp42_ = NULL;
				PhotoFileFormatProperties* _tmp43_ = NULL;
				gchar* _tmp44_ = NULL;
				gchar* _tmp45_ = NULL;
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp41_ = format;
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp42_ = photo_file_format_get_properties (_tmp41_);
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp43_ = _tmp42_;
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp44_ = photo_file_format_properties_get_user_visible_name (_tmp43_);
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp45_ = _tmp44_;
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				export_dialog_format_add_option (self, _tmp45_);
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp45_);
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_photo_file_format_properties_unref0 (_tmp43_);
#line 2695 "Dialogs.c"
			}
		}
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
		format_collection = (g_free (format_collection), NULL);
#line 2700 "Dialogs.c"
	}
#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp46_ = (GtkEntry*) gtk_entry_new ();
#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp46_);
#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->pixels_entry);
#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->pixels_entry = _tmp46_;
#line 210 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp47_ = self->priv->pixels_entry;
#line 210 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_max_length (_tmp47_, 6);
#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp48_ = self->priv->pixels_entry;
#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp49_ = export_dialog_current_scale;
#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp50_ = g_strdup_printf ("%d", _tmp49_);
#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp51_ = _tmp50_;
#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_text (_tmp48_, _tmp51_);
#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp51_);
#line 214 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp52_ = self->priv->constraint_combo;
#line 214 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _export_dialog_on_constraint_changed_gtk_combo_box_changed, self, 0);
#line 215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp53_ = self->priv->format_combo;
#line 215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _export_dialog_on_format_changed_gtk_combo_box_changed, self, 0);
#line 216 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp54_ = self->priv->pixels_entry;
#line 216 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _export_dialog_on_pixels_changed_gtk_editable_changed, self, 0);
#line 217 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp55_ = self->priv->pixels_entry;
#line 217 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, GTK_TYPE_EDITABLE, GtkEditable), "insert-text", (GCallback) _export_dialog_on_pixels_insert_text_gtk_editable_insert_text, self, 0);
#line 218 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp56_ = self->priv->pixels_entry;
#line 218 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp56_, "activate", (GCallback) _export_dialog_on_activate_gtk_entry_activate, self, 0);
#line 221 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp57_ = _ ("_Format:");
#line 221 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp58_ = self->priv->format_combo;
#line 221 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_label (self, _tmp57_, 0, 0, G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_widget_get_type (), GtkWidget));
#line 222 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp59_ = self->priv->format_combo;
#line 222 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_widget_get_type (), GtkWidget), 1, 0);
#line 224 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp60_ = _ ("_Quality:");
#line 224 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp61_ = self->priv->quality_combo;
#line 224 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_label (self, _tmp60_, 0, 1, G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget));
#line 225 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp62_ = self->priv->quality_combo;
#line 225 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_widget_get_type (), GtkWidget), 1, 1);
#line 227 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp63_ = _ ("_Scaling constraint:");
#line 227 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp64_ = self->priv->constraint_combo;
#line 227 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_label (self, _tmp63_, 0, 2, G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_widget_get_type (), GtkWidget));
#line 228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp65_ = self->priv->constraint_combo;
#line 228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_widget_get_type (), GtkWidget), 1, 2);
#line 230 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp66_ = _ ("_Pixels:");
#line 230 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp67_ = self->priv->pixels_entry;
#line 230 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_label (self, _tmp66_, 0, 3, G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, gtk_widget_get_type (), GtkWidget));
#line 231 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp68_ = self->priv->pixels_entry;
#line 231 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_widget_get_type (), GtkWidget), 1, 3);
#line 233 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp69_ = (GtkSwitch*) gtk_switch_new ();
#line 233 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp69_);
#line 233 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->export_metadata);
#line 233 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->export_metadata = _tmp69_;
#line 234 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp70_ = _ ("Export _metadata:");
#line 234 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp71_ = self->priv->export_metadata;
#line 234 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_label (self, _tmp70_, 0, 4, G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_widget_get_type (), GtkWidget));
#line 235 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp72_ = self->priv->export_metadata;
#line 235 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), 1, 4);
#line 236 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp73_ = self->priv->export_metadata;
#line 236 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_switch_set_active (_tmp73_, TRUE);
#line 237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp74_ = self->priv->export_metadata;
#line 237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
#line 239 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp75_ = self->priv->table;
#line 239 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_grid_set_row_spacing (_tmp75_, (guint) 6);
#line 240 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp76_ = self->priv->table;
#line 240 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_grid_set_column_spacing (_tmp76_, (guint) 12);
#line 241 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp77_ = self->priv->table;
#line 241 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, gtk_container_get_type (), GtkContainer), (guint) 18);
#line 243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp78_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp79_ = self->priv->table;
#line 243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, gtk_box_get_type (), GtkBox), gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, gtk_widget_get_type (), GtkWidget));
#line 246 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL);
#line 247 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp80_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK);
#line 247 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp81_ = _g_object_ref0 (_tmp80_);
#line 247 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->ok_button);
#line 247 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->ok_button = _tmp81_;
#line 248 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
#line 250 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp82_ = self->priv->ok_button;
#line 250 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_can_default (_tmp82_, TRUE);
#line 251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp83_ = self->priv->ok_button;
#line 251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_set (_tmp83_, "has-default", TRUE, NULL);
#line 252 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp84_ = self->priv->ok_button;
#line 252 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp84_);
#line 254 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp85_ = export_dialog_current_constraint;
#line 254 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp85_ == SCALE_CONSTRAINT_ORIGINAL) {
#line 2858 "Dialogs.c"
		GtkEntry* _tmp86_ = NULL;
		GtkComboBoxText* _tmp87_ = NULL;
#line 255 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp86_ = self->priv->pixels_entry;
#line 255 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp86_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp87_ = self->priv->quality_combo;
#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 2869 "Dialogs.c"
	}
#line 259 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp88_ = self->priv->ok_button;
#line 259 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_grab_focus (_tmp88_);
#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (config);
#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 2879 "Dialogs.c"
}


ExportDialog* export_dialog_new (const gchar* title) {
#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return export_dialog_construct (TYPE_EXPORT_DIALOG, title);
#line 2886 "Dialogs.c"
}


static void export_dialog_format_add_option (ExportDialog* self, const gchar* format_name) {
	GeeArrayList* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkComboBoxText* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
#line 262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (format_name != NULL);
#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->format_options;
#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = format_name;
#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_);
#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->format_combo;
#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = format_name;
#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_text_append_text (_tmp2_, _tmp3_);
#line 2911 "Dialogs.c"
}


static void export_dialog_format_set_active_text (ExportDialog* self, const gchar* text) {
	gint selection_ticker = 0;
	const gchar* _tmp16_ = NULL;
#line 267 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 267 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (text != NULL);
#line 268 "/home/jens/Source/shotwell/src/Dialogs.vala"
	selection_ticker = 0;
#line 2924 "Dialogs.c"
	{
		GeeArrayList* _current_text_list = NULL;
		GeeArrayList* _tmp0_ = NULL;
		GeeArrayList* _tmp1_ = NULL;
		gint _current_text_size = 0;
		GeeArrayList* _tmp2_ = NULL;
		gint _tmp3_ = 0;
		gint _tmp4_ = 0;
		gint _current_text_index = 0;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = self->priv->format_options;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_current_text_list = _tmp1_;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = _current_text_list;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _tmp3_;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_current_text_size = _tmp4_;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_current_text_index = -1;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 2952 "Dialogs.c"
			gint _tmp5_ = 0;
			gint _tmp6_ = 0;
			gint _tmp7_ = 0;
			gchar* current_text = NULL;
			GeeArrayList* _tmp8_ = NULL;
			gint _tmp9_ = 0;
			gpointer _tmp10_ = NULL;
			const gchar* _tmp11_ = NULL;
			const gchar* _tmp12_ = NULL;
			gint _tmp15_ = 0;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp5_ = _current_text_index;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_current_text_index = _tmp5_ + 1;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp6_ = _current_text_index;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = _current_text_size;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 2975 "Dialogs.c"
			}
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp8_ = _current_text_list;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp9_ = _current_text_index;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp10_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp9_);
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			current_text = (gchar*) _tmp10_;
#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp11_ = current_text;
#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = text;
#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (g_strcmp0 (_tmp11_, _tmp12_) == 0) {
#line 2991 "Dialogs.c"
				GtkComboBoxText* _tmp13_ = NULL;
				gint _tmp14_ = 0;
#line 272 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = self->priv->format_combo;
#line 272 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp14_ = selection_ticker;
#line 272 "/home/jens/Source/shotwell/src/Dialogs.vala"
				gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox), _tmp14_);
#line 273 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_text);
#line 273 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_current_text_list);
#line 273 "/home/jens/Source/shotwell/src/Dialogs.vala"
				return;
#line 3006 "Dialogs.c"
			}
#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp15_ = selection_ticker;
#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala"
			selection_ticker = _tmp15_ + 1;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (current_text);
#line 3014 "Dialogs.c"
		}
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_current_text_list);
#line 3018 "Dialogs.c"
	}
#line 278 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = text;
#line 278 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_error ("Dialogs.vala:278: format_set_active_text: text '%s' isn't in combo box", _tmp16_);
#line 3024 "Dialogs.c"
}


static PhotoFileFormat export_dialog_get_specified_format (ExportDialog* self) {
	PhotoFileFormat result = 0;
	gint index = 0;
	GtkComboBoxText* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	PhotoFileFormat* writeable_formats = NULL;
	gint _tmp4_ = 0;
	PhotoFileFormat* _tmp5_ = NULL;
	gint writeable_formats_length1 = 0;
	gint _writeable_formats_size_ = 0;
	gint _tmp6_ = 0;
	PhotoFileFormat _tmp7_ = 0;
#line 281 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_EXPORT_DIALOG (self), 0);
#line 282 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->format_combo;
#line 282 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox));
#line 282 "/home/jens/Source/shotwell/src/Dialogs.vala"
	index = _tmp1_;
#line 283 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = index;
#line 283 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_ < EXPORT_DIALOG_NUM_SPECIAL_FORMATS) {
#line 284 "/home/jens/Source/shotwell/src/Dialogs.vala"
		index = EXPORT_DIALOG_NUM_SPECIAL_FORMATS;
#line 3056 "Dialogs.c"
	}
#line 286 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = index;
#line 286 "/home/jens/Source/shotwell/src/Dialogs.vala"
	index = _tmp3_ - EXPORT_DIALOG_NUM_SPECIAL_FORMATS;
#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = photo_file_format_get_writeable (&_tmp4_);
#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	writeable_formats = _tmp5_;
#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	writeable_formats_length1 = _tmp4_;
#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_writeable_formats_size_ = writeable_formats_length1;
#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = index;
#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = writeable_formats[_tmp6_];
#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp7_;
#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala"
	writeable_formats = (g_free (writeable_formats), NULL);
#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 3080 "Dialogs.c"
}


static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, ExportFormatParameters* params) {
	gchar* result = NULL;
	ExportFormatParameters _tmp0_ = {0};
	ExportFormatMode _tmp1_ = 0;
#line 291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_EXPORT_DIALOG (self), NULL);
#line 291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (params != NULL, NULL);
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = *params;
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_.mode;
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	switch (_tmp1_) {
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
		case EXPORT_FORMAT_MODE_UNMODIFIED:
#line 3100 "Dialogs.c"
		{
			gchar* _tmp2_ = NULL;
#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp2_ = g_strdup (EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL);
#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala"
			result = _tmp2_;
#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return result;
#line 3109 "Dialogs.c"
		}
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
		case EXPORT_FORMAT_MODE_CURRENT:
#line 3113 "Dialogs.c"
		{
			gchar* _tmp3_ = NULL;
#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp3_ = g_strdup (EXPORT_DIALOG_CURRENT_FORMAT_LABEL);
#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala"
			result = _tmp3_;
#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return result;
#line 3122 "Dialogs.c"
		}
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
		case EXPORT_FORMAT_MODE_SPECIFIED:
#line 3126 "Dialogs.c"
		{
			ExportFormatParameters _tmp4_ = {0};
			PhotoFileFormat _tmp5_ = 0;
			PhotoFileFormatProperties* _tmp6_ = NULL;
			PhotoFileFormatProperties* _tmp7_ = NULL;
			gchar* _tmp8_ = NULL;
			gchar* _tmp9_ = NULL;
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp4_ = *params;
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp5_ = _tmp4_.specified_format;
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp6_ = photo_file_format_get_properties (_tmp5_);
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = _tmp6_;
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp8_ = photo_file_format_properties_get_user_visible_name (_tmp7_);
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp9_ = _tmp8_;
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_photo_file_format_properties_unref0 (_tmp7_);
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			result = _tmp9_;
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return result;
#line 3152 "Dialogs.c"
		}
		default:
		{
#line 303 "/home/jens/Source/shotwell/src/Dialogs.vala"
			g_error ("Dialogs.vala:303: get_label_for_parameters: unrecognized export format" \
" mode");
#line 3158 "Dialogs.c"
		}
	}
}


gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint* constraint, ExportFormatParameters* parameters) {
	gint _vala_scale = 0;
	ScaleConstraint _vala_constraint = 0;
	gboolean result = FALSE;
	ExportFormatParameters _tmp0_ = {0};
	ExportFormatMode _tmp1_ = 0;
	ExportFormatParameters _tmp4_ = {0};
	ExportFormatMode _tmp5_ = 0;
	ExportFormatParameters _tmp14_ = {0};
	gchar* _tmp15_ = NULL;
	gchar* _tmp16_ = NULL;
	gboolean ok = FALSE;
	gint _tmp17_ = 0;
	gboolean _tmp18_ = FALSE;
#line 310 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_EXPORT_DIALOG (self), FALSE);
#line 310 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (parameters != NULL, FALSE);
#line 312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = *parameters;
#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_.mode;
#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_ != EXPORT_FORMAT_MODE_LAST) {
#line 3190 "Dialogs.c"
		ScaleConstraint _tmp2_ = 0;
		GtkComboBoxText* _tmp3_ = NULL;
#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_constraint = SCALE_CONSTRAINT_ORIGINAL;
#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = _vala_constraint;
#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_dialog_current_constraint = _tmp2_;
#line 318 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = self->priv->constraint_combo;
#line 318 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox), 0);
#line 3203 "Dialogs.c"
	}
#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = *parameters;
#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_.mode;
#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_ == EXPORT_FORMAT_MODE_LAST) {
#line 3211 "Dialogs.c"
		ExportFormatParameters _tmp6_ = {0};
#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = export_dialog_current_parameters;
#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*parameters = _tmp6_;
#line 3217 "Dialogs.c"
	} else {
		gboolean _tmp7_ = FALSE;
		ExportFormatParameters _tmp8_ = {0};
		ExportFormatMode _tmp9_ = 0;
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = *parameters;
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = _tmp8_.mode;
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp9_ == EXPORT_FORMAT_MODE_SPECIFIED) {
#line 3228 "Dialogs.c"
			ExportFormatParameters _tmp10_ = {0};
			PhotoFileFormat _tmp11_ = 0;
			gboolean _tmp12_ = FALSE;
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp10_ = *parameters;
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp11_ = _tmp10_.specified_format;
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = photo_file_format_can_write (_tmp11_);
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = !_tmp12_;
#line 3240 "Dialogs.c"
		} else {
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = FALSE;
#line 3244 "Dialogs.c"
		}
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp7_) {
#line 3248 "Dialogs.c"
			PhotoFileFormat _tmp13_ = 0;
#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp13_ = photo_file_format_get_system_default_format ();
#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala"
			(*parameters).specified_format = _tmp13_;
#line 3254 "Dialogs.c"
		}
	}
#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = *parameters;
#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = export_dialog_get_label_for_parameters (self, &_tmp14_);
#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = _tmp15_;
#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_format_set_active_text (self, _tmp16_);
#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp16_);
#line 327 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_on_format_changed (self);
#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala"
	ok = _tmp17_ == ((gint) GTK_RESPONSE_OK);
#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = ok;
#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp18_) {
#line 3277 "Dialogs.c"
		gint index = 0;
		GtkComboBoxText* _tmp19_ = NULL;
		gint _tmp20_ = 0;
		gint _tmp21_ = 0;
		gint _tmp22_ = 0;
		ScaleConstraint _tmp23_ = 0;
		ScaleConstraint _tmp24_ = 0;
		GtkEntry* _tmp25_ = NULL;
		const gchar* _tmp26_ = NULL;
		gint _tmp27_ = 0;
		ScaleConstraint _tmp28_ = 0;
		gint _tmp30_ = 0;
		gboolean _tmp31_ = FALSE;
		GtkSwitch* _tmp32_ = NULL;
		gboolean _tmp33_ = FALSE;
		gboolean _tmp34_ = FALSE;
		GtkComboBoxText* _tmp38_ = NULL;
		gchar* _tmp39_ = NULL;
		gchar* _tmp40_ = NULL;
		gboolean _tmp41_ = FALSE;
		ConfigFacade* config = NULL;
		ConfigFacade* _tmp57_ = NULL;
		ConfigFacade* _tmp58_ = NULL;
		ExportFormatParameters _tmp59_ = {0};
		ExportFormatMode _tmp60_ = 0;
		ConfigFacade* _tmp61_ = NULL;
		ExportFormatParameters _tmp62_ = {0};
		PhotoFileFormat _tmp63_ = 0;
		ConfigFacade* _tmp64_ = NULL;
		ExportFormatParameters _tmp65_ = {0};
		JpegQuality _tmp66_ = 0;
		ConfigFacade* _tmp67_ = NULL;
		ExportFormatParameters _tmp68_ = {0};
		gboolean _tmp69_ = FALSE;
		ConfigFacade* _tmp70_ = NULL;
		ScaleConstraint _tmp71_ = 0;
		ConfigFacade* _tmp72_ = NULL;
		gint _tmp73_ = 0;
#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = self->priv->constraint_combo;
#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_combo_box_get_type (), GtkComboBox));
#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala"
		index = _tmp20_;
#line 332 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = index;
#line 332 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_assert (_tmp21_ >= 0, "index >= 0");
#line 333 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = index;
#line 333 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp23_ = EXPORT_DIALOG_CONSTRAINT_ARRAY[_tmp22_];
#line 333 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_constraint = _tmp23_;
#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = _vala_constraint;
#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_dialog_current_constraint = _tmp24_;
#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = self->priv->pixels_entry;
#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = gtk_entry_get_text (_tmp25_);
#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp27_ = atoi (_tmp26_);
#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_scale = _tmp27_;
#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = _vala_constraint;
#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp28_ != SCALE_CONSTRAINT_ORIGINAL) {
#line 3348 "Dialogs.c"
			gint _tmp29_ = 0;
#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp29_ = _vala_scale;
#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_vala_assert (_tmp29_ > 0, "scale > 0");
#line 3354 "Dialogs.c"
		}
#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp30_ = _vala_scale;
#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_dialog_current_scale = _tmp30_;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp32_ = self->priv->export_metadata;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget));
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp34_ = _tmp33_;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp34_) {
#line 3368 "Dialogs.c"
			GtkSwitch* _tmp35_ = NULL;
			gboolean _tmp36_ = FALSE;
			gboolean _tmp37_ = FALSE;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp35_ = self->priv->export_metadata;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp36_ = gtk_switch_get_active (_tmp35_);
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp37_ = _tmp36_;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp31_ = _tmp37_;
#line 3380 "Dialogs.c"
		} else {
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp31_ = FALSE;
#line 3384 "Dialogs.c"
		}
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
		(*parameters).export_metadata = _tmp31_;
#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp38_ = self->priv->format_combo;
#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp39_ = gtk_combo_box_text_get_active_text (_tmp38_);
#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp40_ = _tmp39_;
#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp41_ = g_strcmp0 (_tmp40_, EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL) == 0;
#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp40_);
#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp41_) {
#line 3400 "Dialogs.c"
			ExportFormatMode _tmp42_ = 0;
#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala"
			export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_UNMODIFIED;
#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp42_ = export_dialog_current_parameters.mode;
#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala"
			(*parameters).mode = _tmp42_;
#line 3408 "Dialogs.c"
		} else {
			GtkComboBoxText* _tmp43_ = NULL;
			gchar* _tmp44_ = NULL;
			gchar* _tmp45_ = NULL;
			gboolean _tmp46_ = FALSE;
#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp43_ = self->priv->format_combo;
#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp44_ = gtk_combo_box_text_get_active_text (_tmp43_);
#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp45_ = _tmp44_;
#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp46_ = g_strcmp0 (_tmp45_, EXPORT_DIALOG_CURRENT_FORMAT_LABEL) == 0;
#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (_tmp45_);
#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp46_) {
#line 3426 "Dialogs.c"
				ExportFormatMode _tmp47_ = 0;
#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala"
				export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_CURRENT;
#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp47_ = export_dialog_current_parameters.mode;
#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala"
				(*parameters).mode = _tmp47_;
#line 3434 "Dialogs.c"
			} else {
				ExportFormatMode _tmp48_ = 0;
				PhotoFileFormat _tmp49_ = 0;
				PhotoFileFormat _tmp50_ = 0;
				ExportFormatParameters _tmp51_ = {0};
				PhotoFileFormat _tmp52_ = 0;
#line 348 "/home/jens/Source/shotwell/src/Dialogs.vala"
				export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_SPECIFIED;
#line 348 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp48_ = export_dialog_current_parameters.mode;
#line 348 "/home/jens/Source/shotwell/src/Dialogs.vala"
				(*parameters).mode = _tmp48_;
#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp49_ = export_dialog_get_specified_format (self);
#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala"
				export_dialog_current_parameters.specified_format = _tmp49_;
#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp50_ = export_dialog_current_parameters.specified_format;
#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala"
				(*parameters).specified_format = _tmp50_;
#line 350 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp51_ = export_dialog_current_parameters;
#line 350 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp52_ = _tmp51_.specified_format;
#line 350 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp52_ == PHOTO_FILE_FORMAT_JFIF) {
#line 3461 "Dialogs.c"
					GtkComboBoxText* _tmp53_ = NULL;
					gint _tmp54_ = 0;
					JpegQuality _tmp55_ = 0;
					JpegQuality _tmp56_ = 0;
#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp53_ = self->priv->quality_combo;
#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp54_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_combo_box_get_type (), GtkComboBox));
#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp55_ = EXPORT_DIALOG_QUALITY_ARRAY[_tmp54_];
#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala"
					export_dialog_current_parameters.quality = _tmp55_;
#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp56_ = export_dialog_current_parameters.quality;
#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala"
					(*parameters).quality = _tmp56_;
#line 3478 "Dialogs.c"
				}
			}
		}
#line 355 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp57_ = config_facade_get_instance ();
#line 355 "/home/jens/Source/shotwell/src/Dialogs.vala"
		config = _tmp57_;
#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp58_ = config;
#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp59_ = export_dialog_current_parameters;
#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp60_ = _tmp59_.mode;
#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_export_export_format_mode (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp60_);
#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp61_ = config;
#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp62_ = export_dialog_current_parameters;
#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp63_ = _tmp62_.specified_format;
#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_export_photo_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp63_);
#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp64_ = config;
#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp65_ = export_dialog_current_parameters;
#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp66_ = _tmp65_.quality;
#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_export_quality (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp66_);
#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp67_ = config;
#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp68_ = export_dialog_current_parameters;
#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp69_ = _tmp68_.export_metadata;
#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_export_export_metadata (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp69_);
#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp70_ = config;
#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp71_ = export_dialog_current_constraint;
#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_export_constraint (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp71_);
#line 361 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp72_ = config;
#line 361 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp73_ = export_dialog_current_scale;
#line 361 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_export_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp73_);
#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (config);
#line 3532 "Dialogs.c"
	} else {
#line 363 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_scale = 0;
#line 364 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_constraint = SCALE_CONSTRAINT_ORIGINAL;
#line 3538 "Dialogs.c"
	}
#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = ok;
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (scale) {
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*scale = _vala_scale;
#line 3548 "Dialogs.c"
	}
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (constraint) {
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*constraint = _vala_constraint;
#line 3554 "Dialogs.c"
	}
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 3558 "Dialogs.c"
}


static void export_dialog_add_label (ExportDialog* self, const gchar* text, gint x, gint y, GtkWidget* widget) {
	GtkLabel* new_label = NULL;
	const gchar* _tmp0_ = NULL;
	GtkLabel* _tmp1_ = NULL;
	GtkLabel* _tmp2_ = NULL;
	GtkLabel* _tmp3_ = NULL;
	GtkLabel* _tmp4_ = NULL;
	GtkWidget* _tmp5_ = NULL;
	GtkGrid* _tmp8_ = NULL;
	GtkLabel* _tmp9_ = NULL;
	gint _tmp10_ = 0;
	gint _tmp11_ = 0;
#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (text != NULL);
#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail ((widget == NULL) || GTK_IS_WIDGET (widget));
#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = text;
#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp0_);
#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp1_);
#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	new_label = _tmp1_;
#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = new_label;
#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END);
#line 375 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = new_label;
#line 375 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 376 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = new_label;
#line 376 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_use_underline (_tmp4_, TRUE);
#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = widget;
#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_ != NULL) {
#line 3604 "Dialogs.c"
		GtkLabel* _tmp6_ = NULL;
		GtkWidget* _tmp7_ = NULL;
#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = new_label;
#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = widget;
#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_label_set_mnemonic_widget (_tmp6_, _tmp7_);
#line 3613 "Dialogs.c"
	}
#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = self->priv->table;
#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = new_label;
#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = x;
#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = y;
#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_grid_attach (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), _tmp10_, _tmp11_, 1, 1);
#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (new_label);
#line 3627 "Dialogs.c"
}


static void export_dialog_add_control (ExportDialog* self, GtkWidget* widget, gint x, gint y) {
	GtkWidget* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
	GtkGrid* _tmp4_ = NULL;
	GtkWidget* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	gint _tmp7_ = 0;
#line 384 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 384 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GTK_IS_WIDGET (widget));
#line 385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = widget;
#line 385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_halign (_tmp0_, GTK_ALIGN_FILL);
#line 386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = widget;
#line 386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_valign (_tmp1_, GTK_ALIGN_CENTER);
#line 387 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = widget;
#line 387 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_hexpand (_tmp2_, TRUE);
#line 388 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = widget;
#line 388 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_vexpand (_tmp3_, TRUE);
#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = self->priv->table;
#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = widget;
#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = x;
#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = y;
#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_grid_attach (_tmp4_, _tmp5_, _tmp6_, _tmp7_, 1, 1);
#line 3670 "Dialogs.c"
}


static void export_dialog_on_constraint_changed (ExportDialog* self) {
	gboolean original = FALSE;
	GtkComboBoxText* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	ScaleConstraint _tmp2_ = 0;
	gboolean jpeg = FALSE;
	GtkComboBoxText* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	PhotoFileFormatProperties* _tmp6_ = NULL;
	PhotoFileFormatProperties* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	GtkEntry* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	gboolean _tmp13_ = FALSE;
	gboolean _tmp14_ = FALSE;
	GtkComboBoxText* _tmp16_ = NULL;
	gboolean _tmp17_ = FALSE;
#line 393 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->constraint_combo;
#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox));
#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = EXPORT_DIALOG_CONSTRAINT_ARRAY[_tmp1_];
#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	original = _tmp2_ == SCALE_CONSTRAINT_ORIGINAL;
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = self->priv->format_combo;
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gtk_combo_box_text_get_active_text (_tmp3_);
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = photo_file_format_get_properties (PHOTO_FILE_FORMAT_JFIF);
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_;
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = photo_file_format_properties_get_user_visible_name (_tmp7_);
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _tmp8_;
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = g_strcmp0 (_tmp5_, _tmp9_) == 0;
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp9_);
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_photo_file_format_properties_unref0 (_tmp7_);
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp5_);
#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	jpeg = _tmp10_;
#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = self->priv->pixels_entry;
#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = original;
#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), !_tmp12_);
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = original;
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp14_) {
#line 3738 "Dialogs.c"
		gboolean _tmp15_ = FALSE;
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = jpeg;
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = _tmp15_;
#line 3744 "Dialogs.c"
	} else {
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = FALSE;
#line 3748 "Dialogs.c"
	}
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = self->priv->quality_combo;
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), _tmp13_);
#line 399 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = original;
#line 399 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp17_) {
#line 3758 "Dialogs.c"
		GtkWidget* _tmp18_ = NULL;
#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = self->priv->ok_button;
#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (_tmp18_, TRUE);
#line 3764 "Dialogs.c"
	} else {
#line 402 "/home/jens/Source/shotwell/src/Dialogs.vala"
		export_dialog_on_pixels_changed (self);
#line 3768 "Dialogs.c"
	}
}


static void export_dialog_on_format_changed (ExportDialog* self) {
	gboolean original = FALSE;
	GtkComboBoxText* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	ScaleConstraint _tmp2_ = 0;
	GtkComboBoxText* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
#line 405 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->constraint_combo;
#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox));
#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = EXPORT_DIALOG_CONSTRAINT_ARRAY[_tmp1_];
#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala"
	original = _tmp2_ == SCALE_CONSTRAINT_ORIGINAL;
#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = self->priv->format_combo;
#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gtk_combo_box_text_get_active_text (_tmp3_);
#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = g_strcmp0 (_tmp5_, EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL) == 0;
#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp5_);
#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp6_) {
#line 3804 "Dialogs.c"
		GtkComboBoxText* _tmp7_ = NULL;
		GtkComboBoxText* _tmp8_ = NULL;
		GtkComboBoxText* _tmp9_ = NULL;
		GtkEntry* _tmp10_ = NULL;
		GtkSwitch* _tmp11_ = NULL;
		GtkSwitch* _tmp12_ = NULL;
#line 413 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = self->priv->constraint_combo;
#line 413 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox), 0);
#line 414 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = self->priv->constraint_combo;
#line 414 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 415 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = self->priv->quality_combo;
#line 415 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 416 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = self->priv->pixels_entry;
#line 416 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 417 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = self->priv->export_metadata;
#line 417 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_switch_set_active (_tmp11_, FALSE);
#line 418 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = self->priv->export_metadata;
#line 418 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 3835 "Dialogs.c"
	} else {
		GtkComboBoxText* _tmp13_ = NULL;
		gchar* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
		gboolean _tmp16_ = FALSE;
#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = self->priv->format_combo;
#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = gtk_combo_box_text_get_active_text (_tmp13_);
#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = _tmp14_;
#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = g_strcmp0 (_tmp15_, EXPORT_DIALOG_CURRENT_FORMAT_LABEL) == 0;
#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp15_);
#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp16_) {
#line 3853 "Dialogs.c"
			GtkComboBoxText* _tmp17_ = NULL;
			GtkComboBoxText* _tmp18_ = NULL;
			GtkEntry* _tmp19_ = NULL;
			gboolean _tmp20_ = FALSE;
			GtkSwitch* _tmp21_ = NULL;
#line 426 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp17_ = self->priv->constraint_combo;
#line 426 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 427 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = self->priv->quality_combo;
#line 427 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 428 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp19_ = self->priv->pixels_entry;
#line 428 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp20_ = original;
#line 428 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), !_tmp20_);
#line 429 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp21_ = self->priv->export_metadata;
#line 429 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 3877 "Dialogs.c"
		} else {
			GtkComboBoxText* _tmp22_ = NULL;
			gboolean jpeg = FALSE;
			PhotoFileFormat _tmp23_ = 0;
			gboolean _tmp24_ = FALSE;
			gboolean _tmp25_ = FALSE;
			GtkComboBoxText* _tmp27_ = NULL;
			GtkSwitch* _tmp28_ = NULL;
#line 434 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = self->priv->constraint_combo;
#line 434 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 435 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = export_dialog_get_specified_format (self);
#line 435 "/home/jens/Source/shotwell/src/Dialogs.vala"
			jpeg = _tmp23_ == PHOTO_FILE_FORMAT_JFIF;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp25_ = original;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!_tmp25_) {
#line 3898 "Dialogs.c"
				gboolean _tmp26_ = FALSE;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp26_ = jpeg;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp24_ = _tmp26_;
#line 3904 "Dialogs.c"
			} else {
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp24_ = FALSE;
#line 3908 "Dialogs.c"
			}
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp27_ = self->priv->quality_combo;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), _tmp24_);
#line 437 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp28_ = self->priv->export_metadata;
#line 437 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 3918 "Dialogs.c"
		}
	}
}


static void export_dialog_on_activate (ExportDialog* self) {
#line 441 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 442 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
#line 3929 "Dialogs.c"
}


static void export_dialog_on_pixels_changed (ExportDialog* self) {
	gboolean _tmp0_ = FALSE;
	GtkEntry* _tmp1_ = NULL;
	guint16 _tmp2_ = 0U;
	GtkWidget* _tmp6_ = NULL;
#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->pixels_entry;
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_entry_get_text_length (_tmp1_);
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (((gint) _tmp2_) > 0) {
#line 3946 "Dialogs.c"
		GtkEntry* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		gint _tmp5_ = 0;
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = self->priv->pixels_entry;
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = gtk_entry_get_text (_tmp3_);
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = atoi (_tmp4_);
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp5_ > 0;
#line 3958 "Dialogs.c"
	} else {
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = FALSE;
#line 3962 "Dialogs.c"
	}
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = self->priv->ok_button;
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_sensitive (_tmp6_, _tmp0_);
#line 3968 "Dialogs.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 3986 "Dialogs.c"
}


static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar* text, gint length, gint* position) {
	gboolean _tmp0_ = FALSE;
	gint _tmp1_ = 0;
	gchar* new_text = NULL;
	gchar* _tmp5_ = NULL;
	const gchar* _tmp21_ = NULL;
	gint _tmp22_ = 0;
	gint _tmp23_ = 0;
	GtkEntry* _tmp29_ = NULL;
#line 449 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 449 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (text != NULL);
#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->in_insert;
#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return;
#line 4009 "Dialogs.c"
	}
#line 454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->in_insert = TRUE;
#line 456 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = length;
#line 456 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_ == -1) {
#line 4017 "Dialogs.c"
		const gchar* _tmp2_ = NULL;
		gint _tmp3_ = 0;
		gint _tmp4_ = 0;
#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = text;
#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = strlen (_tmp2_);
#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _tmp3_;
#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala"
		length = (gint) _tmp4_;
#line 4029 "Dialogs.c"
	}
#line 460 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = g_strdup ("");
#line 460 "/home/jens/Source/shotwell/src/Dialogs.vala"
	new_text = _tmp5_;
#line 4035 "Dialogs.c"
	{
		gint ctr = 0;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
		ctr = 0;
#line 4040 "Dialogs.c"
		{
			gboolean _tmp6_ = FALSE;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp6_ = TRUE;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 4047 "Dialogs.c"
				gint _tmp8_ = 0;
				gint _tmp9_ = 0;
				const gchar* _tmp10_ = NULL;
				gint _tmp11_ = 0;
				gchar _tmp12_ = '\0';
				gboolean _tmp13_ = FALSE;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!_tmp6_) {
#line 4056 "Dialogs.c"
					gint _tmp7_ = 0;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp7_ = ctr;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
					ctr = _tmp7_ + 1;
#line 4062 "Dialogs.c"
				}
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp6_ = FALSE;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp8_ = ctr;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp9_ = length;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp8_ < _tmp9_)) {
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 4074 "Dialogs.c"
				}
#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp10_ = text;
#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp11_ = ctr;
#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp12_ = string_get (_tmp10_, (glong) _tmp11_);
#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = g_ascii_isdigit (_tmp12_);
#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp13_) {
#line 4086 "Dialogs.c"
					const gchar* _tmp14_ = NULL;
					const gchar* _tmp15_ = NULL;
					gint _tmp16_ = 0;
					gchar _tmp17_ = '\0';
					gchar* _tmp18_ = NULL;
					gchar* _tmp19_ = NULL;
					gchar* _tmp20_ = NULL;
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp14_ = new_text;
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp15_ = text;
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp16_ = ctr;
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp17_ = string_get (_tmp15_, (glong) _tmp16_);
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp18_ = g_strdup_printf ("%c", (gchar) _tmp17_);
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp19_ = _tmp18_;
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp20_ = g_strconcat (_tmp14_, _tmp19_, NULL);
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_g_free0 (new_text);
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					new_text = _tmp20_;
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_g_free0 (_tmp19_);
#line 4114 "Dialogs.c"
				}
			}
		}
	}
#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = new_text;
#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = strlen (_tmp21_);
#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = _tmp22_;
#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp23_ > 0) {
#line 4127 "Dialogs.c"
		GtkEntry* _tmp24_ = NULL;
		const gchar* _tmp25_ = NULL;
		const gchar* _tmp26_ = NULL;
		gint _tmp27_ = 0;
		gint _tmp28_ = 0;
#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = self->priv->pixels_entry;
#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = new_text;
#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = new_text;
#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp27_ = strlen (_tmp26_);
#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = _tmp27_;
#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_EDITABLE, GtkEditable), _tmp25_, (gint) _tmp28_, position);
#line 4145 "Dialogs.c"
	}
#line 470 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = self->priv->pixels_entry;
#line 470 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_stop_emission_by_name (_tmp29_, "insert-text");
#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->in_insert = FALSE;
#line 449 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (new_text);
#line 4155 "Dialogs.c"
}


static void export_dialog_class_init (ExportDialogClass * klass) {
	ExportFormatParameters _tmp0_ = {0};
#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_parent_class = g_type_class_peek_parent (klass);
#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (ExportDialogPrivate));
#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = export_dialog_finalize;
#line 154 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_format_parameters_current (&_tmp0_);
#line 154 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_parameters = _tmp0_;
#line 155 "/home/jens/Source/shotwell/src/Dialogs.vala"
	export_dialog_current_scale = EXPORT_DIALOG_DEFAULT_SCALE;
#line 4173 "Dialogs.c"
}


static void export_dialog_instance_init (ExportDialog * self) {
	GtkGrid* _tmp0_ = NULL;
	GeeArrayList* _tmp1_ = NULL;
#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = EXPORT_DIALOG_GET_PRIVATE (self);
#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = (GtkGrid*) gtk_grid_new ();
#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp0_);
#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->table = _tmp0_;
#line 162 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
#line 162 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->format_options = _tmp1_;
#line 165 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->in_insert = FALSE;
#line 4194 "Dialogs.c"
}


static void export_dialog_finalize (GObject* obj) {
	ExportDialog * self;
#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EXPORT_DIALOG, ExportDialog);
#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->table);
#line 158 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->quality_combo);
#line 159 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->constraint_combo);
#line 160 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->format_combo);
#line 161 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->export_metadata);
#line 162 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->format_options);
#line 163 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->pixels_entry);
#line 164 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->ok_button);
#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (export_dialog_parent_class)->finalize (obj);
#line 4220 "Dialogs.c"
}


GType export_dialog_get_type (void) {
	static volatile gsize export_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&export_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (ExportDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) export_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ExportDialog), 0, (GInstanceInitFunc) export_dialog_instance_init, NULL };
		GType export_dialog_type_id;
		export_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "ExportDialog", &g_define_type_info, 0);
		g_once_init_leave (&export_dialog_type_id__volatile, export_dialog_type_id);
	}
	return export_dialog_type_id__volatile;
}


gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_dest_id) {
	gchar* result = NULL;
	GeeList* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	gchar* list = NULL;
	gchar* _tmp3_ = NULL;
	gint remaining = 0;
	GeeList* _tmp28_ = NULL;
	gint _tmp29_ = 0;
	gint _tmp30_ = 0;
	gint _tmp31_ = 0;
#line 482 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GEE_IS_LIST (failed), NULL);
#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = failed;
#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection));
#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_;
#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_ == 0) {
#line 484 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = NULL;
#line 484 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 4262 "Dialogs.c"
	}
#line 486 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = g_strdup ("");
#line 486 "/home/jens/Source/shotwell/src/Dialogs.vala"
	list = _tmp3_;
#line 4268 "Dialogs.c"
	{
		gint ctr = 0;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
		ctr = 0;
#line 4273 "Dialogs.c"
		{
			gboolean _tmp4_ = FALSE;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp4_ = TRUE;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 4280 "Dialogs.c"
				gboolean _tmp6_ = FALSE;
				gint _tmp7_ = 0;
				const gchar* _tmp12_ = NULL;
				gboolean _tmp13_ = FALSE;
				const gchar* _tmp24_ = NULL;
				gchar* _tmp25_ = NULL;
				gchar* _tmp26_ = NULL;
				gchar* _tmp27_ = NULL;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!_tmp4_) {
#line 4291 "Dialogs.c"
					gint _tmp5_ = 0;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp5_ = ctr;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					ctr = _tmp5_ + 1;
#line 4297 "Dialogs.c"
				}
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp4_ = FALSE;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp7_ = ctr;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp7_ < IMPORT_UI_REPORT_FAILURE_COUNT) {
#line 4305 "Dialogs.c"
					gint _tmp8_ = 0;
					GeeList* _tmp9_ = NULL;
					gint _tmp10_ = 0;
					gint _tmp11_ = 0;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp8_ = ctr;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp9_ = failed;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp10_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection));
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp11_ = _tmp10_;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp6_ = _tmp8_ < _tmp11_;
#line 4320 "Dialogs.c"
				} else {
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp6_ = FALSE;
#line 4324 "Dialogs.c"
				}
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!_tmp6_) {
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 4330 "Dialogs.c"
				}
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = show_dest_id;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp13_) {
#line 4336 "Dialogs.c"
					GeeList* _tmp14_ = NULL;
					gint _tmp15_ = 0;
					gpointer _tmp16_ = NULL;
					BatchImportResult* _tmp17_ = NULL;
					const gchar* _tmp18_ = NULL;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp14_ = failed;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp15_ = ctr;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp16_ = gee_list_get (_tmp14_, _tmp15_);
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp17_ = (BatchImportResult*) _tmp16_;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp18_ = _tmp17_->dest_identifier;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp12_ = _tmp18_;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_batch_import_result_unref0 (_tmp17_);
#line 4356 "Dialogs.c"
				} else {
					GeeList* _tmp19_ = NULL;
					gint _tmp20_ = 0;
					gpointer _tmp21_ = NULL;
					BatchImportResult* _tmp22_ = NULL;
					const gchar* _tmp23_ = NULL;
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp19_ = failed;
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp20_ = ctr;
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp21_ = gee_list_get (_tmp19_, _tmp20_);
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp22_ = (BatchImportResult*) _tmp21_;
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp23_ = _tmp22_->src_identifier;
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp12_ = _tmp23_;
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_batch_import_result_unref0 (_tmp22_);
#line 4377 "Dialogs.c"
				}
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp24_ = list;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp25_ = g_strdup_printf ("%s\n", _tmp12_);
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp26_ = _tmp25_;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp27_ = g_strconcat (_tmp24_, _tmp26_, NULL);
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (list);
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				list = _tmp27_;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp26_);
#line 4393 "Dialogs.c"
			}
		}
	}
#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = failed;
#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = _tmp29_;
#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala"
	remaining = _tmp30_ - IMPORT_UI_REPORT_FAILURE_COUNT;
#line 493 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = remaining;
#line 493 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp31_ > 0) {
#line 4409 "Dialogs.c"
		const gchar* _tmp32_ = NULL;
		const gchar* _tmp33_ = NULL;
		gint _tmp34_ = 0;
		gchar* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		gchar* _tmp37_ = NULL;
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp32_ = list;
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = _ ("(and %d more)\n");
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp34_ = remaining;
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp35_ = g_strdup_printf (_tmp33_, _tmp34_);
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp36_ = _tmp35_;
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp37_ = g_strconcat (_tmp32_, _tmp36_, NULL);
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (list);
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		list = _tmp37_;
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp36_);
#line 4434 "Dialogs.c"
	}
#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = list;
#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 4440 "Dialogs.c"
}


ImportUIQuestionParams* import_ui_question_params_construct (GType object_type, const gchar* question, const gchar* yes_button, const gchar* no_button) {
	ImportUIQuestionParams* self = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (question != NULL, NULL);
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (yes_button != NULL, NULL);
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (no_button != NULL, NULL);
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (ImportUIQuestionParams*) g_type_create_instance (object_type);
#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = question;
#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->question);
#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->question = _tmp1_;
#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = yes_button;
#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->yes_button);
#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->yes_button = _tmp3_;
#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = no_button;
#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = g_strdup (_tmp4_);
#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->no_button);
#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->no_button = _tmp5_;
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 4486 "Dialogs.c"
}


ImportUIQuestionParams* import_ui_question_params_new (const gchar* question, const gchar* yes_button, const gchar* no_button) {
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return import_ui_question_params_construct (IMPORT_UI_TYPE_QUESTION_PARAMS, question, yes_button, no_button);
#line 4493 "Dialogs.c"
}


static void import_ui_value_question_params_init (GValue* value) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	value->data[0].v_pointer = NULL;
#line 4500 "Dialogs.c"
}


static void import_ui_value_question_params_free_value (GValue* value) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (value->data[0].v_pointer) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		import_ui_question_params_unref (value->data[0].v_pointer);
#line 4509 "Dialogs.c"
	}
}


static void import_ui_value_question_params_copy_value (const GValue* src_value, GValue* dest_value) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (src_value->data[0].v_pointer) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = import_ui_question_params_ref (src_value->data[0].v_pointer);
#line 4519 "Dialogs.c"
	} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = NULL;
#line 4523 "Dialogs.c"
	}
}


static gpointer import_ui_value_question_params_peek_pointer (const GValue* value) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 4531 "Dialogs.c"
}


static gchar* import_ui_value_question_params_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (collect_values[0].v_pointer) {
#line 4538 "Dialogs.c"
		ImportUIQuestionParams* object;
		object = collect_values[0].v_pointer;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (object->parent_instance.g_class == NULL) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4545 "Dialogs.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4549 "Dialogs.c"
		}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = import_ui_question_params_ref (object);
#line 4553 "Dialogs.c"
	} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 4557 "Dialogs.c"
	}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 4561 "Dialogs.c"
}


static gchar* import_ui_value_question_params_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	ImportUIQuestionParams** object_p;
	object_p = collect_values[0].v_pointer;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!object_p) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 4572 "Dialogs.c"
	}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!value->data[0].v_pointer) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = NULL;
#line 4578 "Dialogs.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = value->data[0].v_pointer;
#line 4582 "Dialogs.c"
	} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = import_ui_question_params_ref (value->data[0].v_pointer);
#line 4586 "Dialogs.c"
	}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 4590 "Dialogs.c"
}


GParamSpec* import_ui_param_spec_question_params (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ImportUIParamSpecQuestionParams* spec;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (g_type_is_a (object_type, IMPORT_UI_TYPE_QUESTION_PARAMS), NULL);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return G_PARAM_SPEC (spec);
#line 4604 "Dialogs.c"
}


gpointer import_ui_value_get_question_params (const GValue* value) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, IMPORT_UI_TYPE_QUESTION_PARAMS), NULL);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 4613 "Dialogs.c"
}


void import_ui_value_set_question_params (GValue* value, gpointer v_object) {
	ImportUIQuestionParams* old;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, IMPORT_UI_TYPE_QUESTION_PARAMS));
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, IMPORT_UI_TYPE_QUESTION_PARAMS));
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		import_ui_question_params_ref (value->data[0].v_pointer);
#line 4633 "Dialogs.c"
	} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 4637 "Dialogs.c"
	}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		import_ui_question_params_unref (old);
#line 4643 "Dialogs.c"
	}
}


void import_ui_value_take_question_params (GValue* value, gpointer v_object) {
	ImportUIQuestionParams* old;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, IMPORT_UI_TYPE_QUESTION_PARAMS));
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, IMPORT_UI_TYPE_QUESTION_PARAMS));
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 4662 "Dialogs.c"
	} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 4666 "Dialogs.c"
	}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		import_ui_question_params_unref (old);
#line 4672 "Dialogs.c"
	}
}


static void import_ui_question_params_class_init (ImportUIQuestionParamsClass * klass) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	import_ui_question_params_parent_class = g_type_class_peek_parent (klass);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((ImportUIQuestionParamsClass *) klass)->finalize = import_ui_question_params_finalize;
#line 4682 "Dialogs.c"
}


static void import_ui_question_params_instance_init (ImportUIQuestionParams * self) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->ref_count = 1;
#line 4689 "Dialogs.c"
}


static void import_ui_question_params_finalize (ImportUIQuestionParams* obj) {
	ImportUIQuestionParams * self;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, IMPORT_UI_TYPE_QUESTION_PARAMS, ImportUIQuestionParams);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_handlers_destroy (self);
#line 500 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->question);
#line 501 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->yes_button);
#line 502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->no_button);
#line 4705 "Dialogs.c"
}


GType import_ui_question_params_get_type (void) {
	static volatile gsize import_ui_question_params_type_id__volatile = 0;
	if (g_once_init_enter (&import_ui_question_params_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { import_ui_value_question_params_init, import_ui_value_question_params_free_value, import_ui_value_question_params_copy_value, import_ui_value_question_params_peek_pointer, "p", import_ui_value_question_params_collect_value, "p", import_ui_value_question_params_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (ImportUIQuestionParamsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) import_ui_question_params_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ImportUIQuestionParams), 0, (GInstanceInitFunc) import_ui_question_params_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType import_ui_question_params_type_id;
		import_ui_question_params_type_id = g_type_register_fundamental (g_type_fundamental_next (), "ImportUIQuestionParams", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&import_ui_question_params_type_id__volatile, import_ui_question_params_type_id);
	}
	return import_ui_question_params_type_id__volatile;
}


gpointer import_ui_question_params_ref (gpointer instance) {
	ImportUIQuestionParams* self;
	self = instance;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_atomic_int_inc (&self->ref_count);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return instance;
#line 4730 "Dialogs.c"
}


void import_ui_question_params_unref (gpointer instance) {
	ImportUIQuestionParams* self;
	self = instance;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		IMPORT_UI_QUESTION_PARAMS_GET_CLASS (self)->finalize (self);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 4743 "Dialogs.c"
	}
}


gboolean import_ui_import_has_photos (GeeCollection* import_collection) {
	gboolean result = FALSE;
#line 511 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), FALSE);
#line 4752 "Dialogs.c"
	{
		GeeIterator* _current_result_it = NULL;
		GeeCollection* _tmp0_ = NULL;
		GeeIterator* _tmp1_ = NULL;
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = import_collection;
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable));
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_current_result_it = _tmp1_;
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 4765 "Dialogs.c"
			GeeIterator* _tmp2_ = NULL;
			gboolean _tmp3_ = FALSE;
			BatchImportResult* current_result = NULL;
			GeeIterator* _tmp4_ = NULL;
			gpointer _tmp5_ = NULL;
			gboolean _tmp6_ = FALSE;
			BatchImportResult* _tmp7_ = NULL;
			GFile* _tmp8_ = NULL;
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp2_ = _current_result_it;
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!_tmp3_) {
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 4782 "Dialogs.c"
			}
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp4_ = _current_result_it;
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
			current_result = (BatchImportResult*) _tmp5_;
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = current_result;
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp8_ = _tmp7_->file;
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp8_ != NULL) {
#line 4796 "Dialogs.c"
				BatchImportResult* _tmp9_ = NULL;
				GFile* _tmp10_ = NULL;
				PhotoFileFormat _tmp11_ = 0;
#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp9_ = current_result;
#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp10_ = _tmp9_->file;
#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp11_ = photo_file_format_get_by_file_extension (_tmp10_);
#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp6_ = _tmp11_ != PHOTO_FILE_FORMAT_UNKNOWN;
#line 4808 "Dialogs.c"
			} else {
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp6_ = FALSE;
#line 4812 "Dialogs.c"
			}
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp6_) {
#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala"
				result = TRUE;
#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (current_result);
#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_current_result_it);
#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala"
				return result;
#line 4824 "Dialogs.c"
			}
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_batch_import_result_unref0 (current_result);
#line 4828 "Dialogs.c"
		}
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_current_result_it);
#line 4832 "Dialogs.c"
	}
#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = FALSE;
#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 4838 "Dialogs.c"
}


gboolean import_ui_import_has_videos (GeeCollection* import_collection) {
	gboolean result = FALSE;
#line 521 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), FALSE);
#line 4846 "Dialogs.c"
	{
		GeeIterator* _current_result_it = NULL;
		GeeCollection* _tmp0_ = NULL;
		GeeIterator* _tmp1_ = NULL;
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = import_collection;
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable));
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_current_result_it = _tmp1_;
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 4859 "Dialogs.c"
			GeeIterator* _tmp2_ = NULL;
			gboolean _tmp3_ = FALSE;
			BatchImportResult* current_result = NULL;
			GeeIterator* _tmp4_ = NULL;
			gpointer _tmp5_ = NULL;
			gboolean _tmp6_ = FALSE;
			BatchImportResult* _tmp7_ = NULL;
			GFile* _tmp8_ = NULL;
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp2_ = _current_result_it;
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!_tmp3_) {
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 4876 "Dialogs.c"
			}
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp4_ = _current_result_it;
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
			current_result = (BatchImportResult*) _tmp5_;
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = current_result;
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp8_ = _tmp7_->file;
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp8_ != NULL) {
#line 4890 "Dialogs.c"
				BatchImportResult* _tmp9_ = NULL;
				GFile* _tmp10_ = NULL;
				gboolean _tmp11_ = FALSE;
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp9_ = current_result;
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp10_ = _tmp9_->file;
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp11_ = video_reader_is_supported_video_file (_tmp10_);
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp6_ = _tmp11_;
#line 4902 "Dialogs.c"
			} else {
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp6_ = FALSE;
#line 4906 "Dialogs.c"
			}
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp6_) {
#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala"
				result = TRUE;
#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (current_result);
#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_current_result_it);
#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala"
				return result;
#line 4918 "Dialogs.c"
			}
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_batch_import_result_unref0 (current_result);
#line 4922 "Dialogs.c"
		}
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_current_result_it);
#line 4926 "Dialogs.c"
	}
#line 526 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = FALSE;
#line 526 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 4932 "Dialogs.c"
}


gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, const gchar* photos_msg, const gchar* videos_msg, const gchar* both_msg, const gchar* neither_msg) {
	gchar* result = NULL;
	gboolean has_photos = FALSE;
	GeeCollection* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean has_videos = FALSE;
	GeeCollection* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), NULL);
#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (photos_msg != NULL, NULL);
#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (videos_msg != NULL, NULL);
#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (both_msg != NULL, NULL);
#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (neither_msg != NULL, NULL);
#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = import_collection;
#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = import_ui_import_has_photos (_tmp0_);
#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala"
	has_photos = _tmp1_;
#line 532 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = import_collection;
#line 532 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = import_ui_import_has_videos (_tmp2_);
#line 532 "/home/jens/Source/shotwell/src/Dialogs.vala"
	has_videos = _tmp3_;
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = has_photos;
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_) {
#line 4972 "Dialogs.c"
		gboolean _tmp6_ = FALSE;
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = has_videos;
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _tmp6_;
#line 4978 "Dialogs.c"
	} else {
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = FALSE;
#line 4982 "Dialogs.c"
	}
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp4_) {
#line 4986 "Dialogs.c"
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = both_msg;
#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = g_strdup (_tmp7_);
#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp8_;
#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 4997 "Dialogs.c"
	} else {
		gboolean _tmp9_ = FALSE;
#line 536 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = has_photos;
#line 536 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp9_) {
#line 5004 "Dialogs.c"
			const gchar* _tmp10_ = NULL;
			gchar* _tmp11_ = NULL;
#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp10_ = photos_msg;
#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp11_ = g_strdup (_tmp10_);
#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala"
			result = _tmp11_;
#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return result;
#line 5015 "Dialogs.c"
		} else {
			gboolean _tmp12_ = FALSE;
#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = has_videos;
#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp12_) {
#line 5022 "Dialogs.c"
				const gchar* _tmp13_ = NULL;
				gchar* _tmp14_ = NULL;
#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = videos_msg;
#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp14_ = g_strdup (_tmp13_);
#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala"
				result = _tmp14_;
#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala"
				return result;
#line 5033 "Dialogs.c"
			} else {
				const gchar* _tmp15_ = NULL;
				gchar* _tmp16_ = NULL;
#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp15_ = neither_msg;
#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp16_ = g_strdup (_tmp15_);
#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala"
				result = _tmp16_;
#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala"
				return result;
#line 5045 "Dialogs.c"
			}
		}
	}
}


gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
	gchar* result = NULL;
	GString* builder = NULL;
	GString* _tmp0_ = NULL;
	gchar* header = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	GTimeVal _tmp8_ = {0};
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	gchar* _tmp14_ = NULL;
	GString* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	gchar* subhead = NULL;
	ImportManifest* _tmp17_ = NULL;
	GeeList* _tmp18_ = NULL;
	gint _tmp19_ = 0;
	gint _tmp20_ = 0;
	const gchar* _tmp21_ = NULL;
	ImportManifest* _tmp22_ = NULL;
	GeeList* _tmp23_ = NULL;
	gint _tmp24_ = 0;
	gint _tmp25_ = 0;
	gchar* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
	gchar* _tmp28_ = NULL;
	const gchar* _tmp29_ = NULL;
	ImportManifest* _tmp30_ = NULL;
	GeeList* _tmp31_ = NULL;
	gint _tmp32_ = 0;
	gint _tmp33_ = 0;
	const gchar* _tmp34_ = NULL;
	ImportManifest* _tmp35_ = NULL;
	GeeList* _tmp36_ = NULL;
	gint _tmp37_ = 0;
	gint _tmp38_ = 0;
	gchar* _tmp39_ = NULL;
	gchar* _tmp40_ = NULL;
	gchar* _tmp41_ = NULL;
	const gchar* _tmp42_ = NULL;
	gchar* _tmp43_ = NULL;
	GString* _tmp44_ = NULL;
	const gchar* _tmp45_ = NULL;
	gchar* current_file_summary = NULL;
	gchar* _tmp46_ = NULL;
	ImportManifest* _tmp47_ = NULL;
	GeeList* _tmp48_ = NULL;
	gint _tmp49_ = 0;
	gint _tmp50_ = 0;
	ImportManifest* _tmp87_ = NULL;
	GeeList* _tmp88_ = NULL;
	gint _tmp89_ = 0;
	gint _tmp90_ = 0;
	ImportManifest* _tmp123_ = NULL;
	GeeList* _tmp124_ = NULL;
	gint _tmp125_ = 0;
	gint _tmp126_ = 0;
	ImportManifest* _tmp159_ = NULL;
	GeeList* _tmp160_ = NULL;
	gint _tmp161_ = 0;
	gint _tmp162_ = 0;
	ImportManifest* _tmp195_ = NULL;
	GeeList* _tmp196_ = NULL;
	gint _tmp197_ = 0;
	gint _tmp198_ = 0;
	ImportManifest* _tmp236_ = NULL;
	GeeList* _tmp237_ = NULL;
	gint _tmp238_ = 0;
	gint _tmp239_ = 0;
	ImportManifest* _tmp272_ = NULL;
	GeeList* _tmp273_ = NULL;
	gint _tmp274_ = 0;
	gint _tmp275_ = 0;
	GString* _tmp308_ = NULL;
	const gchar* _tmp309_ = NULL;
	gchar* _tmp310_ = NULL;
#line 544 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_IMPORT_MANIFEST (manifest), NULL);
#line 545 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = g_string_new ("");
#line 545 "/home/jens/Source/shotwell/src/Dialogs.vala"
	builder = _tmp0_;
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _ ("Import Results Report");
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = g_strconcat (_tmp1_, " (Shotwell ", NULL);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_strconcat (_tmp3_, RESOURCES_APP_VERSION, NULL);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = g_strconcat (_tmp5_, " @ ", NULL);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_;
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_get_current_time (&_tmp8_);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = g_time_val_to_iso8601 (&_tmp8_);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = g_strconcat (_tmp7_, _tmp10_, NULL);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = _tmp11_;
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = g_strconcat (_tmp12_, ")\n\n", NULL);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _tmp13_;
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp12_);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp10_);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp7_);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp5_);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp3_);
#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	header = _tmp14_;
#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = builder;
#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = header;
#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_string_append (_tmp15_, _tmp16_);
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = manifest;
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = _tmp17_->all;
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection));
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = _tmp19_;
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = ngettext ("Attempted to import %d file.", "Attempted to import %d files.", (gulong) _tmp20_);
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = manifest;
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = _tmp22_->all;
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection));
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = _tmp24_;
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = g_strdup_printf (_tmp21_, _tmp25_);
#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	subhead = _tmp26_;
#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = subhead;
#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = g_strconcat (_tmp27_, " ", NULL);
#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (subhead);
#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala"
	subhead = _tmp28_;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = subhead;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = manifest;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = _tmp30_->success;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_COLLECTION, GeeCollection));
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp33_ = _tmp32_;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp34_ = ngettext ("Of these, %d file was successfully imported.", "Of these, %d files were successfully imported.", (gulong) _tmp33_);
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp35_ = manifest;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp36_ = _tmp35_->success;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp37_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection));
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp38_ = _tmp37_;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp39_ = g_strdup_printf (_tmp34_, _tmp38_);
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp40_ = _tmp39_;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp41_ = g_strconcat (_tmp29_, _tmp40_, NULL);
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (subhead);
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	subhead = _tmp41_;
#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp40_);
#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp42_ = subhead;
#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp43_ = g_strconcat (_tmp42_, "\n\n", NULL);
#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (subhead);
#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala"
	subhead = _tmp43_;
#line 558 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp44_ = builder;
#line 558 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp45_ = subhead;
#line 558 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_string_append (_tmp44_, _tmp45_);
#line 560 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp46_ = g_strdup ("");
#line 560 "/home/jens/Source/shotwell/src/Dialogs.vala"
	current_file_summary = _tmp46_;
#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp47_ = manifest;
#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp48_ = _tmp47_->already_imported;
#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp49_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, GEE_TYPE_COLLECTION, GeeCollection));
#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp50_ = _tmp49_;
#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp50_ > 0) {
#line 5278 "Dialogs.c"
		GString* _tmp51_ = NULL;
		const gchar* _tmp52_ = NULL;
		gchar* _tmp53_ = NULL;
		gchar* _tmp54_ = NULL;
#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp51_ = builder;
#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp52_ = _ ("Duplicate Photos/Videos Not Imported:");
#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp53_ = g_strconcat (_tmp52_, "\n\n", NULL);
#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp54_ = _tmp53_;
#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_string_append (_tmp51_, _tmp54_);
#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp54_);
#line 5295 "Dialogs.c"
		{
			GeeList* _result_list = NULL;
			ImportManifest* _tmp55_ = NULL;
			GeeList* _tmp56_ = NULL;
			GeeList* _tmp57_ = NULL;
			gint _result_size = 0;
			GeeList* _tmp58_ = NULL;
			gint _tmp59_ = 0;
			gint _tmp60_ = 0;
			gint _result_index = 0;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp55_ = manifest;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp56_ = _tmp55_->already_imported;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp57_ = _g_object_ref0 (_tmp56_);
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_list = _tmp57_;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp58_ = _result_list;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp59_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, GEE_TYPE_COLLECTION, GeeCollection));
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp60_ = _tmp59_;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_size = _tmp60_;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_index = -1;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 5326 "Dialogs.c"
				gint _tmp61_ = 0;
				gint _tmp62_ = 0;
				gint _tmp63_ = 0;
				BatchImportResult* _result_ = NULL;
				GeeList* _tmp64_ = NULL;
				gint _tmp65_ = 0;
				gpointer _tmp66_ = NULL;
				BatchImportResult* _tmp67_ = NULL;
				const gchar* _tmp68_ = NULL;
				gchar* _tmp69_ = NULL;
				gchar* _tmp70_ = NULL;
				const gchar* _tmp71_ = NULL;
				gchar* _tmp72_ = NULL;
				gchar* _tmp73_ = NULL;
				gchar* _tmp74_ = NULL;
				gchar* _tmp75_ = NULL;
				BatchImportResult* _tmp76_ = NULL;
				DuplicatedFile* _tmp77_ = NULL;
				GFile* _tmp78_ = NULL;
				GFile* _tmp79_ = NULL;
				gchar* _tmp80_ = NULL;
				gchar* _tmp81_ = NULL;
				gchar* _tmp82_ = NULL;
				gchar* _tmp83_ = NULL;
				gchar* _tmp84_ = NULL;
				GString* _tmp85_ = NULL;
				const gchar* _tmp86_ = NULL;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp61_ = _result_index;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_index = _tmp61_ + 1;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp62_ = _result_index;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp63_ = _result_size;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp62_ < _tmp63_)) {
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 5366 "Dialogs.c"
				}
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp64_ = _result_list;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp65_ = _result_index;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp66_ = gee_list_get (_tmp64_, _tmp65_);
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_ = (BatchImportResult*) _tmp66_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp67_ = _result_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp68_ = _tmp67_->src_identifier;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp69_ = g_strconcat (_tmp68_, " ", NULL);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp70_ = _tmp69_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp71_ = _ ("duplicates existing media item");
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp72_ = g_strconcat (_tmp70_, _tmp71_, NULL);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp73_ = _tmp72_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp74_ = g_strconcat (_tmp73_, "\n\t", NULL);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp75_ = _tmp74_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp76_ = _result_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp77_ = _tmp76_->duplicate_of;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp78_ = duplicated_file_get_file (_tmp77_);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp79_ = _tmp78_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp80_ = g_file_get_path (_tmp79_);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp81_ = _tmp80_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp82_ = g_strconcat (_tmp75_, _tmp81_, NULL);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp83_ = _tmp82_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp84_ = g_strconcat (_tmp83_, "\n\n", NULL);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_file_summary);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_file_summary = _tmp84_;
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp83_);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp81_);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_tmp79_);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp75_);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp73_);
#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp70_);
#line 573 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp85_ = builder;
#line 573 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp86_ = current_file_summary;
#line 573 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_string_append (_tmp85_, _tmp86_);
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (_result_);
#line 5436 "Dialogs.c"
			}
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_result_list);
#line 5440 "Dialogs.c"
		}
	}
#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp87_ = manifest;
#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp88_ = _tmp87_->camera_failed;
#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp89_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, GEE_TYPE_COLLECTION, GeeCollection));
#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp90_ = _tmp89_;
#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp90_ > 0) {
#line 5453 "Dialogs.c"
		GString* _tmp91_ = NULL;
		const gchar* _tmp92_ = NULL;
		gchar* _tmp93_ = NULL;
		gchar* _tmp94_ = NULL;
#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp91_ = builder;
#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp92_ = _ ("Photos/Videos Not Imported Due to Camera Errors:");
#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp93_ = g_strconcat (_tmp92_, "\n\n", NULL);
#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp94_ = _tmp93_;
#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_string_append (_tmp91_, _tmp94_);
#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp94_);
#line 5470 "Dialogs.c"
		{
			GeeList* _result_list = NULL;
			ImportManifest* _tmp95_ = NULL;
			GeeList* _tmp96_ = NULL;
			GeeList* _tmp97_ = NULL;
			gint _result_size = 0;
			GeeList* _tmp98_ = NULL;
			gint _tmp99_ = 0;
			gint _tmp100_ = 0;
			gint _result_index = 0;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp95_ = manifest;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp96_ = _tmp95_->camera_failed;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp97_ = _g_object_ref0 (_tmp96_);
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_list = _tmp97_;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp98_ = _result_list;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp99_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp98_, GEE_TYPE_COLLECTION, GeeCollection));
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp100_ = _tmp99_;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_size = _tmp100_;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_index = -1;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 5501 "Dialogs.c"
				gint _tmp101_ = 0;
				gint _tmp102_ = 0;
				gint _tmp103_ = 0;
				BatchImportResult* _result_ = NULL;
				GeeList* _tmp104_ = NULL;
				gint _tmp105_ = 0;
				gpointer _tmp106_ = NULL;
				BatchImportResult* _tmp107_ = NULL;
				const gchar* _tmp108_ = NULL;
				gchar* _tmp109_ = NULL;
				gchar* _tmp110_ = NULL;
				const gchar* _tmp111_ = NULL;
				gchar* _tmp112_ = NULL;
				gchar* _tmp113_ = NULL;
				gchar* _tmp114_ = NULL;
				gchar* _tmp115_ = NULL;
				BatchImportResult* _tmp116_ = NULL;
				const gchar* _tmp117_ = NULL;
				gchar* _tmp118_ = NULL;
				gchar* _tmp119_ = NULL;
				gchar* _tmp120_ = NULL;
				GString* _tmp121_ = NULL;
				const gchar* _tmp122_ = NULL;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp101_ = _result_index;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_index = _tmp101_ + 1;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp102_ = _result_index;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp103_ = _result_size;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp102_ < _tmp103_)) {
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 5537 "Dialogs.c"
				}
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp104_ = _result_list;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp105_ = _result_index;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp106_ = gee_list_get (_tmp104_, _tmp105_);
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_ = (BatchImportResult*) _tmp106_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp107_ = _result_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp108_ = _tmp107_->src_identifier;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp109_ = g_strconcat (_tmp108_, "\n\t", NULL);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp110_ = _tmp109_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp111_ = _ ("error message:");
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp112_ = g_strconcat (_tmp110_, _tmp111_, NULL);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp113_ = _tmp112_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp114_ = g_strconcat (_tmp113_, " ", NULL);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp115_ = _tmp114_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp116_ = _result_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp117_ = _tmp116_->errmsg;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp118_ = g_strconcat (_tmp115_, _tmp117_, NULL);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp119_ = _tmp118_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp120_ = g_strconcat (_tmp119_, "\n\n", NULL);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_file_summary);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_file_summary = _tmp120_;
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp119_);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp115_);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp113_);
#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp110_);
#line 587 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp121_ = builder;
#line 587 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp122_ = current_file_summary;
#line 587 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_string_append (_tmp121_, _tmp122_);
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (_result_);
#line 5595 "Dialogs.c"
			}
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_result_list);
#line 5599 "Dialogs.c"
		}
	}
#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp123_ = manifest;
#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp124_ = _tmp123_->skipped_files;
#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp125_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp124_, GEE_TYPE_COLLECTION, GeeCollection));
#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp126_ = _tmp125_;
#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp126_ > 0) {
#line 5612 "Dialogs.c"
		GString* _tmp127_ = NULL;
		const gchar* _tmp128_ = NULL;
		gchar* _tmp129_ = NULL;
		gchar* _tmp130_ = NULL;
#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp127_ = builder;
#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp128_ = _ ("Files Not Imported Because They Weren’t Recognized as Photos or Videos" \
":");
#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp129_ = g_strconcat (_tmp128_, "\n\n", NULL);
#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp130_ = _tmp129_;
#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_string_append (_tmp127_, _tmp130_);
#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp130_);
#line 5629 "Dialogs.c"
		{
			GeeList* _result_list = NULL;
			ImportManifest* _tmp131_ = NULL;
			GeeList* _tmp132_ = NULL;
			GeeList* _tmp133_ = NULL;
			gint _result_size = 0;
			GeeList* _tmp134_ = NULL;
			gint _tmp135_ = 0;
			gint _tmp136_ = 0;
			gint _result_index = 0;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp131_ = manifest;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp132_ = _tmp131_->skipped_files;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp133_ = _g_object_ref0 (_tmp132_);
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_list = _tmp133_;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp134_ = _result_list;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp135_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, GEE_TYPE_COLLECTION, GeeCollection));
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp136_ = _tmp135_;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_size = _tmp136_;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_index = -1;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 5660 "Dialogs.c"
				gint _tmp137_ = 0;
				gint _tmp138_ = 0;
				gint _tmp139_ = 0;
				BatchImportResult* _result_ = NULL;
				GeeList* _tmp140_ = NULL;
				gint _tmp141_ = 0;
				gpointer _tmp142_ = NULL;
				BatchImportResult* _tmp143_ = NULL;
				const gchar* _tmp144_ = NULL;
				gchar* _tmp145_ = NULL;
				gchar* _tmp146_ = NULL;
				const gchar* _tmp147_ = NULL;
				gchar* _tmp148_ = NULL;
				gchar* _tmp149_ = NULL;
				gchar* _tmp150_ = NULL;
				gchar* _tmp151_ = NULL;
				BatchImportResult* _tmp152_ = NULL;
				const gchar* _tmp153_ = NULL;
				gchar* _tmp154_ = NULL;
				gchar* _tmp155_ = NULL;
				gchar* _tmp156_ = NULL;
				GString* _tmp157_ = NULL;
				const gchar* _tmp158_ = NULL;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp137_ = _result_index;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_index = _tmp137_ + 1;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp138_ = _result_index;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp139_ = _result_size;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp138_ < _tmp139_)) {
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 5696 "Dialogs.c"
				}
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp140_ = _result_list;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp141_ = _result_index;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp142_ = gee_list_get (_tmp140_, _tmp141_);
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_ = (BatchImportResult*) _tmp142_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp143_ = _result_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp144_ = _tmp143_->src_identifier;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp145_ = g_strconcat (_tmp144_, "\n\t", NULL);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp146_ = _tmp145_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp147_ = _ ("error message:");
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp148_ = g_strconcat (_tmp146_, _tmp147_, NULL);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp149_ = _tmp148_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp150_ = g_strconcat (_tmp149_, " ", NULL);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp151_ = _tmp150_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp152_ = _result_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp153_ = _tmp152_->errmsg;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp154_ = g_strconcat (_tmp151_, _tmp153_, NULL);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp155_ = _tmp154_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp156_ = g_strconcat (_tmp155_, "\n\n", NULL);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_file_summary);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_file_summary = _tmp156_;
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp155_);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp151_);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp149_);
#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp146_);
#line 602 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp157_ = builder;
#line 602 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp158_ = current_file_summary;
#line 602 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_string_append (_tmp157_, _tmp158_);
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (_result_);
#line 5754 "Dialogs.c"
			}
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_result_list);
#line 5758 "Dialogs.c"
		}
	}
#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp159_ = manifest;
#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp160_ = _tmp159_->skipped_photos;
#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp161_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp160_, GEE_TYPE_COLLECTION, GeeCollection));
#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp162_ = _tmp161_;
#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp162_ > 0) {
#line 5771 "Dialogs.c"
		GString* _tmp163_ = NULL;
		const gchar* _tmp164_ = NULL;
		gchar* _tmp165_ = NULL;
		gchar* _tmp166_ = NULL;
#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp163_ = builder;
#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp164_ = _ ("Photos/Videos Not Imported Because They Weren’t in a Format Shotwell U" \
"nderstands:");
#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp165_ = g_strconcat (_tmp164_, "\n\n", NULL);
#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp166_ = _tmp165_;
#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_string_append (_tmp163_, _tmp166_);
#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp166_);
#line 5788 "Dialogs.c"
		{
			GeeList* _result_list = NULL;
			ImportManifest* _tmp167_ = NULL;
			GeeList* _tmp168_ = NULL;
			GeeList* _tmp169_ = NULL;
			gint _result_size = 0;
			GeeList* _tmp170_ = NULL;
			gint _tmp171_ = 0;
			gint _tmp172_ = 0;
			gint _result_index = 0;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp167_ = manifest;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp168_ = _tmp167_->skipped_photos;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp169_ = _g_object_ref0 (_tmp168_);
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_list = _tmp169_;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp170_ = _result_list;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp171_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp170_, GEE_TYPE_COLLECTION, GeeCollection));
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp172_ = _tmp171_;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_size = _tmp172_;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_index = -1;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 5819 "Dialogs.c"
				gint _tmp173_ = 0;
				gint _tmp174_ = 0;
				gint _tmp175_ = 0;
				BatchImportResult* _result_ = NULL;
				GeeList* _tmp176_ = NULL;
				gint _tmp177_ = 0;
				gpointer _tmp178_ = NULL;
				BatchImportResult* _tmp179_ = NULL;
				const gchar* _tmp180_ = NULL;
				gchar* _tmp181_ = NULL;
				gchar* _tmp182_ = NULL;
				const gchar* _tmp183_ = NULL;
				gchar* _tmp184_ = NULL;
				gchar* _tmp185_ = NULL;
				gchar* _tmp186_ = NULL;
				gchar* _tmp187_ = NULL;
				BatchImportResult* _tmp188_ = NULL;
				const gchar* _tmp189_ = NULL;
				gchar* _tmp190_ = NULL;
				gchar* _tmp191_ = NULL;
				gchar* _tmp192_ = NULL;
				GString* _tmp193_ = NULL;
				const gchar* _tmp194_ = NULL;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp173_ = _result_index;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_index = _tmp173_ + 1;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp174_ = _result_index;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp175_ = _result_size;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp174_ < _tmp175_)) {
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 5855 "Dialogs.c"
				}
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp176_ = _result_list;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp177_ = _result_index;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp178_ = gee_list_get (_tmp176_, _tmp177_);
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_ = (BatchImportResult*) _tmp178_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp179_ = _result_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp180_ = _tmp179_->src_identifier;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp181_ = g_strconcat (_tmp180_, "\n\t", NULL);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp182_ = _tmp181_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp183_ = _ ("error message:");
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp184_ = g_strconcat (_tmp182_, _tmp183_, NULL);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp185_ = _tmp184_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp186_ = g_strconcat (_tmp185_, " ", NULL);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp187_ = _tmp186_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp188_ = _result_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp189_ = _tmp188_->errmsg;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp190_ = g_strconcat (_tmp187_, _tmp189_, NULL);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp191_ = _tmp190_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp192_ = g_strconcat (_tmp191_, "\n\n", NULL);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_file_summary);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_file_summary = _tmp192_;
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp191_);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp187_);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp185_);
#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp182_);
#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp193_ = builder;
#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp194_ = current_file_summary;
#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_string_append (_tmp193_, _tmp194_);
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (_result_);
#line 5913 "Dialogs.c"
			}
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_result_list);
#line 5917 "Dialogs.c"
		}
	}
#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp195_ = manifest;
#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp196_ = _tmp195_->write_failed;
#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp197_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp196_, GEE_TYPE_COLLECTION, GeeCollection));
#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp198_ = _tmp197_;
#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp198_ > 0) {
#line 5930 "Dialogs.c"
		GString* _tmp199_ = NULL;
		const gchar* _tmp200_ = NULL;
		gchar* _tmp201_ = NULL;
		gchar* _tmp202_ = NULL;
#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp199_ = builder;
#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp200_ = _ ("Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into it" \
"s Library:");
#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp201_ = g_strconcat (_tmp200_, "\n\n", NULL);
#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp202_ = _tmp201_;
#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_string_append (_tmp199_, _tmp202_);
#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp202_);
#line 5947 "Dialogs.c"
		{
			GeeList* _result_list = NULL;
			ImportManifest* _tmp203_ = NULL;
			GeeList* _tmp204_ = NULL;
			GeeList* _tmp205_ = NULL;
			gint _result_size = 0;
			GeeList* _tmp206_ = NULL;
			gint _tmp207_ = 0;
			gint _tmp208_ = 0;
			gint _result_index = 0;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp203_ = manifest;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp204_ = _tmp203_->write_failed;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp205_ = _g_object_ref0 (_tmp204_);
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_list = _tmp205_;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp206_ = _result_list;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp207_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp206_, GEE_TYPE_COLLECTION, GeeCollection));
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp208_ = _tmp207_;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_size = _tmp208_;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_index = -1;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 5978 "Dialogs.c"
				gint _tmp209_ = 0;
				gint _tmp210_ = 0;
				gint _tmp211_ = 0;
				BatchImportResult* _result_ = NULL;
				GeeList* _tmp212_ = NULL;
				gint _tmp213_ = 0;
				gpointer _tmp214_ = NULL;
				const gchar* _tmp215_ = NULL;
				BatchImportResult* _tmp216_ = NULL;
				const gchar* _tmp217_ = NULL;
				BatchImportResult* _tmp218_ = NULL;
				const gchar* _tmp219_ = NULL;
				gchar* _tmp220_ = NULL;
				gchar* _tmp221_ = NULL;
				gchar* _tmp222_ = NULL;
				gchar* _tmp223_ = NULL;
				const gchar* _tmp224_ = NULL;
				gchar* _tmp225_ = NULL;
				gchar* _tmp226_ = NULL;
				gchar* _tmp227_ = NULL;
				gchar* _tmp228_ = NULL;
				BatchImportResult* _tmp229_ = NULL;
				const gchar* _tmp230_ = NULL;
				gchar* _tmp231_ = NULL;
				gchar* _tmp232_ = NULL;
				gchar* _tmp233_ = NULL;
				GString* _tmp234_ = NULL;
				const gchar* _tmp235_ = NULL;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp209_ = _result_index;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_index = _tmp209_ + 1;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp210_ = _result_index;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp211_ = _result_size;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp210_ < _tmp211_)) {
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 6019 "Dialogs.c"
				}
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp212_ = _result_list;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp213_ = _result_index;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp214_ = gee_list_get (_tmp212_, _tmp213_);
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_ = (BatchImportResult*) _tmp214_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp215_ = _ ("couldn’t copy %s\n\tto %s");
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp216_ = _result_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp217_ = _tmp216_->src_identifier;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp218_ = _result_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp219_ = _tmp218_->dest_identifier;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp220_ = g_strdup_printf (_tmp215_, _tmp217_, _tmp219_);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp221_ = _tmp220_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp222_ = g_strconcat (_tmp221_, "\n\t", NULL);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp223_ = _tmp222_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp224_ = _ ("error message:");
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp225_ = g_strconcat (_tmp223_, _tmp224_, NULL);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp226_ = _tmp225_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp227_ = g_strconcat (_tmp226_, " ", NULL);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp228_ = _tmp227_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp229_ = _result_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp230_ = _tmp229_->errmsg;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp231_ = g_strconcat (_tmp228_, _tmp230_, NULL);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp232_ = _tmp231_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp233_ = g_strconcat (_tmp232_, "\n\n", NULL);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_file_summary);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_file_summary = _tmp233_;
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp232_);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp228_);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp226_);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp223_);
#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp221_);
#line 633 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp234_ = builder;
#line 633 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp235_ = current_file_summary;
#line 633 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_string_append (_tmp234_, _tmp235_);
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (_result_);
#line 6089 "Dialogs.c"
			}
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_result_list);
#line 6093 "Dialogs.c"
		}
	}
#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp236_ = manifest;
#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp237_ = _tmp236_->corrupt_files;
#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp238_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp237_, GEE_TYPE_COLLECTION, GeeCollection));
#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp239_ = _tmp238_;
#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp239_ > 0) {
#line 6106 "Dialogs.c"
		GString* _tmp240_ = NULL;
		const gchar* _tmp241_ = NULL;
		gchar* _tmp242_ = NULL;
		gchar* _tmp243_ = NULL;
#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp240_ = builder;
#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp241_ = _ ("Photos/Videos Not Imported Because Files Are Corrupt:");
#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp242_ = g_strconcat (_tmp241_, "\n\n", NULL);
#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp243_ = _tmp242_;
#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_string_append (_tmp240_, _tmp243_);
#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp243_);
#line 6123 "Dialogs.c"
		{
			GeeList* _result_list = NULL;
			ImportManifest* _tmp244_ = NULL;
			GeeList* _tmp245_ = NULL;
			GeeList* _tmp246_ = NULL;
			gint _result_size = 0;
			GeeList* _tmp247_ = NULL;
			gint _tmp248_ = 0;
			gint _tmp249_ = 0;
			gint _result_index = 0;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp244_ = manifest;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp245_ = _tmp244_->corrupt_files;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp246_ = _g_object_ref0 (_tmp245_);
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_list = _tmp246_;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp247_ = _result_list;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp248_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp247_, GEE_TYPE_COLLECTION, GeeCollection));
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp249_ = _tmp248_;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_size = _tmp249_;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_index = -1;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 6154 "Dialogs.c"
				gint _tmp250_ = 0;
				gint _tmp251_ = 0;
				gint _tmp252_ = 0;
				BatchImportResult* _result_ = NULL;
				GeeList* _tmp253_ = NULL;
				gint _tmp254_ = 0;
				gpointer _tmp255_ = NULL;
				BatchImportResult* _tmp256_ = NULL;
				const gchar* _tmp257_ = NULL;
				gchar* _tmp258_ = NULL;
				gchar* _tmp259_ = NULL;
				const gchar* _tmp260_ = NULL;
				gchar* _tmp261_ = NULL;
				gchar* _tmp262_ = NULL;
				gchar* _tmp263_ = NULL;
				gchar* _tmp264_ = NULL;
				BatchImportResult* _tmp265_ = NULL;
				const gchar* _tmp266_ = NULL;
				gchar* _tmp267_ = NULL;
				gchar* _tmp268_ = NULL;
				gchar* _tmp269_ = NULL;
				GString* _tmp270_ = NULL;
				const gchar* _tmp271_ = NULL;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp250_ = _result_index;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_index = _tmp250_ + 1;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp251_ = _result_index;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp252_ = _result_size;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp251_ < _tmp252_)) {
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 6190 "Dialogs.c"
				}
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp253_ = _result_list;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp254_ = _result_index;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp255_ = gee_list_get (_tmp253_, _tmp254_);
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_ = (BatchImportResult*) _tmp255_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp256_ = _result_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp257_ = _tmp256_->src_identifier;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp258_ = g_strconcat (_tmp257_, "\n\t", NULL);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp259_ = _tmp258_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp260_ = _ ("error message:");
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp261_ = g_strconcat (_tmp259_, _tmp260_, NULL);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp262_ = _tmp261_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp263_ = g_strconcat (_tmp262_, " |", NULL);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp264_ = _tmp263_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp265_ = _result_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp266_ = _tmp265_->errmsg;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp267_ = g_strconcat (_tmp264_, _tmp266_, NULL);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp268_ = _tmp267_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp269_ = g_strconcat (_tmp268_, "|\n\n", NULL);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_file_summary);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_file_summary = _tmp269_;
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp268_);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp264_);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp262_);
#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp259_);
#line 648 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp270_ = builder;
#line 648 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp271_ = current_file_summary;
#line 648 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_string_append (_tmp270_, _tmp271_);
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (_result_);
#line 6248 "Dialogs.c"
			}
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_result_list);
#line 6252 "Dialogs.c"
		}
	}
#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp272_ = manifest;
#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp273_ = _tmp272_->failed;
#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp274_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp273_, GEE_TYPE_COLLECTION, GeeCollection));
#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp275_ = _tmp274_;
#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp275_ > 0) {
#line 6265 "Dialogs.c"
		GString* _tmp276_ = NULL;
		const gchar* _tmp277_ = NULL;
		gchar* _tmp278_ = NULL;
		gchar* _tmp279_ = NULL;
#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp276_ = builder;
#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp277_ = _ ("Photos/Videos Not Imported for Other Reasons:");
#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp278_ = g_strconcat (_tmp277_, "\n\n", NULL);
#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp279_ = _tmp278_;
#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_string_append (_tmp276_, _tmp279_);
#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp279_);
#line 6282 "Dialogs.c"
		{
			GeeList* _result_list = NULL;
			ImportManifest* _tmp280_ = NULL;
			GeeList* _tmp281_ = NULL;
			GeeList* _tmp282_ = NULL;
			gint _result_size = 0;
			GeeList* _tmp283_ = NULL;
			gint _tmp284_ = 0;
			gint _tmp285_ = 0;
			gint _result_index = 0;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp280_ = manifest;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp281_ = _tmp280_->failed;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp282_ = _g_object_ref0 (_tmp281_);
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_list = _tmp282_;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp283_ = _result_list;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp284_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp283_, GEE_TYPE_COLLECTION, GeeCollection));
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp285_ = _tmp284_;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_size = _tmp285_;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_result_index = -1;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 6313 "Dialogs.c"
				gint _tmp286_ = 0;
				gint _tmp287_ = 0;
				gint _tmp288_ = 0;
				BatchImportResult* _result_ = NULL;
				GeeList* _tmp289_ = NULL;
				gint _tmp290_ = 0;
				gpointer _tmp291_ = NULL;
				BatchImportResult* _tmp292_ = NULL;
				const gchar* _tmp293_ = NULL;
				gchar* _tmp294_ = NULL;
				gchar* _tmp295_ = NULL;
				const gchar* _tmp296_ = NULL;
				gchar* _tmp297_ = NULL;
				gchar* _tmp298_ = NULL;
				gchar* _tmp299_ = NULL;
				gchar* _tmp300_ = NULL;
				BatchImportResult* _tmp301_ = NULL;
				const gchar* _tmp302_ = NULL;
				gchar* _tmp303_ = NULL;
				gchar* _tmp304_ = NULL;
				gchar* _tmp305_ = NULL;
				GString* _tmp306_ = NULL;
				const gchar* _tmp307_ = NULL;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp286_ = _result_index;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_index = _tmp286_ + 1;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp287_ = _result_index;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp288_ = _result_size;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp287_ < _tmp288_)) {
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 6349 "Dialogs.c"
				}
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp289_ = _result_list;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp290_ = _result_index;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp291_ = gee_list_get (_tmp289_, _tmp290_);
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_result_ = (BatchImportResult*) _tmp291_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp292_ = _result_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp293_ = _tmp292_->src_identifier;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp294_ = g_strconcat (_tmp293_, "\n\t", NULL);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp295_ = _tmp294_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp296_ = _ ("error message:");
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp297_ = g_strconcat (_tmp295_, _tmp296_, NULL);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp298_ = _tmp297_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp299_ = g_strconcat (_tmp298_, " ", NULL);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp300_ = _tmp299_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp301_ = _result_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp302_ = _tmp301_->errmsg;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp303_ = g_strconcat (_tmp300_, _tmp302_, NULL);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp304_ = _tmp303_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp305_ = g_strconcat (_tmp304_, "\n\n", NULL);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (current_file_summary);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_file_summary = _tmp305_;
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp304_);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp300_);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp298_);
#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp295_);
#line 662 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp306_ = builder;
#line 662 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp307_ = current_file_summary;
#line 662 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_string_append (_tmp306_, _tmp307_);
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_batch_import_result_unref0 (_result_);
#line 6407 "Dialogs.c"
			}
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_result_list);
#line 6411 "Dialogs.c"
		}
	}
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp308_ = builder;
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp309_ = _tmp308_->str;
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp310_ = g_strdup (_tmp309_);
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp310_;
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (current_file_summary);
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (subhead);
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (header);
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_string_free0 (builder);
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 6432 "Dialogs.c"
}


gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest_id, ImportUIQuestionParams* question) {
	gboolean result = FALSE;
	gchar* message = NULL;
	gchar* _tmp0_ = NULL;
	ImportManifest* _tmp1_ = NULL;
	GeeList* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	ImportManifest* _tmp52_ = NULL;
	GeeList* _tmp53_ = NULL;
	gint _tmp54_ = 0;
	gint _tmp55_ = 0;
	ImportManifest* _tmp118_ = NULL;
	GeeList* _tmp119_ = NULL;
	gint _tmp120_ = 0;
	gint _tmp121_ = 0;
	ImportManifest* _tmp184_ = NULL;
	GeeList* _tmp185_ = NULL;
	gint _tmp186_ = 0;
	gint _tmp187_ = 0;
	ImportManifest* _tmp250_ = NULL;
	GeeList* _tmp251_ = NULL;
	gint _tmp252_ = 0;
	gint _tmp253_ = 0;
	ImportManifest* _tmp316_ = NULL;
	GeeList* _tmp317_ = NULL;
	gint _tmp318_ = 0;
	gint _tmp319_ = 0;
	ImportManifest* _tmp345_ = NULL;
	GeeList* _tmp346_ = NULL;
	gint _tmp347_ = 0;
	gint _tmp348_ = 0;
	ImportManifest* _tmp367_ = NULL;
	GeeList* _tmp368_ = NULL;
	gint _tmp369_ = 0;
	gint _tmp370_ = 0;
	ImportManifest* _tmp433_ = NULL;
	GeeList* _tmp434_ = NULL;
	gint _tmp435_ = 0;
	gint _tmp436_ = 0;
	gint total = 0;
	ImportManifest* _tmp481_ = NULL;
	GeeList* _tmp482_ = NULL;
	gint _tmp483_ = 0;
	gint _tmp484_ = 0;
	ImportManifest* _tmp485_ = NULL;
	GeeList* _tmp486_ = NULL;
	gint _tmp487_ = 0;
	gint _tmp488_ = 0;
	ImportManifest* _tmp489_ = NULL;
	GeeList* _tmp490_ = NULL;
	gint _tmp491_ = 0;
	gint _tmp492_ = 0;
	ImportManifest* _tmp493_ = NULL;
	GeeList* _tmp494_ = NULL;
	gint _tmp495_ = 0;
	gint _tmp496_ = 0;
	ImportManifest* _tmp497_ = NULL;
	GeeList* _tmp498_ = NULL;
	gint _tmp499_ = 0;
	gint _tmp500_ = 0;
	ImportManifest* _tmp501_ = NULL;
	GeeList* _tmp502_ = NULL;
	gint _tmp503_ = 0;
	gint _tmp504_ = 0;
	ImportManifest* _tmp505_ = NULL;
	GeeList* _tmp506_ = NULL;
	gint _tmp507_ = 0;
	gint _tmp508_ = 0;
	ImportManifest* _tmp509_ = NULL;
	GeeList* _tmp510_ = NULL;
	gint _tmp511_ = 0;
	gint _tmp512_ = 0;
	ImportManifest* _tmp513_ = NULL;
	GeeList* _tmp514_ = NULL;
	gint _tmp515_ = 0;
	gint _tmp516_ = 0;
	gint _tmp517_ = 0;
	ImportManifest* _tmp518_ = NULL;
	GeeList* _tmp519_ = NULL;
	gint _tmp520_ = 0;
	gint _tmp521_ = 0;
	gint _tmp522_ = 0;
	GtkMessageDialog* dialog = NULL;
	gint dialog_response = 0;
	ImportUIQuestionParams* _tmp526_ = NULL;
	gint _tmp606_ = 0;
#line 671 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_IMPORT_MANIFEST (manifest), FALSE);
#line 671 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail ((question == NULL) || IMPORT_UI_IS_QUESTION_PARAMS (question), FALSE);
#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = g_strdup ("");
#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala"
	message = _tmp0_;
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = manifest;
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_->already_imported;
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection));
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp4_ > 0) {
#line 6541 "Dialogs.c"
		gchar* photos_message = NULL;
		ImportManifest* _tmp5_ = NULL;
		GeeList* _tmp6_ = NULL;
		gint _tmp7_ = 0;
		gint _tmp8_ = 0;
		const gchar* _tmp9_ = NULL;
		ImportManifest* _tmp10_ = NULL;
		GeeList* _tmp11_ = NULL;
		gint _tmp12_ = 0;
		gint _tmp13_ = 0;
		gchar* _tmp14_ = NULL;
		gchar* videos_message = NULL;
		ImportManifest* _tmp15_ = NULL;
		GeeList* _tmp16_ = NULL;
		gint _tmp17_ = 0;
		gint _tmp18_ = 0;
		const gchar* _tmp19_ = NULL;
		ImportManifest* _tmp20_ = NULL;
		GeeList* _tmp21_ = NULL;
		gint _tmp22_ = 0;
		gint _tmp23_ = 0;
		gchar* _tmp24_ = NULL;
		gchar* both_message = NULL;
		ImportManifest* _tmp25_ = NULL;
		GeeList* _tmp26_ = NULL;
		gint _tmp27_ = 0;
		gint _tmp28_ = 0;
		const gchar* _tmp29_ = NULL;
		ImportManifest* _tmp30_ = NULL;
		GeeList* _tmp31_ = NULL;
		gint _tmp32_ = 0;
		gint _tmp33_ = 0;
		gchar* _tmp34_ = NULL;
		const gchar* _tmp35_ = NULL;
		ImportManifest* _tmp36_ = NULL;
		GeeList* _tmp37_ = NULL;
		const gchar* _tmp38_ = NULL;
		const gchar* _tmp39_ = NULL;
		const gchar* _tmp40_ = NULL;
		const gchar* _tmp41_ = NULL;
		gchar* _tmp42_ = NULL;
		gchar* _tmp43_ = NULL;
		gchar* _tmp44_ = NULL;
		const gchar* _tmp45_ = NULL;
		ImportManifest* _tmp46_ = NULL;
		GeeList* _tmp47_ = NULL;
		gboolean _tmp48_ = FALSE;
		gchar* _tmp49_ = NULL;
		gchar* _tmp50_ = NULL;
		gchar* _tmp51_ = NULL;
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = manifest;
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = _tmp5_->already_imported;
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = _tmp7_;
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = ngettext ("1 duplicate photo was not imported:\n", "%d duplicate photos were not imported:\n", (gulong) _tmp8_);
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = manifest;
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = _tmp10_->already_imported;
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_COLLECTION, GeeCollection));
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = _tmp12_;
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = g_strdup_printf (_tmp9_, _tmp13_);
#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala"
		photos_message = _tmp14_;
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = manifest;
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = _tmp15_->already_imported;
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_COLLECTION, GeeCollection));
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = _tmp17_;
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = ngettext ("1 duplicate video was not imported:\n", "%d duplicate videos were not imported:\n", (gulong) _tmp18_);
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = manifest;
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = _tmp20_->already_imported;
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_COLLECTION, GeeCollection));
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp23_ = _tmp22_;
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = g_strdup_printf (_tmp19_, _tmp23_);
#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala"
		videos_message = _tmp24_;
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = manifest;
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = _tmp25_->already_imported;
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp27_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_COLLECTION, GeeCollection));
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = _tmp27_;
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp29_ = ngettext ("1 duplicate photo/video was not imported:\n", "%d duplicate photos/videos were not imported:\n", (gulong) _tmp28_);
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp30_ = manifest;
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp31_ = _tmp30_->already_imported;
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp32_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_COLLECTION, GeeCollection));
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = _tmp32_;
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp34_ = g_strdup_printf (_tmp29_, _tmp33_);
#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala"
		both_message = _tmp34_;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp35_ = message;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp36_ = manifest;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp37_ = _tmp36_->already_imported;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp38_ = photos_message;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp39_ = videos_message;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp40_ = both_message;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp41_ = both_message;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp42_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GEE_TYPE_COLLECTION, GeeCollection), _tmp38_, _tmp39_, _tmp40_, _tmp41_);
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp43_ = _tmp42_;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp44_ = g_strconcat (_tmp35_, _tmp43_, NULL);
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp44_;
#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp43_);
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp45_ = message;
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp46_ = manifest;
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp47_ = _tmp46_->already_imported;
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp48_ = show_dest_id;
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp49_ = import_ui_generate_import_failure_list (_tmp47_, _tmp48_);
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp50_ = _tmp49_;
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp51_ = g_strconcat (_tmp45_, _tmp50_, NULL);
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp51_;
#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp50_);
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (both_message);
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (videos_message);
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (photos_message);
#line 6710 "Dialogs.c"
	}
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp52_ = manifest;
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp53_ = _tmp52_->failed;
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp54_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, GEE_TYPE_COLLECTION, GeeCollection));
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp55_ = _tmp54_;
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp55_ > 0) {
#line 6722 "Dialogs.c"
		const gchar* _tmp56_ = NULL;
		gint _tmp57_ = 0;
		gint _tmp58_ = 0;
		gchar* photos_message = NULL;
		ImportManifest* _tmp61_ = NULL;
		GeeList* _tmp62_ = NULL;
		gint _tmp63_ = 0;
		gint _tmp64_ = 0;
		const gchar* _tmp65_ = NULL;
		ImportManifest* _tmp66_ = NULL;
		GeeList* _tmp67_ = NULL;
		gint _tmp68_ = 0;
		gint _tmp69_ = 0;
		gchar* _tmp70_ = NULL;
		gchar* videos_message = NULL;
		ImportManifest* _tmp71_ = NULL;
		GeeList* _tmp72_ = NULL;
		gint _tmp73_ = 0;
		gint _tmp74_ = 0;
		const gchar* _tmp75_ = NULL;
		ImportManifest* _tmp76_ = NULL;
		GeeList* _tmp77_ = NULL;
		gint _tmp78_ = 0;
		gint _tmp79_ = 0;
		gchar* _tmp80_ = NULL;
		gchar* both_message = NULL;
		ImportManifest* _tmp81_ = NULL;
		GeeList* _tmp82_ = NULL;
		gint _tmp83_ = 0;
		gint _tmp84_ = 0;
		const gchar* _tmp85_ = NULL;
		ImportManifest* _tmp86_ = NULL;
		GeeList* _tmp87_ = NULL;
		gint _tmp88_ = 0;
		gint _tmp89_ = 0;
		gchar* _tmp90_ = NULL;
		gchar* neither_message = NULL;
		ImportManifest* _tmp91_ = NULL;
		GeeList* _tmp92_ = NULL;
		gint _tmp93_ = 0;
		gint _tmp94_ = 0;
		const gchar* _tmp95_ = NULL;
		ImportManifest* _tmp96_ = NULL;
		GeeList* _tmp97_ = NULL;
		gint _tmp98_ = 0;
		gint _tmp99_ = 0;
		gchar* _tmp100_ = NULL;
		const gchar* _tmp101_ = NULL;
		ImportManifest* _tmp102_ = NULL;
		GeeList* _tmp103_ = NULL;
		const gchar* _tmp104_ = NULL;
		const gchar* _tmp105_ = NULL;
		const gchar* _tmp106_ = NULL;
		const gchar* _tmp107_ = NULL;
		gchar* _tmp108_ = NULL;
		gchar* _tmp109_ = NULL;
		gchar* _tmp110_ = NULL;
		const gchar* _tmp111_ = NULL;
		ImportManifest* _tmp112_ = NULL;
		GeeList* _tmp113_ = NULL;
		gboolean _tmp114_ = FALSE;
		gchar* _tmp115_ = NULL;
		gchar* _tmp116_ = NULL;
		gchar* _tmp117_ = NULL;
#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp56_ = message;
#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp57_ = strlen (_tmp56_);
#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp58_ = _tmp57_;
#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp58_ > 0) {
#line 6795 "Dialogs.c"
			const gchar* _tmp59_ = NULL;
			gchar* _tmp60_ = NULL;
#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp59_ = message;
#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp60_ = g_strconcat (_tmp59_, "\n", NULL);
#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp60_;
#line 6806 "Dialogs.c"
		}
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp61_ = manifest;
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp62_ = _tmp61_->failed;
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp63_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, GEE_TYPE_COLLECTION, GeeCollection));
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp64_ = _tmp63_;
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp65_ = ngettext ("1 photo failed to import due to a file or hardware error:\n", "%d photos failed to import due to a file or hardware error:\n", (gulong) _tmp64_);
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp66_ = manifest;
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp67_ = _tmp66_->failed;
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp68_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, GEE_TYPE_COLLECTION, GeeCollection));
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp69_ = _tmp68_;
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp70_ = g_strdup_printf (_tmp65_, _tmp69_);
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
		photos_message = _tmp70_;
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp71_ = manifest;
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp72_ = _tmp71_->failed;
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp73_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, GEE_TYPE_COLLECTION, GeeCollection));
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp74_ = _tmp73_;
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp75_ = ngettext ("1 video failed to import due to a file or hardware error:\n", "%d videos failed to import due to a file or hardware error:\n", (gulong) _tmp74_);
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp76_ = manifest;
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp77_ = _tmp76_->failed;
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp78_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, GEE_TYPE_COLLECTION, GeeCollection));
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp79_ = _tmp78_;
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp80_ = g_strdup_printf (_tmp75_, _tmp79_);
#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala"
		videos_message = _tmp80_;
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp81_ = manifest;
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp82_ = _tmp81_->failed;
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp83_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, GEE_TYPE_COLLECTION, GeeCollection));
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp84_ = _tmp83_;
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp85_ = ngettext ("1 photo/video failed to import due to a file or hardware error:\n", "%d photos/videos failed to import due to a file or hardware error:\n", (gulong) _tmp84_);
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp86_ = manifest;
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp87_ = _tmp86_->failed;
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp88_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, GEE_TYPE_COLLECTION, GeeCollection));
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp89_ = _tmp88_;
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp90_ = g_strdup_printf (_tmp85_, _tmp89_);
#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala"
		both_message = _tmp90_;
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp91_ = manifest;
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp92_ = _tmp91_->failed;
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp93_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp92_, GEE_TYPE_COLLECTION, GeeCollection));
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp94_ = _tmp93_;
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp95_ = ngettext ("1 file failed to import due to a file or hardware error:\n", "%d files failed to import due to a file or hardware error:\n", (gulong) _tmp94_);
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp96_ = manifest;
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp97_ = _tmp96_->failed;
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp98_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp97_, GEE_TYPE_COLLECTION, GeeCollection));
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp99_ = _tmp98_;
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp100_ = g_strdup_printf (_tmp95_, _tmp99_);
#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala"
		neither_message = _tmp100_;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp101_ = message;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp102_ = manifest;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp103_ = _tmp102_->failed;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp104_ = photos_message;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp105_ = videos_message;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp106_ = both_message;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp107_ = neither_message;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp108_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, GEE_TYPE_COLLECTION, GeeCollection), _tmp104_, _tmp105_, _tmp106_, _tmp107_);
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp109_ = _tmp108_;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp110_ = g_strconcat (_tmp101_, _tmp109_, NULL);
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp110_;
#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp109_);
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp111_ = message;
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp112_ = manifest;
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp113_ = _tmp112_->failed;
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp114_ = show_dest_id;
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp115_ = import_ui_generate_import_failure_list (_tmp113_, _tmp114_);
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp116_ = _tmp115_;
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp117_ = g_strconcat (_tmp111_, _tmp116_, NULL);
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp117_;
#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp116_);
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (neither_message);
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (both_message);
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (videos_message);
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (photos_message);
#line 6950 "Dialogs.c"
	}
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp118_ = manifest;
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp119_ = _tmp118_->write_failed;
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp120_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp119_, GEE_TYPE_COLLECTION, GeeCollection));
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp121_ = _tmp120_;
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp121_ > 0) {
#line 6962 "Dialogs.c"
		const gchar* _tmp122_ = NULL;
		gint _tmp123_ = 0;
		gint _tmp124_ = 0;
		gchar* photos_message = NULL;
		ImportManifest* _tmp127_ = NULL;
		GeeList* _tmp128_ = NULL;
		gint _tmp129_ = 0;
		gint _tmp130_ = 0;
		const gchar* _tmp131_ = NULL;
		ImportManifest* _tmp132_ = NULL;
		GeeList* _tmp133_ = NULL;
		gint _tmp134_ = 0;
		gint _tmp135_ = 0;
		gchar* _tmp136_ = NULL;
		gchar* videos_message = NULL;
		ImportManifest* _tmp137_ = NULL;
		GeeList* _tmp138_ = NULL;
		gint _tmp139_ = 0;
		gint _tmp140_ = 0;
		const gchar* _tmp141_ = NULL;
		ImportManifest* _tmp142_ = NULL;
		GeeList* _tmp143_ = NULL;
		gint _tmp144_ = 0;
		gint _tmp145_ = 0;
		gchar* _tmp146_ = NULL;
		gchar* both_message = NULL;
		ImportManifest* _tmp147_ = NULL;
		GeeList* _tmp148_ = NULL;
		gint _tmp149_ = 0;
		gint _tmp150_ = 0;
		const gchar* _tmp151_ = NULL;
		ImportManifest* _tmp152_ = NULL;
		GeeList* _tmp153_ = NULL;
		gint _tmp154_ = 0;
		gint _tmp155_ = 0;
		gchar* _tmp156_ = NULL;
		gchar* neither_message = NULL;
		ImportManifest* _tmp157_ = NULL;
		GeeList* _tmp158_ = NULL;
		gint _tmp159_ = 0;
		gint _tmp160_ = 0;
		const gchar* _tmp161_ = NULL;
		ImportManifest* _tmp162_ = NULL;
		GeeList* _tmp163_ = NULL;
		gint _tmp164_ = 0;
		gint _tmp165_ = 0;
		gchar* _tmp166_ = NULL;
		const gchar* _tmp167_ = NULL;
		ImportManifest* _tmp168_ = NULL;
		GeeList* _tmp169_ = NULL;
		const gchar* _tmp170_ = NULL;
		const gchar* _tmp171_ = NULL;
		const gchar* _tmp172_ = NULL;
		const gchar* _tmp173_ = NULL;
		gchar* _tmp174_ = NULL;
		gchar* _tmp175_ = NULL;
		gchar* _tmp176_ = NULL;
		const gchar* _tmp177_ = NULL;
		ImportManifest* _tmp178_ = NULL;
		GeeList* _tmp179_ = NULL;
		gboolean _tmp180_ = FALSE;
		gchar* _tmp181_ = NULL;
		gchar* _tmp182_ = NULL;
		gchar* _tmp183_ = NULL;
#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp122_ = message;
#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp123_ = strlen (_tmp122_);
#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp124_ = _tmp123_;
#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp124_ > 0) {
#line 7035 "Dialogs.c"
			const gchar* _tmp125_ = NULL;
			gchar* _tmp126_ = NULL;
#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp125_ = message;
#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp126_ = g_strconcat (_tmp125_, "\n", NULL);
#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp126_;
#line 7046 "Dialogs.c"
		}
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp127_ = manifest;
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp128_ = _tmp127_->write_failed;
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp129_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp128_, GEE_TYPE_COLLECTION, GeeCollection));
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp130_ = _tmp129_;
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp131_ = ngettext ("1 photo failed to import because the photo library folder was not writ" \
"able:\n", "%d photos failed to import because the photo library folder was not wr" \
"itable:\n", (gulong) _tmp130_);
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp132_ = manifest;
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp133_ = _tmp132_->write_failed;
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp134_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, GEE_TYPE_COLLECTION, GeeCollection));
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp135_ = _tmp134_;
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp136_ = g_strdup_printf (_tmp131_, _tmp135_);
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
		photos_message = _tmp136_;
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp137_ = manifest;
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp138_ = _tmp137_->write_failed;
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp139_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp138_, GEE_TYPE_COLLECTION, GeeCollection));
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp140_ = _tmp139_;
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp141_ = ngettext ("1 video failed to import because the photo library folder was not writ" \
"able:\n", "%d videos failed to import because the photo library folder was not wr" \
"itable:\n", (gulong) _tmp140_);
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp142_ = manifest;
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp143_ = _tmp142_->write_failed;
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp144_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, GEE_TYPE_COLLECTION, GeeCollection));
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp145_ = _tmp144_;
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp146_ = g_strdup_printf (_tmp141_, _tmp145_);
#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala"
		videos_message = _tmp146_;
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp147_ = manifest;
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp148_ = _tmp147_->write_failed;
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp149_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp148_, GEE_TYPE_COLLECTION, GeeCollection));
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp150_ = _tmp149_;
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp151_ = ngettext ("1 photo/video failed to import because the photo library folder was no" \
"t writable:\n", "%d photos/videos failed to import because the photo library folder was" \
" not writable:\n", (gulong) _tmp150_);
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp152_ = manifest;
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp153_ = _tmp152_->write_failed;
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp154_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp153_, GEE_TYPE_COLLECTION, GeeCollection));
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp155_ = _tmp154_;
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp156_ = g_strdup_printf (_tmp151_, _tmp155_);
#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		both_message = _tmp156_;
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp157_ = manifest;
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp158_ = _tmp157_->write_failed;
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp159_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp158_, GEE_TYPE_COLLECTION, GeeCollection));
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp160_ = _tmp159_;
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp161_ = ngettext ("1 file failed to import because the photo library folder was not writa" \
"ble:\n", "%d files failed to import because the photo library folder was not wri" \
"table:\n", (gulong) _tmp160_);
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp162_ = manifest;
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp163_ = _tmp162_->write_failed;
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp164_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp163_, GEE_TYPE_COLLECTION, GeeCollection));
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp165_ = _tmp164_;
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp166_ = g_strdup_printf (_tmp161_, _tmp165_);
#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala"
		neither_message = _tmp166_;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp167_ = message;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp168_ = manifest;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp169_ = _tmp168_->write_failed;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp170_ = photos_message;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp171_ = videos_message;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp172_ = both_message;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp173_ = neither_message;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp174_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp169_, GEE_TYPE_COLLECTION, GeeCollection), _tmp170_, _tmp171_, _tmp172_, _tmp173_);
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp175_ = _tmp174_;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp176_ = g_strconcat (_tmp167_, _tmp175_, NULL);
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp176_;
#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp175_);
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp177_ = message;
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp178_ = manifest;
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp179_ = _tmp178_->write_failed;
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp180_ = show_dest_id;
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp181_ = import_ui_generate_import_failure_list (_tmp179_, _tmp180_);
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp182_ = _tmp181_;
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp183_ = g_strconcat (_tmp177_, _tmp182_, NULL);
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp183_;
#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp182_);
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (neither_message);
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (both_message);
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (videos_message);
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (photos_message);
#line 7190 "Dialogs.c"
	}
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp184_ = manifest;
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp185_ = _tmp184_->camera_failed;
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp186_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp185_, GEE_TYPE_COLLECTION, GeeCollection));
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp187_ = _tmp186_;
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp187_ > 0) {
#line 7202 "Dialogs.c"
		const gchar* _tmp188_ = NULL;
		gint _tmp189_ = 0;
		gint _tmp190_ = 0;
		gchar* photos_message = NULL;
		ImportManifest* _tmp193_ = NULL;
		GeeList* _tmp194_ = NULL;
		gint _tmp195_ = 0;
		gint _tmp196_ = 0;
		const gchar* _tmp197_ = NULL;
		ImportManifest* _tmp198_ = NULL;
		GeeList* _tmp199_ = NULL;
		gint _tmp200_ = 0;
		gint _tmp201_ = 0;
		gchar* _tmp202_ = NULL;
		gchar* videos_message = NULL;
		ImportManifest* _tmp203_ = NULL;
		GeeList* _tmp204_ = NULL;
		gint _tmp205_ = 0;
		gint _tmp206_ = 0;
		const gchar* _tmp207_ = NULL;
		ImportManifest* _tmp208_ = NULL;
		GeeList* _tmp209_ = NULL;
		gint _tmp210_ = 0;
		gint _tmp211_ = 0;
		gchar* _tmp212_ = NULL;
		gchar* both_message = NULL;
		ImportManifest* _tmp213_ = NULL;
		GeeList* _tmp214_ = NULL;
		gint _tmp215_ = 0;
		gint _tmp216_ = 0;
		const gchar* _tmp217_ = NULL;
		ImportManifest* _tmp218_ = NULL;
		GeeList* _tmp219_ = NULL;
		gint _tmp220_ = 0;
		gint _tmp221_ = 0;
		gchar* _tmp222_ = NULL;
		gchar* neither_message = NULL;
		ImportManifest* _tmp223_ = NULL;
		GeeList* _tmp224_ = NULL;
		gint _tmp225_ = 0;
		gint _tmp226_ = 0;
		const gchar* _tmp227_ = NULL;
		ImportManifest* _tmp228_ = NULL;
		GeeList* _tmp229_ = NULL;
		gint _tmp230_ = 0;
		gint _tmp231_ = 0;
		gchar* _tmp232_ = NULL;
		const gchar* _tmp233_ = NULL;
		ImportManifest* _tmp234_ = NULL;
		GeeList* _tmp235_ = NULL;
		const gchar* _tmp236_ = NULL;
		const gchar* _tmp237_ = NULL;
		const gchar* _tmp238_ = NULL;
		const gchar* _tmp239_ = NULL;
		gchar* _tmp240_ = NULL;
		gchar* _tmp241_ = NULL;
		gchar* _tmp242_ = NULL;
		const gchar* _tmp243_ = NULL;
		ImportManifest* _tmp244_ = NULL;
		GeeList* _tmp245_ = NULL;
		gboolean _tmp246_ = FALSE;
		gchar* _tmp247_ = NULL;
		gchar* _tmp248_ = NULL;
		gchar* _tmp249_ = NULL;
#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp188_ = message;
#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp189_ = strlen (_tmp188_);
#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp190_ = _tmp189_;
#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp190_ > 0) {
#line 7275 "Dialogs.c"
			const gchar* _tmp191_ = NULL;
			gchar* _tmp192_ = NULL;
#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp191_ = message;
#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp192_ = g_strconcat (_tmp191_, "\n", NULL);
#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp192_;
#line 7286 "Dialogs.c"
		}
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp193_ = manifest;
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp194_ = _tmp193_->camera_failed;
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp195_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp194_, GEE_TYPE_COLLECTION, GeeCollection));
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp196_ = _tmp195_;
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp197_ = ngettext ("1 photo failed to import due to a camera error:\n", "%d photos failed to import due to a camera error:\n", (gulong) _tmp196_);
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp198_ = manifest;
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp199_ = _tmp198_->camera_failed;
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp200_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp199_, GEE_TYPE_COLLECTION, GeeCollection));
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp201_ = _tmp200_;
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp202_ = g_strdup_printf (_tmp197_, _tmp201_);
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
		photos_message = _tmp202_;
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp203_ = manifest;
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp204_ = _tmp203_->camera_failed;
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp205_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp204_, GEE_TYPE_COLLECTION, GeeCollection));
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp206_ = _tmp205_;
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp207_ = ngettext ("1 video failed to import due to a camera error:\n", "%d videos failed to import due to a camera error:\n", (gulong) _tmp206_);
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp208_ = manifest;
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp209_ = _tmp208_->camera_failed;
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp210_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp209_, GEE_TYPE_COLLECTION, GeeCollection));
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp211_ = _tmp210_;
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp212_ = g_strdup_printf (_tmp207_, _tmp211_);
#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		videos_message = _tmp212_;
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp213_ = manifest;
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp214_ = _tmp213_->camera_failed;
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp215_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp214_, GEE_TYPE_COLLECTION, GeeCollection));
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp216_ = _tmp215_;
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp217_ = ngettext ("1 photo/video failed to import due to a camera error:\n", "%d photos/videos failed to import due to a camera error:\n", (gulong) _tmp216_);
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp218_ = manifest;
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp219_ = _tmp218_->camera_failed;
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp220_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp219_, GEE_TYPE_COLLECTION, GeeCollection));
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp221_ = _tmp220_;
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp222_ = g_strdup_printf (_tmp217_, _tmp221_);
#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala"
		both_message = _tmp222_;
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp223_ = manifest;
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp224_ = _tmp223_->camera_failed;
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp225_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp224_, GEE_TYPE_COLLECTION, GeeCollection));
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp226_ = _tmp225_;
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp227_ = ngettext ("1 file failed to import due to a camera error:\n", "%d files failed to import due to a camera error:\n", (gulong) _tmp226_);
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp228_ = manifest;
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp229_ = _tmp228_->camera_failed;
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp230_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp229_, GEE_TYPE_COLLECTION, GeeCollection));
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp231_ = _tmp230_;
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp232_ = g_strdup_printf (_tmp227_, _tmp231_);
#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala"
		neither_message = _tmp232_;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp233_ = message;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp234_ = manifest;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp235_ = _tmp234_->camera_failed;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp236_ = photos_message;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp237_ = videos_message;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp238_ = both_message;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp239_ = neither_message;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp240_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp235_, GEE_TYPE_COLLECTION, GeeCollection), _tmp236_, _tmp237_, _tmp238_, _tmp239_);
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp241_ = _tmp240_;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp242_ = g_strconcat (_tmp233_, _tmp241_, NULL);
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp242_;
#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp241_);
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp243_ = message;
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp244_ = manifest;
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp245_ = _tmp244_->camera_failed;
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp246_ = show_dest_id;
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp247_ = import_ui_generate_import_failure_list (_tmp245_, _tmp246_);
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp248_ = _tmp247_;
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp249_ = g_strconcat (_tmp243_, _tmp248_, NULL);
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp249_;
#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp248_);
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (neither_message);
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (both_message);
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (videos_message);
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (photos_message);
#line 7430 "Dialogs.c"
	}
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp250_ = manifest;
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp251_ = _tmp250_->corrupt_files;
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp252_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp251_, GEE_TYPE_COLLECTION, GeeCollection));
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp253_ = _tmp252_;
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp253_ > 0) {
#line 7442 "Dialogs.c"
		const gchar* _tmp254_ = NULL;
		gint _tmp255_ = 0;
		gint _tmp256_ = 0;
		gchar* photos_message = NULL;
		ImportManifest* _tmp259_ = NULL;
		GeeList* _tmp260_ = NULL;
		gint _tmp261_ = 0;
		gint _tmp262_ = 0;
		const gchar* _tmp263_ = NULL;
		ImportManifest* _tmp264_ = NULL;
		GeeList* _tmp265_ = NULL;
		gint _tmp266_ = 0;
		gint _tmp267_ = 0;
		gchar* _tmp268_ = NULL;
		gchar* videos_message = NULL;
		ImportManifest* _tmp269_ = NULL;
		GeeList* _tmp270_ = NULL;
		gint _tmp271_ = 0;
		gint _tmp272_ = 0;
		const gchar* _tmp273_ = NULL;
		ImportManifest* _tmp274_ = NULL;
		GeeList* _tmp275_ = NULL;
		gint _tmp276_ = 0;
		gint _tmp277_ = 0;
		gchar* _tmp278_ = NULL;
		gchar* both_message = NULL;
		ImportManifest* _tmp279_ = NULL;
		GeeList* _tmp280_ = NULL;
		gint _tmp281_ = 0;
		gint _tmp282_ = 0;
		const gchar* _tmp283_ = NULL;
		ImportManifest* _tmp284_ = NULL;
		GeeList* _tmp285_ = NULL;
		gint _tmp286_ = 0;
		gint _tmp287_ = 0;
		gchar* _tmp288_ = NULL;
		gchar* neither_message = NULL;
		ImportManifest* _tmp289_ = NULL;
		GeeList* _tmp290_ = NULL;
		gint _tmp291_ = 0;
		gint _tmp292_ = 0;
		const gchar* _tmp293_ = NULL;
		ImportManifest* _tmp294_ = NULL;
		GeeList* _tmp295_ = NULL;
		gint _tmp296_ = 0;
		gint _tmp297_ = 0;
		gchar* _tmp298_ = NULL;
		const gchar* _tmp299_ = NULL;
		ImportManifest* _tmp300_ = NULL;
		GeeList* _tmp301_ = NULL;
		const gchar* _tmp302_ = NULL;
		const gchar* _tmp303_ = NULL;
		const gchar* _tmp304_ = NULL;
		const gchar* _tmp305_ = NULL;
		gchar* _tmp306_ = NULL;
		gchar* _tmp307_ = NULL;
		gchar* _tmp308_ = NULL;
		const gchar* _tmp309_ = NULL;
		ImportManifest* _tmp310_ = NULL;
		GeeList* _tmp311_ = NULL;
		gboolean _tmp312_ = FALSE;
		gchar* _tmp313_ = NULL;
		gchar* _tmp314_ = NULL;
		gchar* _tmp315_ = NULL;
#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp254_ = message;
#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp255_ = strlen (_tmp254_);
#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp256_ = _tmp255_;
#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp256_ > 0) {
#line 7515 "Dialogs.c"
			const gchar* _tmp257_ = NULL;
			gchar* _tmp258_ = NULL;
#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp257_ = message;
#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp258_ = g_strconcat (_tmp257_, "\n", NULL);
#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp258_;
#line 7526 "Dialogs.c"
		}
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp259_ = manifest;
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp260_ = _tmp259_->corrupt_files;
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp261_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp260_, GEE_TYPE_COLLECTION, GeeCollection));
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp262_ = _tmp261_;
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp263_ = ngettext ("1 photo failed to import because it was corrupt:\n", "%d photos failed to import because they were corrupt:\n", (gulong) _tmp262_);
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp264_ = manifest;
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp265_ = _tmp264_->corrupt_files;
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp266_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp265_, GEE_TYPE_COLLECTION, GeeCollection));
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp267_ = _tmp266_;
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp268_ = g_strdup_printf (_tmp263_, _tmp267_);
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
		photos_message = _tmp268_;
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp269_ = manifest;
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp270_ = _tmp269_->corrupt_files;
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp271_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp270_, GEE_TYPE_COLLECTION, GeeCollection));
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp272_ = _tmp271_;
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp273_ = ngettext ("1 video failed to import because it was corrupt:\n", "%d videos failed to import because they were corrupt:\n", (gulong) _tmp272_);
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp274_ = manifest;
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp275_ = _tmp274_->corrupt_files;
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp276_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp275_, GEE_TYPE_COLLECTION, GeeCollection));
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp277_ = _tmp276_;
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp278_ = g_strdup_printf (_tmp273_, _tmp277_);
#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala"
		videos_message = _tmp278_;
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp279_ = manifest;
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp280_ = _tmp279_->corrupt_files;
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp281_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp280_, GEE_TYPE_COLLECTION, GeeCollection));
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp282_ = _tmp281_;
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp283_ = ngettext ("1 photo/video failed to import because it was corrupt:\n", "%d photos/videos failed to import because they were corrupt:\n", (gulong) _tmp282_);
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp284_ = manifest;
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp285_ = _tmp284_->corrupt_files;
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp286_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp285_, GEE_TYPE_COLLECTION, GeeCollection));
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp287_ = _tmp286_;
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp288_ = g_strdup_printf (_tmp283_, _tmp287_);
#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala"
		both_message = _tmp288_;
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp289_ = manifest;
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp290_ = _tmp289_->corrupt_files;
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp291_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp290_, GEE_TYPE_COLLECTION, GeeCollection));
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp292_ = _tmp291_;
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp293_ = ngettext ("1 file failed to import because it was corrupt:\n", "%d files failed to import because it was corrupt:\n", (gulong) _tmp292_);
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp294_ = manifest;
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp295_ = _tmp294_->corrupt_files;
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp296_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp295_, GEE_TYPE_COLLECTION, GeeCollection));
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp297_ = _tmp296_;
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp298_ = g_strdup_printf (_tmp293_, _tmp297_);
#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala"
		neither_message = _tmp298_;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp299_ = message;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp300_ = manifest;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp301_ = _tmp300_->corrupt_files;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp302_ = photos_message;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp303_ = videos_message;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp304_ = both_message;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp305_ = neither_message;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp306_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp301_, GEE_TYPE_COLLECTION, GeeCollection), _tmp302_, _tmp303_, _tmp304_, _tmp305_);
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp307_ = _tmp306_;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp308_ = g_strconcat (_tmp299_, _tmp307_, NULL);
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp308_;
#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp307_);
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp309_ = message;
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp310_ = manifest;
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp311_ = _tmp310_->corrupt_files;
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp312_ = show_dest_id;
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp313_ = import_ui_generate_import_failure_list (_tmp311_, _tmp312_);
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp314_ = _tmp313_;
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp315_ = g_strconcat (_tmp309_, _tmp314_, NULL);
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp315_;
#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp314_);
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (neither_message);
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (both_message);
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (videos_message);
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (photos_message);
#line 7670 "Dialogs.c"
	}
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp316_ = manifest;
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp317_ = _tmp316_->skipped_photos;
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp318_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp317_, GEE_TYPE_COLLECTION, GeeCollection));
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp319_ = _tmp318_;
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp319_ > 0) {
#line 7682 "Dialogs.c"
		const gchar* _tmp320_ = NULL;
		gint _tmp321_ = 0;
		gint _tmp322_ = 0;
		gchar* skipped_photos_message = NULL;
		ImportManifest* _tmp325_ = NULL;
		GeeList* _tmp326_ = NULL;
		gint _tmp327_ = 0;
		gint _tmp328_ = 0;
		const gchar* _tmp329_ = NULL;
		ImportManifest* _tmp330_ = NULL;
		GeeList* _tmp331_ = NULL;
		gint _tmp332_ = 0;
		gint _tmp333_ = 0;
		gchar* _tmp334_ = NULL;
		const gchar* _tmp335_ = NULL;
		const gchar* _tmp336_ = NULL;
		gchar* _tmp337_ = NULL;
		const gchar* _tmp338_ = NULL;
		ImportManifest* _tmp339_ = NULL;
		GeeList* _tmp340_ = NULL;
		gboolean _tmp341_ = FALSE;
		gchar* _tmp342_ = NULL;
		gchar* _tmp343_ = NULL;
		gchar* _tmp344_ = NULL;
#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp320_ = message;
#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp321_ = strlen (_tmp320_);
#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp322_ = _tmp321_;
#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp322_ > 0) {
#line 7715 "Dialogs.c"
			const gchar* _tmp323_ = NULL;
			gchar* _tmp324_ = NULL;
#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp323_ = message;
#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp324_ = g_strconcat (_tmp323_, "\n", NULL);
#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp324_;
#line 7726 "Dialogs.c"
		}
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp325_ = manifest;
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp326_ = _tmp325_->skipped_photos;
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp327_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp326_, GEE_TYPE_COLLECTION, GeeCollection));
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp328_ = _tmp327_;
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp329_ = ngettext ("1 unsupported photo skipped:\n", "%d unsupported photos skipped:\n", (gulong) _tmp328_);
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp330_ = manifest;
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp331_ = _tmp330_->skipped_photos;
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp332_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp331_, GEE_TYPE_COLLECTION, GeeCollection));
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp333_ = _tmp332_;
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp334_ = g_strdup_printf (_tmp329_, _tmp333_);
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
		skipped_photos_message = _tmp334_;
#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp335_ = message;
#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp336_ = skipped_photos_message;
#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp337_ = g_strconcat (_tmp335_, _tmp336_, NULL);
#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp337_;
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp338_ = message;
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp339_ = manifest;
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp340_ = _tmp339_->skipped_photos;
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp341_ = show_dest_id;
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp342_ = import_ui_generate_import_failure_list (_tmp340_, _tmp341_);
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp343_ = _tmp342_;
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp344_ = g_strconcat (_tmp338_, _tmp343_, NULL);
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp344_;
#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp343_);
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (skipped_photos_message);
#line 7782 "Dialogs.c"
	}
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp345_ = manifest;
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp346_ = _tmp345_->skipped_files;
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp347_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp346_, GEE_TYPE_COLLECTION, GeeCollection));
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp348_ = _tmp347_;
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp348_ > 0) {
#line 7794 "Dialogs.c"
		const gchar* _tmp349_ = NULL;
		gint _tmp350_ = 0;
		gint _tmp351_ = 0;
		gchar* skipped_files_message = NULL;
		ImportManifest* _tmp354_ = NULL;
		GeeList* _tmp355_ = NULL;
		gint _tmp356_ = 0;
		gint _tmp357_ = 0;
		const gchar* _tmp358_ = NULL;
		ImportManifest* _tmp359_ = NULL;
		GeeList* _tmp360_ = NULL;
		gint _tmp361_ = 0;
		gint _tmp362_ = 0;
		gchar* _tmp363_ = NULL;
		const gchar* _tmp364_ = NULL;
		const gchar* _tmp365_ = NULL;
		gchar* _tmp366_ = NULL;
#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp349_ = message;
#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp350_ = strlen (_tmp349_);
#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp351_ = _tmp350_;
#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp351_ > 0) {
#line 7820 "Dialogs.c"
			const gchar* _tmp352_ = NULL;
			gchar* _tmp353_ = NULL;
#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp352_ = message;
#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp353_ = g_strconcat (_tmp352_, "\n", NULL);
#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp353_;
#line 7831 "Dialogs.c"
		}
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp354_ = manifest;
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp355_ = _tmp354_->skipped_files;
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp356_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp355_, GEE_TYPE_COLLECTION, GeeCollection));
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp357_ = _tmp356_;
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp358_ = ngettext ("1 non-image file skipped.\n", "%d non-image files skipped.\n", (gulong) _tmp357_);
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp359_ = manifest;
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp360_ = _tmp359_->skipped_files;
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp361_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp360_, GEE_TYPE_COLLECTION, GeeCollection));
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp362_ = _tmp361_;
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp363_ = g_strdup_printf (_tmp358_, _tmp362_);
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
		skipped_files_message = _tmp363_;
#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp364_ = message;
#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp365_ = skipped_files_message;
#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp366_ = g_strconcat (_tmp364_, _tmp365_, NULL);
#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp366_;
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (skipped_files_message);
#line 7867 "Dialogs.c"
	}
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp367_ = manifest;
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp368_ = _tmp367_->aborted;
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp369_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp368_, GEE_TYPE_COLLECTION, GeeCollection));
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp370_ = _tmp369_;
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp370_ > 0) {
#line 7879 "Dialogs.c"
		const gchar* _tmp371_ = NULL;
		gint _tmp372_ = 0;
		gint _tmp373_ = 0;
		gchar* photos_message = NULL;
		ImportManifest* _tmp376_ = NULL;
		GeeList* _tmp377_ = NULL;
		gint _tmp378_ = 0;
		gint _tmp379_ = 0;
		const gchar* _tmp380_ = NULL;
		ImportManifest* _tmp381_ = NULL;
		GeeList* _tmp382_ = NULL;
		gint _tmp383_ = 0;
		gint _tmp384_ = 0;
		gchar* _tmp385_ = NULL;
		gchar* videos_message = NULL;
		ImportManifest* _tmp386_ = NULL;
		GeeList* _tmp387_ = NULL;
		gint _tmp388_ = 0;
		gint _tmp389_ = 0;
		const gchar* _tmp390_ = NULL;
		ImportManifest* _tmp391_ = NULL;
		GeeList* _tmp392_ = NULL;
		gint _tmp393_ = 0;
		gint _tmp394_ = 0;
		gchar* _tmp395_ = NULL;
		gchar* both_message = NULL;
		ImportManifest* _tmp396_ = NULL;
		GeeList* _tmp397_ = NULL;
		gint _tmp398_ = 0;
		gint _tmp399_ = 0;
		const gchar* _tmp400_ = NULL;
		ImportManifest* _tmp401_ = NULL;
		GeeList* _tmp402_ = NULL;
		gint _tmp403_ = 0;
		gint _tmp404_ = 0;
		gchar* _tmp405_ = NULL;
		gchar* neither_message = NULL;
		ImportManifest* _tmp406_ = NULL;
		GeeList* _tmp407_ = NULL;
		gint _tmp408_ = 0;
		gint _tmp409_ = 0;
		const gchar* _tmp410_ = NULL;
		ImportManifest* _tmp411_ = NULL;
		GeeList* _tmp412_ = NULL;
		gint _tmp413_ = 0;
		gint _tmp414_ = 0;
		gchar* _tmp415_ = NULL;
		const gchar* _tmp416_ = NULL;
		ImportManifest* _tmp417_ = NULL;
		GeeList* _tmp418_ = NULL;
		const gchar* _tmp419_ = NULL;
		const gchar* _tmp420_ = NULL;
		const gchar* _tmp421_ = NULL;
		const gchar* _tmp422_ = NULL;
		gchar* _tmp423_ = NULL;
		gchar* _tmp424_ = NULL;
		gchar* _tmp425_ = NULL;
		const gchar* _tmp426_ = NULL;
		ImportManifest* _tmp427_ = NULL;
		GeeList* _tmp428_ = NULL;
		gboolean _tmp429_ = FALSE;
		gchar* _tmp430_ = NULL;
		gchar* _tmp431_ = NULL;
		gchar* _tmp432_ = NULL;
#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp371_ = message;
#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp372_ = strlen (_tmp371_);
#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp373_ = _tmp372_;
#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp373_ > 0) {
#line 7952 "Dialogs.c"
			const gchar* _tmp374_ = NULL;
			gchar* _tmp375_ = NULL;
#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp374_ = message;
#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp375_ = g_strconcat (_tmp374_, "\n", NULL);
#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp375_;
#line 7963 "Dialogs.c"
		}
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp376_ = manifest;
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp377_ = _tmp376_->aborted;
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp378_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp377_, GEE_TYPE_COLLECTION, GeeCollection));
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp379_ = _tmp378_;
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp380_ = ngettext ("1 photo skipped due to user cancel:\n", "%d photos skipped due to user cancel:\n", (gulong) _tmp379_);
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp381_ = manifest;
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp382_ = _tmp381_->aborted;
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp383_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp382_, GEE_TYPE_COLLECTION, GeeCollection));
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp384_ = _tmp383_;
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp385_ = g_strdup_printf (_tmp380_, _tmp384_);
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
		photos_message = _tmp385_;
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp386_ = manifest;
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp387_ = _tmp386_->aborted;
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp388_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp387_, GEE_TYPE_COLLECTION, GeeCollection));
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp389_ = _tmp388_;
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp390_ = ngettext ("1 video skipped due to user cancel:\n", "%d videos skipped due to user cancel:\n", (gulong) _tmp389_);
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp391_ = manifest;
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp392_ = _tmp391_->aborted;
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp393_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp392_, GEE_TYPE_COLLECTION, GeeCollection));
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp394_ = _tmp393_;
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp395_ = g_strdup_printf (_tmp390_, _tmp394_);
#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala"
		videos_message = _tmp395_;
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp396_ = manifest;
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp397_ = _tmp396_->aborted;
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp398_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp397_, GEE_TYPE_COLLECTION, GeeCollection));
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp399_ = _tmp398_;
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp400_ = ngettext ("1 photo/video skipped due to user cancel:\n", "%d photos/videos skipped due to user cancel:\n", (gulong) _tmp399_);
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp401_ = manifest;
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp402_ = _tmp401_->aborted;
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp403_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp402_, GEE_TYPE_COLLECTION, GeeCollection));
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp404_ = _tmp403_;
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp405_ = g_strdup_printf (_tmp400_, _tmp404_);
#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala"
		both_message = _tmp405_;
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp406_ = manifest;
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp407_ = _tmp406_->aborted;
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp408_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp407_, GEE_TYPE_COLLECTION, GeeCollection));
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp409_ = _tmp408_;
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp410_ = ngettext ("1 file skipped due to user cancel:\n", "%d file skipped due to user cancel:\n", (gulong) _tmp409_);
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp411_ = manifest;
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp412_ = _tmp411_->aborted;
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp413_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp412_, GEE_TYPE_COLLECTION, GeeCollection));
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp414_ = _tmp413_;
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp415_ = g_strdup_printf (_tmp410_, _tmp414_);
#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala"
		neither_message = _tmp415_;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp416_ = message;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp417_ = manifest;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp418_ = _tmp417_->aborted;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp419_ = photos_message;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp420_ = videos_message;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp421_ = both_message;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp422_ = neither_message;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp423_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp418_, GEE_TYPE_COLLECTION, GeeCollection), _tmp419_, _tmp420_, _tmp421_, _tmp422_);
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp424_ = _tmp423_;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp425_ = g_strconcat (_tmp416_, _tmp424_, NULL);
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp425_;
#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp424_);
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp426_ = message;
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp427_ = manifest;
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp428_ = _tmp427_->aborted;
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp429_ = show_dest_id;
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp430_ = import_ui_generate_import_failure_list (_tmp428_, _tmp429_);
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp431_ = _tmp430_;
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp432_ = g_strconcat (_tmp426_, _tmp431_, NULL);
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp432_;
#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp431_);
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (neither_message);
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (both_message);
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (videos_message);
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (photos_message);
#line 8107 "Dialogs.c"
	}
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp433_ = manifest;
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp434_ = _tmp433_->success;
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp435_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp434_, GEE_TYPE_COLLECTION, GeeCollection));
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp436_ = _tmp435_;
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp436_ > 0) {
#line 8119 "Dialogs.c"
		const gchar* _tmp437_ = NULL;
		gint _tmp438_ = 0;
		gint _tmp439_ = 0;
		gchar* photos_message = NULL;
		ImportManifest* _tmp442_ = NULL;
		GeeList* _tmp443_ = NULL;
		gint _tmp444_ = 0;
		gint _tmp445_ = 0;
		const gchar* _tmp446_ = NULL;
		ImportManifest* _tmp447_ = NULL;
		GeeList* _tmp448_ = NULL;
		gint _tmp449_ = 0;
		gint _tmp450_ = 0;
		gchar* _tmp451_ = NULL;
		gchar* videos_message = NULL;
		ImportManifest* _tmp452_ = NULL;
		GeeList* _tmp453_ = NULL;
		gint _tmp454_ = 0;
		gint _tmp455_ = 0;
		const gchar* _tmp456_ = NULL;
		ImportManifest* _tmp457_ = NULL;
		GeeList* _tmp458_ = NULL;
		gint _tmp459_ = 0;
		gint _tmp460_ = 0;
		gchar* _tmp461_ = NULL;
		gchar* both_message = NULL;
		ImportManifest* _tmp462_ = NULL;
		GeeList* _tmp463_ = NULL;
		gint _tmp464_ = 0;
		gint _tmp465_ = 0;
		const gchar* _tmp466_ = NULL;
		ImportManifest* _tmp467_ = NULL;
		GeeList* _tmp468_ = NULL;
		gint _tmp469_ = 0;
		gint _tmp470_ = 0;
		gchar* _tmp471_ = NULL;
		const gchar* _tmp472_ = NULL;
		ImportManifest* _tmp473_ = NULL;
		GeeList* _tmp474_ = NULL;
		const gchar* _tmp475_ = NULL;
		const gchar* _tmp476_ = NULL;
		const gchar* _tmp477_ = NULL;
		gchar* _tmp478_ = NULL;
		gchar* _tmp479_ = NULL;
		gchar* _tmp480_ = NULL;
#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp437_ = message;
#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp438_ = strlen (_tmp437_);
#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp439_ = _tmp438_;
#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp439_ > 0) {
#line 8173 "Dialogs.c"
			const gchar* _tmp440_ = NULL;
			gchar* _tmp441_ = NULL;
#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp440_ = message;
#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp441_ = g_strconcat (_tmp440_, "\n", NULL);
#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (message);
#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala"
			message = _tmp441_;
#line 8184 "Dialogs.c"
		}
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp442_ = manifest;
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp443_ = _tmp442_->success;
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp444_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp443_, GEE_TYPE_COLLECTION, GeeCollection));
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp445_ = _tmp444_;
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp446_ = ngettext ("1 photo successfully imported.\n", "%d photos successfully imported.\n", (gulong) _tmp445_);
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp447_ = manifest;
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp448_ = _tmp447_->success;
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp449_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp448_, GEE_TYPE_COLLECTION, GeeCollection));
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp450_ = _tmp449_;
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp451_ = g_strdup_printf (_tmp446_, _tmp450_);
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
		photos_message = _tmp451_;
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp452_ = manifest;
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp453_ = _tmp452_->success;
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp454_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp453_, GEE_TYPE_COLLECTION, GeeCollection));
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp455_ = _tmp454_;
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp456_ = ngettext ("1 video successfully imported.\n", "%d videos successfully imported.\n", (gulong) _tmp455_);
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp457_ = manifest;
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp458_ = _tmp457_->success;
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp459_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp458_, GEE_TYPE_COLLECTION, GeeCollection));
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp460_ = _tmp459_;
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp461_ = g_strdup_printf (_tmp456_, _tmp460_);
#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala"
		videos_message = _tmp461_;
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp462_ = manifest;
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp463_ = _tmp462_->success;
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp464_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp463_, GEE_TYPE_COLLECTION, GeeCollection));
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp465_ = _tmp464_;
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp466_ = ngettext ("1 photo/video successfully imported.\n", "%d photos/videos successfully imported.\n", (gulong) _tmp465_);
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp467_ = manifest;
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp468_ = _tmp467_->success;
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp469_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp468_, GEE_TYPE_COLLECTION, GeeCollection));
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp470_ = _tmp469_;
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp471_ = g_strdup_printf (_tmp466_, _tmp470_);
#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala"
		both_message = _tmp471_;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp472_ = message;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp473_ = manifest;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp474_ = _tmp473_->success;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp475_ = photos_message;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp476_ = videos_message;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp477_ = both_message;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp478_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp474_, GEE_TYPE_COLLECTION, GeeCollection), _tmp475_, _tmp476_, _tmp477_, "");
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp479_ = _tmp478_;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp480_ = g_strconcat (_tmp472_, _tmp479_, NULL);
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp480_;
#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp479_);
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (both_message);
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (videos_message);
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (photos_message);
#line 8282 "Dialogs.c"
	}
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp481_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp482_ = _tmp481_->success;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp483_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp482_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp484_ = _tmp483_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp485_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp486_ = _tmp485_->failed;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp487_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp486_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp488_ = _tmp487_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp489_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp490_ = _tmp489_->camera_failed;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp491_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp490_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp492_ = _tmp491_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp493_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp494_ = _tmp493_->skipped_photos;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp495_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp494_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp496_ = _tmp495_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp497_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp498_ = _tmp497_->skipped_files;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp499_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp498_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp500_ = _tmp499_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp501_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp502_ = _tmp501_->corrupt_files;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp503_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp502_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp504_ = _tmp503_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp505_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp506_ = _tmp505_->already_imported;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp507_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp506_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp508_ = _tmp507_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp509_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp510_ = _tmp509_->aborted;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp511_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp510_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp512_ = _tmp511_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp513_ = manifest;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp514_ = _tmp513_->write_failed;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp515_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp514_, GEE_TYPE_COLLECTION, GeeCollection));
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp516_ = _tmp515_;
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
	total = (((((((_tmp484_ + _tmp488_) + _tmp492_) + _tmp496_) + _tmp500_) + _tmp504_) + _tmp508_) + _tmp512_) + _tmp516_;
#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp517_ = total;
#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp518_ = manifest;
#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp519_ = _tmp518_->all;
#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp520_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp519_, GEE_TYPE_COLLECTION, GeeCollection));
#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp521_ = _tmp520_;
#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_assert (_tmp517_ == _tmp521_, "total == manifest.all.size");
#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp522_ = total;
#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp522_ == 0) {
#line 8374 "Dialogs.c"
		const gchar* _tmp523_ = NULL;
		const gchar* _tmp524_ = NULL;
		gchar* _tmp525_ = NULL;
#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp523_ = message;
#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp524_ = _ ("No photos or videos imported.\n");
#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp525_ = g_strconcat (_tmp523_, _tmp524_, NULL);
#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp525_;
#line 8388 "Dialogs.c"
	}
#line 864 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = NULL;
#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog_response = (gint) GTK_RESPONSE_NONE;
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp526_ = question;
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp526_ == NULL) {
#line 8398 "Dialogs.c"
		AppWindow* _tmp527_ = NULL;
		AppWindow* _tmp528_ = NULL;
		const gchar* _tmp529_ = NULL;
		GtkMessageDialog* _tmp530_ = NULL;
		GtkMessageDialog* _tmp531_ = NULL;
		const gchar* _tmp532_ = NULL;
		GtkWidget* save_results_button = NULL;
		GtkMessageDialog* _tmp533_ = NULL;
		GtkWidget* _tmp534_ = NULL;
		GtkWidget* _tmp535_ = NULL;
		GtkWidget* _tmp536_ = NULL;
		ImportManifest* _tmp537_ = NULL;
		GeeList* _tmp538_ = NULL;
		gint _tmp539_ = 0;
		gint _tmp540_ = 0;
		ImportManifest* _tmp541_ = NULL;
		GeeList* _tmp542_ = NULL;
		gint _tmp543_ = 0;
		gint _tmp544_ = 0;
		GtkWidget* ok_button = NULL;
		GtkMessageDialog* _tmp545_ = NULL;
		GtkWidget* _tmp546_ = NULL;
		GtkWidget* _tmp547_ = NULL;
		GtkMessageDialog* _tmp548_ = NULL;
		GtkWidget* _tmp549_ = NULL;
		GtkWindow* dialog_parent = NULL;
		GtkMessageDialog* _tmp550_ = NULL;
		GtkContainer* _tmp551_ = NULL;
		GtkWindow* _tmp552_ = NULL;
		GtkMessageDialog* _tmp553_ = NULL;
		gint _tmp554_ = 0;
		GtkMessageDialog* _tmp555_ = NULL;
		gint _tmp556_ = 0;
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp527_ = app_window_get_instance ();
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp528_ = _tmp527_;
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp529_ = message;
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp530_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp528_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_NONE, "%s", _tmp529_);
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp530_);
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (dialog);
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dialog = _tmp530_;
#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp528_);
#line 869 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp531_ = dialog;
#line 869 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp532_ = _ ("Import Complete");
#line 869 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp531_, gtk_window_get_type (), GtkWindow), _tmp532_);
#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp533_ = dialog;
#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp534_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp533_, gtk_dialog_get_type (), GtkDialog), IMPORT_UI_SAVE_RESULTS_BUTTON_NAME, IMPORT_UI_SAVE_RESULTS_RESPONSE_ID);
#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp535_ = _g_object_ref0 (_tmp534_);
#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala"
		save_results_button = _tmp535_;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp536_ = save_results_button;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp537_ = manifest;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp538_ = _tmp537_->success;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp539_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp538_, GEE_TYPE_COLLECTION, GeeCollection));
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp540_ = _tmp539_;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp541_ = manifest;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp542_ = _tmp541_->all;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp543_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp542_, GEE_TYPE_COLLECTION, GeeCollection));
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp544_ = _tmp543_;
#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_visible (_tmp536_, _tmp540_ < _tmp544_);
#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp545_ = dialog;
#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp546_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp545_, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK);
#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp547_ = _g_object_ref0 (_tmp546_);
#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala"
		ok_button = _tmp547_;
#line 874 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp548_ = dialog;
#line 874 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp549_ = ok_button;
#line 874 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp548_, gtk_window_get_type (), GtkWindow), _tmp549_);
#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp550_ = dialog;
#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp551_ = (GtkContainer*) gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (_tmp550_, gtk_widget_get_type (), GtkWidget));
#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp552_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp551_, gtk_window_get_type (), GtkWindow));
#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dialog_parent = _tmp552_;
#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp553_ = dialog;
#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp554_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp553_, gtk_dialog_get_type (), GtkDialog));
#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dialog_response = _tmp554_;
#line 878 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp555_ = dialog;
#line 878 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp555_, gtk_widget_get_type (), GtkWidget));
#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp556_ = dialog_response;
#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp556_ == IMPORT_UI_SAVE_RESULTS_RESPONSE_ID) {
#line 8518 "Dialogs.c"
			GtkWindow* _tmp557_ = NULL;
			ImportManifest* _tmp558_ = NULL;
			gchar* _tmp559_ = NULL;
			gchar* _tmp560_ = NULL;
#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp557_ = dialog_parent;
#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp558_ = manifest;
#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp559_ = import_ui_create_result_report_from_manifest (_tmp558_);
#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp560_ = _tmp559_;
#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala"
			import_ui_save_import_results (_tmp557_, _tmp560_);
#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (_tmp560_);
#line 8535 "Dialogs.c"
		}
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (dialog_parent);
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (ok_button);
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (save_results_button);
#line 8543 "Dialogs.c"
	} else {
		const gchar* _tmp561_ = NULL;
		ImportUIQuestionParams* _tmp562_ = NULL;
		const gchar* _tmp563_ = NULL;
		gchar* _tmp564_ = NULL;
		gchar* _tmp565_ = NULL;
		gchar* _tmp566_ = NULL;
		AppWindow* _tmp567_ = NULL;
		AppWindow* _tmp568_ = NULL;
		const gchar* _tmp569_ = NULL;
		GtkMessageDialog* _tmp570_ = NULL;
		GtkMessageDialog* _tmp571_ = NULL;
		const gchar* _tmp572_ = NULL;
		GtkWidget* save_results_button = NULL;
		GtkMessageDialog* _tmp573_ = NULL;
		GtkWidget* _tmp574_ = NULL;
		GtkWidget* _tmp575_ = NULL;
		GtkWidget* _tmp576_ = NULL;
		ImportManifest* _tmp577_ = NULL;
		GeeList* _tmp578_ = NULL;
		gint _tmp579_ = 0;
		gint _tmp580_ = 0;
		ImportManifest* _tmp581_ = NULL;
		GeeList* _tmp582_ = NULL;
		gint _tmp583_ = 0;
		gint _tmp584_ = 0;
		GtkWidget* no_button = NULL;
		GtkMessageDialog* _tmp585_ = NULL;
		ImportUIQuestionParams* _tmp586_ = NULL;
		const gchar* _tmp587_ = NULL;
		GtkWidget* _tmp588_ = NULL;
		GtkWidget* _tmp589_ = NULL;
		GtkMessageDialog* _tmp590_ = NULL;
		ImportUIQuestionParams* _tmp591_ = NULL;
		const gchar* _tmp592_ = NULL;
		GtkMessageDialog* _tmp593_ = NULL;
		GtkWidget* _tmp594_ = NULL;
		GtkMessageDialog* _tmp595_ = NULL;
		gint _tmp596_ = 0;
		GtkMessageDialog* _tmp604_ = NULL;
		GtkMessageDialog* _tmp605_ = NULL;
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp561_ = message;
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp562_ = question;
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp563_ = _tmp562_->question;
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp564_ = g_strconcat ("\n", _tmp563_, NULL);
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp565_ = _tmp564_;
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp566_ = g_strconcat (_tmp561_, _tmp565_, NULL);
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (message);
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		message = _tmp566_;
#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp565_);
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp567_ = app_window_get_instance ();
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp568_ = _tmp567_;
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp569_ = message;
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp570_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp568_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp569_);
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp570_);
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (dialog);
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dialog = _tmp570_;
#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp568_);
#line 888 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp571_ = dialog;
#line 888 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp572_ = _ ("Import Complete");
#line 888 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp571_, gtk_window_get_type (), GtkWindow), _tmp572_);
#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp573_ = dialog;
#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp574_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp573_, gtk_dialog_get_type (), GtkDialog), IMPORT_UI_SAVE_RESULTS_BUTTON_NAME, IMPORT_UI_SAVE_RESULTS_RESPONSE_ID);
#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp575_ = _g_object_ref0 (_tmp574_);
#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala"
		save_results_button = _tmp575_;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp576_ = save_results_button;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp577_ = manifest;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp578_ = _tmp577_->success;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp579_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp578_, GEE_TYPE_COLLECTION, GeeCollection));
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp580_ = _tmp579_;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp581_ = manifest;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp582_ = _tmp581_->all;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp583_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp582_, GEE_TYPE_COLLECTION, GeeCollection));
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp584_ = _tmp583_;
#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_visible (_tmp576_, _tmp580_ < _tmp584_);
#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp585_ = dialog;
#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp586_ = question;
#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp587_ = _tmp586_->no_button;
#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp588_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp585_, gtk_dialog_get_type (), GtkDialog), _tmp587_, (gint) GTK_RESPONSE_NO);
#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp589_ = _g_object_ref0 (_tmp588_);
#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala"
		no_button = _tmp589_;
#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp590_ = dialog;
#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp591_ = question;
#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp592_ = _tmp591_->yes_button;
#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp590_, gtk_dialog_get_type (), GtkDialog), _tmp592_, (gint) GTK_RESPONSE_YES);
#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp593_ = dialog;
#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp594_ = no_button;
#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp593_, gtk_window_get_type (), GtkWindow), _tmp594_);
#line 896 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp595_ = dialog;
#line 896 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp596_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp595_, gtk_dialog_get_type (), GtkDialog));
#line 896 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dialog_response = _tmp596_;
#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 8687 "Dialogs.c"
			gint _tmp597_ = 0;
			GtkMessageDialog* _tmp598_ = NULL;
			ImportManifest* _tmp599_ = NULL;
			gchar* _tmp600_ = NULL;
			gchar* _tmp601_ = NULL;
			GtkMessageDialog* _tmp602_ = NULL;
			gint _tmp603_ = 0;
#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp597_ = dialog_response;
#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!(_tmp597_ == IMPORT_UI_SAVE_RESULTS_RESPONSE_ID)) {
#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 8701 "Dialogs.c"
			}
#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp598_ = dialog;
#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp599_ = manifest;
#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp600_ = import_ui_create_result_report_from_manifest (_tmp599_);
#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp601_ = _tmp600_;
#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala"
			import_ui_save_import_results (G_TYPE_CHECK_INSTANCE_CAST (_tmp598_, gtk_window_get_type (), GtkWindow), _tmp601_);
#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (_tmp601_);
#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp602_ = dialog;
#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp603_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp602_, gtk_dialog_get_type (), GtkDialog));
#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala"
			dialog_response = _tmp603_;
#line 8721 "Dialogs.c"
		}
#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp604_ = dialog;
#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp604_, gtk_widget_get_type (), GtkWidget));
#line 903 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp605_ = dialog;
#line 903 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp605_, gtk_widget_get_type (), GtkWidget));
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (no_button);
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (save_results_button);
#line 8735 "Dialogs.c"
	}
#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp606_ = dialog_response;
#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp606_ == ((gint) GTK_RESPONSE_YES);
#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (message);
#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 8747 "Dialogs.c"
}


static guint8* string_get_data (const gchar* self, int* result_length1) {
	guint8* result;
	guint8* res = NULL;
	gint res_length1 = 0;
	gint _res_size_ = 0;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	guint8* _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	guint8* _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	res = (guint8*) self;
#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	res_length1 = -1;
#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_res_size_ = res_length1;
#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	res_length1 = (gint) _tmp1_;
#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp2_ = res_length1;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp3_ = res;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp3__length1 = res_length1;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp4_ = _tmp3_;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp4__length1 = _tmp3__length1;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	if (result_length1) {
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		*result_length1 = _tmp4__length1;
#line 8791 "Dialogs.c"
	}
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	result = _tmp4_;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	return result;
#line 8797 "Dialogs.c"
}


void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gchar* results_log) {
	GtkFileChooserDialog* chooser_dialog = NULL;
	GtkWindow* _tmp0_ = NULL;
	GtkFileChooserDialog* _tmp1_ = NULL;
	GtkFileChooserDialog* _tmp2_ = NULL;
	GtkFileChooserDialog* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	GtkFileChooserDialog* _tmp5_ = NULL;
	GtkFileChooserDialog* _tmp6_ = NULL;
	gint dialog_result = 0;
	GtkFileChooserDialog* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	GFile* chosen_file = NULL;
	GtkFileChooserDialog* _tmp9_ = NULL;
	GFile* _tmp10_ = NULL;
	GtkFileChooserDialog* _tmp11_ = NULL;
	GtkFileChooserDialog* _tmp12_ = NULL;
	gboolean _tmp13_ = FALSE;
	gint _tmp14_ = 0;
	GError * _inner_error_ = NULL;
#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail ((chooser_dialog_parent == NULL) || GTK_IS_WINDOW (chooser_dialog_parent));
#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (results_log != NULL);
#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = chooser_dialog_parent;
#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (IMPORT_UI_SAVE_RESULTS_FILE_CHOOSER_TITLE, _tmp0_, GTK_FILE_CHOOSER_ACTION_SAVE, RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_SAVE_AS_LABEL, GTK_RESPONSE_ACCEPT, NULL, NULL);
#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp1_);
#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala"
	chooser_dialog = _tmp1_;
#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = chooser_dialog;
#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_do_overwrite_confirmation (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), TRUE);
#line 914 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = chooser_dialog;
#line 914 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_get_home_dir ();
#line 914 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp4_);
#line 915 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = chooser_dialog;
#line 915 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_current_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "Shotwell Import Log.txt");
#line 916 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = chooser_dialog;
#line 916 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_local_only (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), FALSE);
#line 918 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = chooser_dialog;
#line 918 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_dialog_get_type (), GtkDialog));
#line 918 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog_result = _tmp8_;
#line 919 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = chooser_dialog;
#line 919 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = gtk_file_chooser_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser));
#line 919 "/home/jens/Source/shotwell/src/Dialogs.vala"
	chosen_file = _tmp10_;
#line 920 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = chooser_dialog;
#line 920 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = chooser_dialog;
#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget));
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = dialog_result;
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp14_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 8875 "Dialogs.c"
		GFile* _tmp15_ = NULL;
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = chosen_file;
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = _tmp15_ != NULL;
#line 8881 "Dialogs.c"
	} else {
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = FALSE;
#line 8885 "Dialogs.c"
	}
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp13_) {
#line 8889 "Dialogs.c"
		{
			GFileOutputStream* outstream = NULL;
			GFile* _tmp16_ = NULL;
			GFileOutputStream* _tmp17_ = NULL;
			GFileOutputStream* _tmp18_ = NULL;
			const gchar* _tmp19_ = NULL;
			guint8* _tmp20_ = NULL;
			gint _tmp20__length1 = 0;
			guint8* _tmp21_ = NULL;
			gint _tmp21__length1 = 0;
			GFileOutputStream* _tmp22_ = NULL;
#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp16_ = chosen_file;
#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp17_ = g_file_replace (_tmp16_, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &_inner_error_);
#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala"
			outstream = _tmp17_;
#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8909 "Dialogs.c"
				goto __catch424_g_error;
			}
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = outstream;
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp19_ = results_log;
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp20_ = string_get_data (_tmp19_, &_tmp20__length1);
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp21_ = _tmp20_;
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp21__length1 = _tmp20__length1;
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
			g_output_stream_write (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, g_output_stream_get_type (), GOutputStream), _tmp21_, (gsize) _tmp21__length1, NULL, &_inner_error_);
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (outstream);
#line 8928 "Dialogs.c"
				goto __catch424_g_error;
			}
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = outstream;
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
			g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, g_output_stream_get_type (), GOutputStream), NULL, &_inner_error_);
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (outstream);
#line 8939 "Dialogs.c"
				goto __catch424_g_error;
			}
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (outstream);
#line 8944 "Dialogs.c"
		}
		goto __finally424;
		__catch424_g_error:
		{
			GError* err = NULL;
			GFile* _tmp23_ = NULL;
			gchar* _tmp24_ = NULL;
			gchar* _tmp25_ = NULL;
			GError* _tmp26_ = NULL;
			const gchar* _tmp27_ = NULL;
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			err = _inner_error_;
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_inner_error_ = NULL;
#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = chosen_file;
#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp24_ = g_file_get_path (_tmp23_);
#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp25_ = _tmp24_;
#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp26_ = err;
#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp27_ = _tmp26_->message;
#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala"
			g_critical ("Dialogs.vala:929: couldn't save import results to log file %s: %s", _tmp25_, _tmp27_);
#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (_tmp25_);
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_error_free0 (err);
#line 8975 "Dialogs.c"
		}
		__finally424:
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (chosen_file);
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (chooser_dialog);
#line 924 "/home/jens/Source/shotwell/src/Dialogs.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 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			g_clear_error (&_inner_error_);
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return;
#line 8990 "Dialogs.c"
		}
	}
#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (chosen_file);
#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (chooser_dialog);
#line 8997 "Dialogs.c"
}


static gboolean _text_entry_dialog_mediator_on_modify_validate_text_entry_dialog_on_modify_validate_type (const gchar* text, gpointer self) {
	gboolean result;
	result = text_entry_dialog_mediator_on_modify_validate ((TextEntryDialogMediator*) self, text);
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9006 "Dialogs.c"
}


TextEntryDialogMediator* text_entry_dialog_mediator_construct (GType object_type, const gchar* title, const gchar* label, const gchar* initial_text, GeeCollection* completion_list, const gchar* completion_delimiter) {
	TextEntryDialogMediator* self = NULL;
	GtkBuilder* builder = NULL;
	GtkBuilder* _tmp0_ = NULL;
	TextEntryDialog* _tmp1_ = NULL;
	TextEntryDialog* _tmp2_ = NULL;
	GtkBox* _tmp3_ = NULL;
	GObject* _tmp4_ = NULL;
	TextEntryDialog* _tmp5_ = NULL;
	TextEntryDialog* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GeeCollection* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (title != NULL, NULL);
#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (label != NULL, NULL);
#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail ((completion_list == NULL) || GEE_IS_COLLECTION (completion_list), NULL);
#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (TextEntryDialogMediator*) g_type_create_instance (object_type);
#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = app_window_create_builder ("shotwell.ui", NULL);
#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala"
	builder = _tmp0_;
#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = text_entry_dialog_new ();
#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp1_);
#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dialog);
#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->dialog = _tmp1_;
#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->dialog;
#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_dialog_get_type (), GtkDialog));
#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gtk_builder_get_object (builder, "dialog-vbox2");
#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_box_get_type (), GtkBox), gtk_widget_get_type (), GtkWidget));
#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->dialog;
#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text_entry_dialog_set_builder (_tmp5_, builder);
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = self->priv->dialog;
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = title;
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = label;
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = initial_text;
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = completion_list;
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = completion_delimiter;
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text_entry_dialog_setup (_tmp6_, _text_entry_dialog_mediator_on_modify_validate_text_entry_dialog_on_modify_validate_type, self, _tmp7_, _tmp8_, _tmp9_, _tmp10_, _tmp11_);
#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (builder);
#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 9075 "Dialogs.c"
}


static gboolean text_entry_dialog_mediator_real_on_modify_validate (TextEntryDialogMediator* self, const gchar* text) {
	gboolean result = FALSE;
#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (text != NULL, FALSE);
#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9087 "Dialogs.c"
}


gboolean text_entry_dialog_mediator_on_modify_validate (TextEntryDialogMediator* self, const gchar* text) {
#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG_MEDIATOR (self), FALSE);
#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->on_modify_validate (self, text);
#line 9096 "Dialogs.c"
}


gchar* _text_entry_dialog_mediator_execute (TextEntryDialogMediator* self) {
	gchar* result = NULL;
	TextEntryDialog* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 953 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG_MEDIATOR (self), NULL);
#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->dialog;
#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = text_entry_dialog_execute (_tmp0_);
#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp1_;
#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9114 "Dialogs.c"
}


static void value_text_entry_dialog_mediator_init (GValue* value) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	value->data[0].v_pointer = NULL;
#line 9121 "Dialogs.c"
}


static void value_text_entry_dialog_mediator_free_value (GValue* value) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (value->data[0].v_pointer) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text_entry_dialog_mediator_unref (value->data[0].v_pointer);
#line 9130 "Dialogs.c"
	}
}


static void value_text_entry_dialog_mediator_copy_value (const GValue* src_value, GValue* dest_value) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (src_value->data[0].v_pointer) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = text_entry_dialog_mediator_ref (src_value->data[0].v_pointer);
#line 9140 "Dialogs.c"
	} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = NULL;
#line 9144 "Dialogs.c"
	}
}


static gpointer value_text_entry_dialog_mediator_peek_pointer (const GValue* value) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 9152 "Dialogs.c"
}


static gchar* value_text_entry_dialog_mediator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (collect_values[0].v_pointer) {
#line 9159 "Dialogs.c"
		TextEntryDialogMediator* object;
		object = collect_values[0].v_pointer;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (object->parent_instance.g_class == NULL) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 9166 "Dialogs.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 9170 "Dialogs.c"
		}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = text_entry_dialog_mediator_ref (object);
#line 9174 "Dialogs.c"
	} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 9178 "Dialogs.c"
	}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 9182 "Dialogs.c"
}


static gchar* value_text_entry_dialog_mediator_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	TextEntryDialogMediator** object_p;
	object_p = collect_values[0].v_pointer;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!object_p) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 9193 "Dialogs.c"
	}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!value->data[0].v_pointer) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = NULL;
#line 9199 "Dialogs.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = value->data[0].v_pointer;
#line 9203 "Dialogs.c"
	} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = text_entry_dialog_mediator_ref (value->data[0].v_pointer);
#line 9207 "Dialogs.c"
	}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 9211 "Dialogs.c"
}


GParamSpec* param_spec_text_entry_dialog_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecTextEntryDialogMediator* spec;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR), NULL);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return G_PARAM_SPEC (spec);
#line 9225 "Dialogs.c"
}


gpointer value_get_text_entry_dialog_mediator (const GValue* value) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR), NULL);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 9234 "Dialogs.c"
}


void value_set_text_entry_dialog_mediator (GValue* value, gpointer v_object) {
	TextEntryDialogMediator* old;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text_entry_dialog_mediator_ref (value->data[0].v_pointer);
#line 9254 "Dialogs.c"
	} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 9258 "Dialogs.c"
	}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text_entry_dialog_mediator_unref (old);
#line 9264 "Dialogs.c"
	}
}


void value_take_text_entry_dialog_mediator (GValue* value, gpointer v_object) {
	TextEntryDialogMediator* old;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 9283 "Dialogs.c"
	} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 9287 "Dialogs.c"
	}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text_entry_dialog_mediator_unref (old);
#line 9293 "Dialogs.c"
	}
}


static void text_entry_dialog_mediator_class_init (TextEntryDialogMediatorClass * klass) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text_entry_dialog_mediator_parent_class = g_type_class_peek_parent (klass);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((TextEntryDialogMediatorClass *) klass)->finalize = text_entry_dialog_mediator_finalize;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (TextEntryDialogMediatorPrivate));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((TextEntryDialogMediatorClass *) klass)->on_modify_validate = (gboolean (*)(TextEntryDialogMediator*, const gchar*)) text_entry_dialog_mediator_real_on_modify_validate;
#line 9307 "Dialogs.c"
}


static void text_entry_dialog_mediator_instance_init (TextEntryDialogMediator * self) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE (self);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->ref_count = 1;
#line 9316 "Dialogs.c"
}


static void text_entry_dialog_mediator_finalize (TextEntryDialogMediator* obj) {
	TextEntryDialogMediator * self;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_handlers_destroy (self);
#line 938 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dialog);
#line 9328 "Dialogs.c"
}


GType text_entry_dialog_mediator_get_type (void) {
	static volatile gsize text_entry_dialog_mediator_type_id__volatile = 0;
	if (g_once_init_enter (&text_entry_dialog_mediator_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { value_text_entry_dialog_mediator_init, value_text_entry_dialog_mediator_free_value, value_text_entry_dialog_mediator_copy_value, value_text_entry_dialog_mediator_peek_pointer, "p", value_text_entry_dialog_mediator_collect_value, "p", value_text_entry_dialog_mediator_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (TextEntryDialogMediatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) text_entry_dialog_mediator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TextEntryDialogMediator), 0, (GInstanceInitFunc) text_entry_dialog_mediator_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType text_entry_dialog_mediator_type_id;
		text_entry_dialog_mediator_type_id = g_type_register_fundamental (g_type_fundamental_next (), "TextEntryDialogMediator", &g_define_type_info, &g_define_type_fundamental_info, G_TYPE_FLAG_ABSTRACT);
		g_once_init_leave (&text_entry_dialog_mediator_type_id__volatile, text_entry_dialog_mediator_type_id);
	}
	return text_entry_dialog_mediator_type_id__volatile;
}


gpointer text_entry_dialog_mediator_ref (gpointer instance) {
	TextEntryDialogMediator* self;
	self = instance;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_atomic_int_inc (&self->ref_count);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return instance;
#line 9353 "Dialogs.c"
}


void text_entry_dialog_mediator_unref (gpointer instance) {
	TextEntryDialogMediator* self;
	self = instance;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->finalize (self);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 9366 "Dialogs.c"
	}
}


static gboolean _multi_text_entry_dialog_mediator_on_modify_validate_multi_text_entry_dialog_on_modify_validate_type (const gchar* text, gpointer self) {
	gboolean result;
	result = multi_text_entry_dialog_mediator_on_modify_validate ((MultiTextEntryDialogMediator*) self, text);
#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9376 "Dialogs.c"
}


MultiTextEntryDialogMediator* multi_text_entry_dialog_mediator_construct (GType object_type, const gchar* title, const gchar* label, const gchar* initial_text) {
	MultiTextEntryDialogMediator* self = NULL;
	GtkBuilder* builder = NULL;
	GtkBuilder* _tmp0_ = NULL;
	MultiTextEntryDialog* _tmp1_ = NULL;
	MultiTextEntryDialog* _tmp2_ = NULL;
	GtkBox* _tmp3_ = NULL;
	GObject* _tmp4_ = NULL;
	MultiTextEntryDialog* _tmp5_ = NULL;
	MultiTextEntryDialog* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (title != NULL, NULL);
#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (label != NULL, NULL);
#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (MultiTextEntryDialogMediator*) g_type_create_instance (object_type);
#line 962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = app_window_create_builder ("shotwell.ui", NULL);
#line 962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	builder = _tmp0_;
#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = multi_text_entry_dialog_new ();
#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp1_);
#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dialog);
#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->dialog = _tmp1_;
#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->dialog;
#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_dialog_get_type (), GtkDialog));
#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gtk_builder_get_object (builder, "dialog-vbox4");
#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_box_get_type (), GtkBox), gtk_widget_get_type (), GtkWidget));
#line 965 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->dialog;
#line 965 "/home/jens/Source/shotwell/src/Dialogs.vala"
	multi_text_entry_dialog_set_builder (_tmp5_, builder);
#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = self->priv->dialog;
#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = title;
#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = label;
#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = initial_text;
#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala"
	multi_text_entry_dialog_setup (_tmp6_, _multi_text_entry_dialog_mediator_on_modify_validate_multi_text_entry_dialog_on_modify_validate_type, self, _tmp7_, _tmp8_, _tmp9_);
#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (builder);
#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 9437 "Dialogs.c"
}


static gboolean multi_text_entry_dialog_mediator_real_on_modify_validate (MultiTextEntryDialogMediator* self, const gchar* text) {
	gboolean result = FALSE;
#line 969 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (text != NULL, FALSE);
#line 970 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 970 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9449 "Dialogs.c"
}


gboolean multi_text_entry_dialog_mediator_on_modify_validate (MultiTextEntryDialogMediator* self, const gchar* text) {
#line 969 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR (self), FALSE);
#line 969 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->on_modify_validate (self, text);
#line 9458 "Dialogs.c"
}


gchar* _multi_text_entry_dialog_mediator_execute (MultiTextEntryDialogMediator* self) {
	gchar* result = NULL;
	MultiTextEntryDialog* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR (self), NULL);
#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->dialog;
#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = multi_text_entry_dialog_execute (_tmp0_);
#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp1_;
#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9476 "Dialogs.c"
}


static void value_multi_text_entry_dialog_mediator_init (GValue* value) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	value->data[0].v_pointer = NULL;
#line 9483 "Dialogs.c"
}


static void value_multi_text_entry_dialog_mediator_free_value (GValue* value) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (value->data[0].v_pointer) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		multi_text_entry_dialog_mediator_unref (value->data[0].v_pointer);
#line 9492 "Dialogs.c"
	}
}


static void value_multi_text_entry_dialog_mediator_copy_value (const GValue* src_value, GValue* dest_value) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (src_value->data[0].v_pointer) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = multi_text_entry_dialog_mediator_ref (src_value->data[0].v_pointer);
#line 9502 "Dialogs.c"
	} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = NULL;
#line 9506 "Dialogs.c"
	}
}


static gpointer value_multi_text_entry_dialog_mediator_peek_pointer (const GValue* value) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 9514 "Dialogs.c"
}


static gchar* value_multi_text_entry_dialog_mediator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (collect_values[0].v_pointer) {
#line 9521 "Dialogs.c"
		MultiTextEntryDialogMediator* object;
		object = collect_values[0].v_pointer;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (object->parent_instance.g_class == NULL) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 9528 "Dialogs.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 9532 "Dialogs.c"
		}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = multi_text_entry_dialog_mediator_ref (object);
#line 9536 "Dialogs.c"
	} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 9540 "Dialogs.c"
	}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 9544 "Dialogs.c"
}


static gchar* value_multi_text_entry_dialog_mediator_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	MultiTextEntryDialogMediator** object_p;
	object_p = collect_values[0].v_pointer;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!object_p) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 9555 "Dialogs.c"
	}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!value->data[0].v_pointer) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = NULL;
#line 9561 "Dialogs.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = value->data[0].v_pointer;
#line 9565 "Dialogs.c"
	} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = multi_text_entry_dialog_mediator_ref (value->data[0].v_pointer);
#line 9569 "Dialogs.c"
	}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 9573 "Dialogs.c"
}


GParamSpec* param_spec_multi_text_entry_dialog_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecMultiTextEntryDialogMediator* spec;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR), NULL);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return G_PARAM_SPEC (spec);
#line 9587 "Dialogs.c"
}


gpointer value_get_multi_text_entry_dialog_mediator (const GValue* value) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR), NULL);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 9596 "Dialogs.c"
}


void value_set_multi_text_entry_dialog_mediator (GValue* value, gpointer v_object) {
	MultiTextEntryDialogMediator* old;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		multi_text_entry_dialog_mediator_ref (value->data[0].v_pointer);
#line 9616 "Dialogs.c"
	} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 9620 "Dialogs.c"
	}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		multi_text_entry_dialog_mediator_unref (old);
#line 9626 "Dialogs.c"
	}
}


void value_take_multi_text_entry_dialog_mediator (GValue* value, gpointer v_object) {
	MultiTextEntryDialogMediator* old;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 9645 "Dialogs.c"
	} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 9649 "Dialogs.c"
	}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		multi_text_entry_dialog_mediator_unref (old);
#line 9655 "Dialogs.c"
	}
}


static void multi_text_entry_dialog_mediator_class_init (MultiTextEntryDialogMediatorClass * klass) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	multi_text_entry_dialog_mediator_parent_class = g_type_class_peek_parent (klass);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((MultiTextEntryDialogMediatorClass *) klass)->finalize = multi_text_entry_dialog_mediator_finalize;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (MultiTextEntryDialogMediatorPrivate));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((MultiTextEntryDialogMediatorClass *) klass)->on_modify_validate = (gboolean (*)(MultiTextEntryDialogMediator*, const gchar*)) multi_text_entry_dialog_mediator_real_on_modify_validate;
#line 9669 "Dialogs.c"
}


static void multi_text_entry_dialog_mediator_instance_init (MultiTextEntryDialogMediator * self) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE (self);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->ref_count = 1;
#line 9678 "Dialogs.c"
}


static void multi_text_entry_dialog_mediator_finalize (MultiTextEntryDialogMediator* obj) {
	MultiTextEntryDialogMediator * self;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediator);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_handlers_destroy (self);
#line 959 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dialog);
#line 9690 "Dialogs.c"
}


GType multi_text_entry_dialog_mediator_get_type (void) {
	static volatile gsize multi_text_entry_dialog_mediator_type_id__volatile = 0;
	if (g_once_init_enter (&multi_text_entry_dialog_mediator_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { value_multi_text_entry_dialog_mediator_init, value_multi_text_entry_dialog_mediator_free_value, value_multi_text_entry_dialog_mediator_copy_value, value_multi_text_entry_dialog_mediator_peek_pointer, "p", value_multi_text_entry_dialog_mediator_collect_value, "p", value_multi_text_entry_dialog_mediator_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (MultiTextEntryDialogMediatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) multi_text_entry_dialog_mediator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MultiTextEntryDialogMediator), 0, (GInstanceInitFunc) multi_text_entry_dialog_mediator_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType multi_text_entry_dialog_mediator_type_id;
		multi_text_entry_dialog_mediator_type_id = g_type_register_fundamental (g_type_fundamental_next (), "MultiTextEntryDialogMediator", &g_define_type_info, &g_define_type_fundamental_info, G_TYPE_FLAG_ABSTRACT);
		g_once_init_leave (&multi_text_entry_dialog_mediator_type_id__volatile, multi_text_entry_dialog_mediator_type_id);
	}
	return multi_text_entry_dialog_mediator_type_id__volatile;
}


gpointer multi_text_entry_dialog_mediator_ref (gpointer instance) {
	MultiTextEntryDialogMediator* self;
	self = instance;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_atomic_int_inc (&self->ref_count);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return instance;
#line 9715 "Dialogs.c"
}


void multi_text_entry_dialog_mediator_unref (gpointer instance) {
	MultiTextEntryDialogMediator* self;
	self = instance;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->finalize (self);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 9728 "Dialogs.c"
	}
}


gchar* build_alert_body_text (const gchar* primary_text, const gchar* secondary_text, gboolean should_escape) {
	gchar* result = NULL;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	gchar* _tmp14_ = NULL;
#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = should_escape;
#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 9746 "Dialogs.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = primary_text;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = guarded_markup_escape_text (_tmp1_);
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = _tmp2_;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = secondary_text;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = guarded_markup_escape_text (_tmp4_);
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = _tmp5_;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = g_strdup_printf ("<span weight=\"Bold\" size=\"larger\">%s</span>\n%s", _tmp3_, _tmp6_);
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = _tmp7_;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp6_);
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp3_);
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp8_;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 9779 "Dialogs.c"
	}
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = primary_text;
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = guarded_markup_escape_text (_tmp9_);
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = _tmp10_;
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = secondary_text;
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = g_strdup_printf ("<span weight=\"Bold\" size=\"larger\">%s</span>\n%s", _tmp11_, _tmp12_);
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _tmp13_;
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp11_);
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp14_;
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9799 "Dialogs.c"
}


static gboolean _entry_multi_completion_match_func_gtk_entry_completion_match_func (GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter, gpointer self) {
	gboolean result;
	result = entry_multi_completion_match_func ((EntryMultiCompletion*) self, completion, key, iter);
#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9808 "Dialogs.c"
}


EntryMultiCompletion* entry_multi_completion_construct (GType object_type, GeeCollection* completion_list, const gchar* delimiter) {
	EntryMultiCompletion * self = NULL;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	GeeCollection* _tmp7_ = NULL;
	GtkListStore* _tmp8_ = NULL;
	GtkListStore* _tmp9_ = NULL;
#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GEE_IS_COLLECTION (completion_list), NULL);
#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (EntryMultiCompletion*) g_object_new (object_type, NULL);
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = delimiter;
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_ == NULL) {
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = TRUE;
#line 9831 "Dialogs.c"
	} else {
		const gchar* _tmp2_ = NULL;
		gint _tmp3_ = 0;
		gint _tmp4_ = 0;
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = delimiter;
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = strlen (_tmp2_);
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _tmp3_;
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp4_ == 1;
#line 9844 "Dialogs.c"
	}
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_assert (_tmp0_, "delimiter == null || delimiter.length == 1");
#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = delimiter;
#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = g_strdup (_tmp5_);
#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->priv->delimiter);
#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->delimiter = _tmp6_;
#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = completion_list;
#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = entry_multi_completion_create_completion_store (_tmp7_);
#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _tmp8_;
#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_completion_set_model (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp9_);
#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_completion_set_text_column (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion), 0);
#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_completion_set_match_func (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion), _entry_multi_completion_match_func_gtk_entry_completion_match_func, g_object_ref (self), g_object_unref);
#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 9872 "Dialogs.c"
}


EntryMultiCompletion* entry_multi_completion_new (GeeCollection* completion_list, const gchar* delimiter) {
#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return entry_multi_completion_construct (TYPE_ENTRY_MULTI_COMPLETION, completion_list, delimiter);
#line 9879 "Dialogs.c"
}


static GtkListStore* entry_multi_completion_create_completion_store (GeeCollection* completion_list) {
	GtkListStore* result = NULL;
	GtkListStore* completion_store = NULL;
	GtkListStore* _tmp0_ = NULL;
	GtkTreeIter store_iter = {0};
	GeeIterator* completion_iter = NULL;
	GeeCollection* _tmp1_ = NULL;
	GeeIterator* _tmp2_ = NULL;
#line 1006 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GEE_IS_COLLECTION (completion_list), NULL);
#line 1007 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_list_store_new (1, G_TYPE_STRING, -1);
#line 1007 "/home/jens/Source/shotwell/src/Dialogs.vala"
	completion_store = _tmp0_;
#line 1009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = completion_list;
#line 1009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable));
#line 1009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	completion_iter = _tmp2_;
#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala"
	while (TRUE) {
#line 9905 "Dialogs.c"
		GeeIterator* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
		GtkListStore* _tmp5_ = NULL;
		GtkTreeIter _tmp6_ = {0};
		GtkListStore* _tmp7_ = NULL;
		GtkTreeIter _tmp8_ = {0};
		GeeIterator* _tmp9_ = NULL;
		gpointer _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = completion_iter;
#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = gee_iterator_next (_tmp3_);
#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (!_tmp4_) {
#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala"
			break;
#line 9923 "Dialogs.c"
		}
#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = completion_store;
#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_list_store_append (_tmp5_, &_tmp6_);
#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala"
		store_iter = _tmp6_;
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = completion_store;
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = store_iter;
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = completion_iter;
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = gee_iterator_get (_tmp9_);
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = (gchar*) _tmp10_;
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_list_store_set (_tmp7_, &_tmp8_, 0, _tmp11_, -1, -1);
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp11_);
#line 9945 "Dialogs.c"
	}
#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = completion_store;
#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (completion_iter);
#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 9953 "Dialogs.c"
}


static gchar* string_strip (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_ = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_strstrip (_tmp1_);
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	result = _result_;
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	return result;
#line 9976 "Dialogs.c"
}


static gboolean string_contains (const gchar* self, const gchar* needle) {
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp0_ = needle;
#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	result = _tmp1_ != NULL;
#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	return result;
#line 9996 "Dialogs.c"
}


static gint string_last_index_of_char (const gchar* self, gunichar c, gint start_index) {
	gint result = 0;
	gchar* _result_ = NULL;
	gint _tmp0_ = 0;
	gunichar _tmp1_ = 0U;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1017 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp1_ = c;
#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 10021 "Dialogs.c"
		gchar* _tmp4_ = NULL;
#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		return result;
#line 10029 "Dialogs.c"
	} else {
#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		result = -1;
#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		return result;
#line 10035 "Dialogs.c"
	}
}


static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter) {
	gboolean result = FALSE;
	GtkTreeModel* model = NULL;
	GtkEntryCompletion* _tmp0_ = NULL;
	GtkTreeModel* _tmp1_ = NULL;
	GtkTreeModel* _tmp2_ = NULL;
	gchar* possible_match = NULL;
	GtkTreeModel* _tmp3_ = NULL;
	GtkTreeIter _tmp4_ = {0};
	const gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* normed_key = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_ENTRY_MULTI_COMPLETION (self), FALSE);
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_ENTRY_COMPLETION (completion), FALSE);
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (key != NULL, FALSE);
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = completion;
#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_entry_completion_get_model (_tmp0_);
#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala"
	model = _tmp2_;
#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = model;
#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = *iter;
#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_tree_model_get (_tmp3_, &_tmp4_, 0, &possible_match, -1);
#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = possible_match;
#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = g_utf8_casefold (_tmp5_, (gssize) -1);
#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_;
#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = g_utf8_normalize (_tmp7_, (gssize) -1, G_NORMALIZE_ALL_COMPOSE);
#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (possible_match);
#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala"
	possible_match = _tmp8_;
#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp7_);
#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = key;
#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = g_utf8_normalize (_tmp9_, (gssize) -1, G_NORMALIZE_ALL_COMPOSE);
#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala"
	normed_key = _tmp10_;
#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = self->priv->delimiter;
#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp11_ == NULL) {
#line 10103 "Dialogs.c"
		const gchar* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
		gchar* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
		gboolean _tmp16_ = FALSE;
		gboolean _tmp17_ = FALSE;
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = possible_match;
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = normed_key;
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = string_strip (_tmp13_);
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = _tmp14_;
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = g_str_has_prefix (_tmp12_, _tmp15_);
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = _tmp16_;
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp15_);
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp17_;
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (normed_key);
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (possible_match);
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (model);
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 10134 "Dialogs.c"
	} else {
		const gchar* _tmp18_ = NULL;
		const gchar* _tmp19_ = NULL;
		gboolean _tmp20_ = FALSE;
		gchar* last_part = NULL;
		const gchar* _tmp31_ = NULL;
		gchar* _tmp32_ = NULL;
		gchar* _tmp33_ = NULL;
		const gchar* _tmp34_ = NULL;
		gchar* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		const gchar* _tmp37_ = NULL;
		gint _tmp38_ = 0;
		gint _tmp39_ = 0;
		const gchar* _tmp40_ = NULL;
		const gchar* _tmp41_ = NULL;
		gchar* _tmp42_ = NULL;
		gchar* _tmp43_ = NULL;
		gboolean _tmp44_ = FALSE;
		gboolean _tmp45_ = FALSE;
#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = normed_key;
#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = self->priv->delimiter;
#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = string_contains (_tmp18_, _tmp19_);
#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp20_) {
#line 10163 "Dialogs.c"
			gint offset = 0;
			const gchar* _tmp21_ = NULL;
			const gchar* _tmp22_ = NULL;
			const gchar* _tmp23_ = NULL;
			gchar _tmp24_ = '\0';
			gint _tmp25_ = 0;
			gint _tmp26_ = 0;
			gint position = 0;
			GtkWidget* _tmp27_ = NULL;
			gint _tmp28_ = 0;
			gint _tmp29_ = 0;
			gint _tmp30_ = 0;
#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp21_ = normed_key;
#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = normed_key;
#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = self->priv->delimiter;
#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp24_ = string_get (_tmp23_, (glong) 0);
#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp25_ = string_last_index_of_char (_tmp22_, (gunichar) _tmp24_, 0);
#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp26_ = g_utf8_strlen (_tmp21_, (gssize) _tmp25_);
#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala"
			offset = _tmp26_;
#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp27_ = gtk_entry_completion_get_entry (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion));
#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp28_ = gtk_editable_get_position (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_entry_get_type (), GtkEntry), GTK_TYPE_EDITABLE, GtkEditable));
#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala"
			position = _tmp28_;
#line 1037 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp29_ = position;
#line 1037 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp30_ = offset;
#line 1037 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp29_ <= _tmp30_) {
#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala"
				result = FALSE;
#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (normed_key);
#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (possible_match);
#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (model);
#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala"
				return result;
#line 10212 "Dialogs.c"
			}
		}
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp31_ = normed_key;
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp32_ = string_strip (_tmp31_);
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = _tmp32_;
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp34_ = self->priv->delimiter;
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp35_ = entry_multi_completion_get_last_part (_tmp33_, _tmp34_);
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp36_ = _tmp35_;
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp33_);
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
		last_part = _tmp36_;
#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp37_ = last_part;
#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp38_ = strlen (_tmp37_);
#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp39_ = _tmp38_;
#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp39_ == 0) {
#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala"
			result = FALSE;
#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (last_part);
#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (normed_key);
#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (possible_match);
#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (model);
#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return result;
#line 10251 "Dialogs.c"
		}
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp40_ = possible_match;
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp41_ = last_part;
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp42_ = string_strip (_tmp41_);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp43_ = _tmp42_;
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp44_ = g_str_has_prefix (_tmp40_, _tmp43_);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp45_ = _tmp44_;
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp43_);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp45_;
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (last_part);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (normed_key);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (possible_match);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (model);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 10279 "Dialogs.c"
	}
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (normed_key);
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (possible_match);
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (model);
#line 10287 "Dialogs.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 10310 "Dialogs.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 10318 "Dialogs.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 10330 "Dialogs.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 10354 "Dialogs.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 10360 "Dialogs.c"
	} else {
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 10364 "Dialogs.c"
	}
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 10368 "Dialogs.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 10380 "Dialogs.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 10390 "Dialogs.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 10396 "Dialogs.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 10410 "Dialogs.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 10420 "Dialogs.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 10426 "Dialogs.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 10435 "Dialogs.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 10455 "Dialogs.c"
}


static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion* base, GtkTreeModel* model, GtkTreeIter* iter) {
	EntryMultiCompletion * self;
	gboolean result = FALSE;
	gchar* match = NULL;
	GtkTreeModel* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	GtkEntry* entry = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkEntry* _tmp3_ = NULL;
	gchar* old_text = NULL;
	GtkEntry* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	gint _tmp9_ = 0;
	const gchar* _tmp24_ = NULL;
	const gchar* _tmp25_ = NULL;
	gchar* new_text = NULL;
	const gchar* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
	gchar* _tmp28_ = NULL;
	gchar* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	gchar* _tmp31_ = NULL;
	gchar* _tmp32_ = NULL;
	gchar* _tmp33_ = NULL;
	gchar* _tmp34_ = NULL;
	GtkEntry* _tmp35_ = NULL;
	GtkEntry* _tmp36_ = NULL;
	gint _tmp37_ = 0;
	gint _tmp38_ = 0;
#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletion);
#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_TREE_MODEL (model), FALSE);
#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = model;
#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = *iter;
#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_tree_model_get (_tmp0_, &_tmp1_, 0, &match, -1);
#line 1054 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_entry_completion_get_entry (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion));
#line 1054 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_entry_get_type (), GtkEntry));
#line 1054 "/home/jens/Source/shotwell/src/Dialogs.vala"
	entry = _tmp3_;
#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = entry;
#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = gtk_entry_get_text (_tmp4_);
#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = g_utf8_normalize (_tmp5_, (gssize) -1, G_NORMALIZE_ALL_COMPOSE);
#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old_text = _tmp6_;
#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = old_text;
#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = strlen (_tmp7_);
#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _tmp8_;
#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp9_ > 0) {
#line 10525 "Dialogs.c"
		const gchar* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
		gboolean _tmp12_ = FALSE;
#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = old_text;
#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = self->priv->delimiter;
#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = string_contains (_tmp10_, _tmp11_);
#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp12_) {
#line 10537 "Dialogs.c"
			const gchar* _tmp13_ = NULL;
			const gchar* _tmp14_ = NULL;
			const gchar* _tmp15_ = NULL;
			const gchar* _tmp16_ = NULL;
			const gchar* _tmp17_ = NULL;
			gchar _tmp18_ = '\0';
			gint _tmp19_ = 0;
			gchar* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
			gchar* _tmp22_ = NULL;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp14_ = self->priv->delimiter;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (g_strcmp0 (_tmp14_, " ") != 0) {
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = " ";
#line 10554 "Dialogs.c"
			} else {
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = "";
#line 10558 "Dialogs.c"
			}
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp15_ = old_text;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp16_ = old_text;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp17_ = self->priv->delimiter;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = string_get (_tmp17_, (glong) 0);
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp19_ = string_last_index_of_char (_tmp16_, (gunichar) _tmp18_, 0);
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp20_ = string_substring (_tmp15_, (glong) 0, (glong) (_tmp19_ + 1));
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp21_ = _tmp20_;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = g_strconcat (_tmp21_, _tmp13_, NULL);
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (old_text);
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			old_text = _tmp22_;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (_tmp21_);
#line 10582 "Dialogs.c"
		} else {
			gchar* _tmp23_ = NULL;
#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = g_strdup ("");
#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (old_text);
#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala"
			old_text = _tmp23_;
#line 10591 "Dialogs.c"
		}
	}
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = self->priv->delimiter;
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (g_strcmp0 (_tmp25_, " ") != 0) {
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = " ";
#line 10600 "Dialogs.c"
	} else {
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = "";
#line 10604 "Dialogs.c"
	}
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = old_text;
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = match;
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = g_strconcat (_tmp26_, _tmp27_, NULL);
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = _tmp28_;
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = self->priv->delimiter;
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = g_strconcat (_tmp29_, _tmp30_, NULL);
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = _tmp31_;
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp33_ = g_strconcat (_tmp32_, _tmp24_, NULL);
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp34_ = _tmp33_;
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp32_);
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp29_);
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
	new_text = _tmp34_;
#line 1065 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp35_ = entry;
#line 1065 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_text (_tmp35_, new_text);
#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp36_ = entry;
#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp37_ = strlen (new_text);
#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp38_ = _tmp37_;
#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_editable_set_position (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GTK_TYPE_EDITABLE, GtkEditable), (gint) _tmp38_);
#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (new_text);
#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (old_text);
#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (entry);
#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (match);
#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 10654 "Dialogs.c"
}


static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar* delimiter) {
	gchar* result = NULL;
	gchar** split = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar** _tmp2_ = NULL;
	gchar** _tmp3_ = NULL;
	gint split_length1 = 0;
	gint _split_size_ = 0;
	gboolean _tmp4_ = FALSE;
	gchar** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
#line 1072 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (s != NULL, NULL);
#line 1072 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (delimiter != NULL, NULL);
#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = s;
#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = delimiter;
#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_ = g_strsplit (_tmp0_, _tmp1_, 0);
#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	split = _tmp3_;
#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	split_length1 = _vala_array_length (_tmp2_);
#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_split_size_ = split_length1;
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = split;
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5__length1 = split_length1;
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_ != NULL) {
#line 10692 "Dialogs.c"
		gchar** _tmp6_ = NULL;
		gint _tmp6__length1 = 0;
		const gchar* _tmp7_ = NULL;
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = split;
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6__length1 = split_length1;
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = _tmp6_[0];
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _tmp7_ != NULL;
#line 10704 "Dialogs.c"
	} else {
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = FALSE;
#line 10708 "Dialogs.c"
	}
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp4_) {
#line 10712 "Dialogs.c"
		gchar** _tmp8_ = NULL;
		gint _tmp8__length1 = 0;
		gchar** _tmp9_ = NULL;
		gint _tmp9__length1 = 0;
		const gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = split;
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8__length1 = split_length1;
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = split;
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9__length1 = split_length1;
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp8_[_tmp9__length1 - 1];
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp11_;
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 10737 "Dialogs.c"
	} else {
		gchar* _tmp12_ = NULL;
#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = g_strdup ("");
#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp12_;
#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala"
		split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 10748 "Dialogs.c"
	}
#line 1072 "/home/jens/Source/shotwell/src/Dialogs.vala"
	split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
#line 10752 "Dialogs.c"
}


static void entry_multi_completion_class_init (EntryMultiCompletionClass * klass) {
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
	entry_multi_completion_parent_class = g_type_class_peek_parent (klass);
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (EntryMultiCompletionPrivate));
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((GtkEntryCompletionClass *) klass)->match_selected = (gboolean (*)(GtkEntryCompletion*, GtkTreeModel*, GtkTreeIter*)) entry_multi_completion_real_match_selected;
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = entry_multi_completion_finalize;
#line 10765 "Dialogs.c"
}


static void entry_multi_completion_instance_init (EntryMultiCompletion * self) {
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = ENTRY_MULTI_COMPLETION_GET_PRIVATE (self);
#line 10772 "Dialogs.c"
}


static void entry_multi_completion_finalize (GObject* obj) {
	EntryMultiCompletion * self;
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletion);
#line 995 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->priv->delimiter);
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (entry_multi_completion_parent_class)->finalize (obj);
#line 10784 "Dialogs.c"
}


GType entry_multi_completion_get_type (void) {
	static volatile gsize entry_multi_completion_type_id__volatile = 0;
	if (g_once_init_enter (&entry_multi_completion_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (EntryMultiCompletionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) entry_multi_completion_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EntryMultiCompletion), 0, (GInstanceInitFunc) entry_multi_completion_instance_init, NULL };
		GType entry_multi_completion_type_id;
		entry_multi_completion_type_id = g_type_register_static (gtk_entry_completion_get_type (), "EntryMultiCompletion", &g_define_type_info, 0);
		g_once_init_leave (&entry_multi_completion_type_id__volatile, entry_multi_completion_type_id);
	}
	return entry_multi_completion_type_id__volatile;
}


SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type) {
	SetBackgroundPhotoDialog * self = NULL;
	gboolean use_header = FALSE;
	GtkSettings* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gboolean _tmp2_ = FALSE;
	AppWindow* _tmp3_ = NULL;
	AppWindow* _tmp4_ = NULL;
#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_settings_get_default ();
#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = use_header;
#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_) {
#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 1;
#line 10818 "Dialogs.c"
	} else {
#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 0;
#line 10822 "Dialogs.c"
	}
#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (SetBackgroundPhotoDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = app_window_get_instance ();
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow));
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp4_);
#line 1090 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 10836 "Dialogs.c"
}


SetBackgroundPhotoDialog* set_background_photo_dialog_new (void) {
#line 1090 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return set_background_photo_dialog_construct (TYPE_SET_BACKGROUND_PHOTO_DIALOG);
#line 10843 "Dialogs.c"
}


static void set_background_photo_dialog_on_checkbox_clicked (SetBackgroundPhotoDialog* self) {
	gboolean _tmp0_ = FALSE;
	GtkCheckButton* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_SET_BACKGROUND_PHOTO_DIALOG (self));
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->desktop_background_checkbox;
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_) {
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = TRUE;
#line 10864 "Dialogs.c"
	} else {
		GtkCheckButton* _tmp4_ = NULL;
		gboolean _tmp5_ = FALSE;
		gboolean _tmp6_ = FALSE;
#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = self->priv->screensaver_checkbox;
#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = _tmp5_;
#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp6_;
#line 10877 "Dialogs.c"
	}
#line 1099 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp0_);
#line 10881 "Dialogs.c"
}


static void _set_background_photo_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	set_background_photo_dialog_on_checkbox_clicked ((SetBackgroundPhotoDialog*) self);
#line 10888 "Dialogs.c"
}


gboolean set_background_photo_dialog_execute (SetBackgroundPhotoDialog* self, gboolean* desktop_background, gboolean* screensaver) {
	gboolean _vala_desktop_background = FALSE;
	gboolean _vala_screensaver = FALSE;
	gboolean result = FALSE;
	gboolean _result_ = FALSE;
	gint _tmp0_ = 0;
	GtkCheckButton* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GtkCheckButton* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_SET_BACKGROUND_PHOTO_DIALOG (self), FALSE);
#line 1105 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1106 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 1106 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = _tmp0_ == ((gint) GTK_RESPONSE_OK);
#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->desktop_background_checkbox;
#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_desktop_background = _tmp3_;
#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = self->priv->screensaver_checkbox;
#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _tmp5_;
#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_screensaver = _tmp6_;
#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _result_;
#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (desktop_background) {
#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*desktop_background = _vala_desktop_background;
#line 10938 "Dialogs.c"
	}
#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (screensaver) {
#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*screensaver = _vala_screensaver;
#line 10944 "Dialogs.c"
	}
#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 10948 "Dialogs.c"
}


static void set_background_photo_dialog_class_init (SetBackgroundPhotoDialogClass * klass) {
	gint SetBackgroundPhotoDialog_private_offset;
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	set_background_photo_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (SetBackgroundPhotoDialogPrivate));
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = set_background_photo_dialog_finalize;
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	SetBackgroundPhotoDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Shotwell/ui/set_background_dialog.ui");
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "desktop_background_checkbox", FALSE, SetBackgroundPhotoDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundPhotoDialogPrivate, desktop_background_checkbox));
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "screensaver_checkbox", FALSE, SetBackgroundPhotoDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundPhotoDialogPrivate, screensaver_checkbox));
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_checkbox_clicked", G_CALLBACK(_set_background_photo_dialog_on_checkbox_clicked_gtk_toggle_button_toggled));
#line 10970 "Dialogs.c"
}


static void set_background_photo_dialog_instance_init (SetBackgroundPhotoDialog * self) {
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = SET_BACKGROUND_PHOTO_DIALOG_GET_PRIVATE (self);
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 10979 "Dialogs.c"
}


static void set_background_photo_dialog_finalize (GObject* obj) {
	SetBackgroundPhotoDialog * self;
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialog);
#line 1086 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->desktop_background_checkbox);
#line 1088 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->screensaver_checkbox);
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (set_background_photo_dialog_parent_class)->finalize (obj);
#line 10993 "Dialogs.c"
}


GType set_background_photo_dialog_get_type (void) {
	static volatile gsize set_background_photo_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&set_background_photo_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SetBackgroundPhotoDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) set_background_photo_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SetBackgroundPhotoDialog), 0, (GInstanceInitFunc) set_background_photo_dialog_instance_init, NULL };
		GType set_background_photo_dialog_type_id;
		set_background_photo_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "SetBackgroundPhotoDialog", &g_define_type_info, 0);
		g_once_init_leave (&set_background_photo_dialog_type_id__volatile, set_background_photo_dialog_type_id);
	}
	return set_background_photo_dialog_type_id__volatile;
}


SetBackgroundSlideshowDialog* set_background_slideshow_dialog_construct (GType object_type) {
	SetBackgroundSlideshowDialog * self = NULL;
	gboolean use_header = FALSE;
	GtkSettings* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gboolean _tmp2_ = FALSE;
	AppWindow* _tmp3_ = NULL;
	AppWindow* _tmp4_ = NULL;
#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_settings_get_default ();
#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = use_header;
#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_) {
#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 1;
#line 11027 "Dialogs.c"
	} else {
#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 0;
#line 11031 "Dialogs.c"
	}
#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (SetBackgroundSlideshowDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = app_window_get_instance ();
#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow));
#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp4_);
#line 1130 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 11045 "Dialogs.c"
}


SetBackgroundSlideshowDialog* set_background_slideshow_dialog_new (void) {
#line 1130 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return set_background_slideshow_dialog_construct (TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG);
#line 11052 "Dialogs.c"
}


static void set_background_slideshow_dialog_real_constructed (GObject* base) {
	SetBackgroundSlideshowDialog * self;
#line 1137 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog);
#line 1138 "/home/jens/Source/shotwell/src/Dialogs.vala"
	set_background_slideshow_dialog_on_delay_scale_value_changed (self);
#line 11062 "Dialogs.c"
}


static void set_background_slideshow_dialog_on_checkbox_clicked (SetBackgroundSlideshowDialog* self) {
	gboolean _tmp0_ = FALSE;
	GtkCheckButton* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
#line 1142 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self));
#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->desktop_background_checkbox;
#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_) {
#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = TRUE;
#line 11083 "Dialogs.c"
	} else {
		GtkCheckButton* _tmp4_ = NULL;
		gboolean _tmp5_ = FALSE;
		gboolean _tmp6_ = FALSE;
#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = self->priv->screensaver_checkbox;
#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = _tmp5_;
#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp6_;
#line 11096 "Dialogs.c"
	}
#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp0_);
#line 11100 "Dialogs.c"
}


static void _set_background_slideshow_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	set_background_slideshow_dialog_on_checkbox_clicked ((SetBackgroundSlideshowDialog*) self);
#line 11107 "Dialogs.c"
}


static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBackgroundSlideshowDialog* self) {
	gdouble value = 0.0;
	GtkScale* _tmp0_ = NULL;
	GtkAdjustment* _tmp1_ = NULL;
	GtkAdjustment* _tmp2_ = NULL;
	gdouble _tmp3_ = 0.0;
	gdouble _tmp4_ = 0.0;
	gdouble _tmp5_ = 0.0;
	gdouble _tmp6_ = 0.0;
	gdouble _tmp7_ = 0.0;
	gchar* text = NULL;
	gint _tmp8_ = 0;
	GtkLabel* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
#line 1149 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self));
#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->delay_scale;
#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_range_get_adjustment (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange));
#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_;
#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_adjustment_get_value (_tmp2_);
#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	value = _tmp4_;
#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = value;
#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = pow (_tmp5_, (gdouble) 5);
#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = pow ((gdouble) 90, (gdouble) 5);
#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->delay_value = (gint) (((((_tmp6_ / _tmp7_) * 60) * 60) * 24) + 5);
#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = self->priv->delay_value;
#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp8_ < 60) {
#line 11151 "Dialogs.c"
		gint _tmp9_ = 0;
		const gchar* _tmp10_ = NULL;
		gint _tmp11_ = 0;
		gchar* _tmp12_ = NULL;
#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = self->priv->delay_value;
#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = ngettext ("%d second", "%d seconds", (gulong) _tmp9_);
#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = self->priv->delay_value;
#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = g_strdup_printf (_tmp10_, _tmp11_);
#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text = _tmp12_;
#line 11168 "Dialogs.c"
	} else {
		gint _tmp13_ = 0;
#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = self->priv->delay_value;
#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp13_ < (60 * 60)) {
#line 11175 "Dialogs.c"
			gint minutes = 0;
			gint _tmp14_ = 0;
			gint _tmp15_ = 0;
			const gchar* _tmp16_ = NULL;
			gint _tmp17_ = 0;
			gchar* _tmp18_ = NULL;
			gint _tmp19_ = 0;
#line 1162 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp14_ = self->priv->delay_value;
#line 1162 "/home/jens/Source/shotwell/src/Dialogs.vala"
			minutes = _tmp14_ / 60;
#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp15_ = minutes;
#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp16_ = ngettext ("%d minute", "%d minutes", (gulong) _tmp15_);
#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp17_ = minutes;
#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = g_strdup_printf (_tmp16_, _tmp17_);
#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (text);
#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
			text = _tmp18_;
#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp19_ = minutes;
#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
			self->priv->delay_value = _tmp19_ * 60;
#line 11203 "Dialogs.c"
		} else {
			gint _tmp20_ = 0;
#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp20_ = self->priv->delay_value;
#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp20_ < ((60 * 60) * 24)) {
#line 11210 "Dialogs.c"
				gint hours = 0;
				gint _tmp21_ = 0;
				gint _tmp22_ = 0;
				const gchar* _tmp23_ = NULL;
				gint _tmp24_ = 0;
				gchar* _tmp25_ = NULL;
				gint _tmp26_ = 0;
#line 1166 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp21_ = self->priv->delay_value;
#line 1166 "/home/jens/Source/shotwell/src/Dialogs.vala"
				hours = _tmp21_ / (60 * 60);
#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp22_ = hours;
#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp23_ = ngettext ("%d hour", "%d hours", (gulong) _tmp22_);
#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp24_ = hours;
#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp25_ = g_strdup_printf (_tmp23_, _tmp24_);
#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (text);
#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
				text = _tmp25_;
#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp26_ = hours;
#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala"
				self->priv->delay_value = _tmp26_ * (60 * 60);
#line 11238 "Dialogs.c"
			} else {
				const gchar* _tmp27_ = NULL;
				gchar* _tmp28_ = NULL;
#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp27_ = _ ("1 day");
#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp28_ = g_strdup (_tmp27_);
#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (text);
#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
				text = _tmp28_;
#line 1171 "/home/jens/Source/shotwell/src/Dialogs.vala"
				self->priv->delay_value = (60 * 60) * 24;
#line 11252 "Dialogs.c"
			}
		}
	}
#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = self->priv->delay_value_label;
#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = text;
#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_label (_tmp29_, _tmp30_);
#line 1149 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (text);
#line 11264 "Dialogs.c"
}


static void _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	set_background_slideshow_dialog_on_delay_scale_value_changed ((SetBackgroundSlideshowDialog*) self);
#line 11271 "Dialogs.c"
}


gboolean set_background_slideshow_dialog_execute (SetBackgroundSlideshowDialog* self, gint* delay_value, gboolean* desktop_background, gboolean* screensaver) {
	gint _vala_delay_value = 0;
	gboolean _vala_desktop_background = FALSE;
	gboolean _vala_screensaver = FALSE;
	gboolean result = FALSE;
	gboolean _result_ = FALSE;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	GtkCheckButton* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	GtkCheckButton* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp7_ = FALSE;
#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self), FALSE);
#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = _tmp0_ == ((gint) GTK_RESPONSE_OK);
#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->delay_value;
#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_delay_value = _tmp1_;
#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->desktop_background_checkbox;
#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_desktop_background = _tmp4_;
#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->screensaver_checkbox;
#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_;
#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_screensaver = _tmp7_;
#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _result_;
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (delay_value) {
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*delay_value = _vala_delay_value;
#line 11327 "Dialogs.c"
	}
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (desktop_background) {
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*desktop_background = _vala_desktop_background;
#line 11333 "Dialogs.c"
	}
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (screensaver) {
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*screensaver = _vala_screensaver;
#line 11339 "Dialogs.c"
	}
#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 11343 "Dialogs.c"
}


static void set_background_slideshow_dialog_class_init (SetBackgroundSlideshowDialogClass * klass) {
	gint SetBackgroundSlideshowDialog_private_offset;
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	set_background_slideshow_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (SetBackgroundSlideshowDialogPrivate));
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((GObjectClass *) klass)->constructed = (void (*)(GObject*)) set_background_slideshow_dialog_real_constructed;
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = set_background_slideshow_dialog_finalize;
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	SetBackgroundSlideshowDialog_private_offset = g_type_class_get_instance_private_offset (klass);
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Shotwell/ui/set_background_slideshow_dialog.ui");
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "desktop_background_checkbox", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, desktop_background_checkbox));
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "screensaver_checkbox", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, screensaver_checkbox));
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "delay_scale", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, delay_scale));
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "delay_value_label", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, delay_value_label));
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_checkbox_clicked", G_CALLBACK(_set_background_slideshow_dialog_on_checkbox_clicked_gtk_toggle_button_toggled));
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_delay_scale_value_changed", G_CALLBACK(_set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed));
#line 11373 "Dialogs.c"
}


static void set_background_slideshow_dialog_instance_init (SetBackgroundSlideshowDialog * self) {
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = SET_BACKGROUND_SLIDESHOW_DIALOG_GET_PRIVATE (self);
#line 1128 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->delay_value = 0;
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 11384 "Dialogs.c"
}


static void set_background_slideshow_dialog_finalize (GObject* obj) {
	SetBackgroundSlideshowDialog * self;
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog);
#line 1120 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->desktop_background_checkbox);
#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->screensaver_checkbox);
#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->delay_scale);
#line 1126 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->delay_value_label);
#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (set_background_slideshow_dialog_parent_class)->finalize (obj);
#line 11402 "Dialogs.c"
}


GType set_background_slideshow_dialog_get_type (void) {
	static volatile gsize set_background_slideshow_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&set_background_slideshow_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SetBackgroundSlideshowDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) set_background_slideshow_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SetBackgroundSlideshowDialog), 0, (GInstanceInitFunc) set_background_slideshow_dialog_instance_init, NULL };
		GType set_background_slideshow_dialog_type_id;
		set_background_slideshow_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "SetBackgroundSlideshowDialog", &g_define_type_info, 0);
		g_once_init_leave (&set_background_slideshow_dialog_type_id__volatile, set_background_slideshow_dialog_type_id);
	}
	return set_background_slideshow_dialog_type_id__volatile;
}


TextEntryDialog* text_entry_dialog_construct (GType object_type) {
	TextEntryDialog * self = NULL;
	gboolean use_header = FALSE;
	GtkSettings* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gboolean _tmp2_ = FALSE;
#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_settings_get_default ();
#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = use_header;
#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_) {
#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 1;
#line 11434 "Dialogs.c"
	} else {
#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 0;
#line 11438 "Dialogs.c"
	}
#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (TextEntryDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
#line 1201 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 11444 "Dialogs.c"
}


TextEntryDialog* text_entry_dialog_new (void) {
#line 1201 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return text_entry_dialog_construct (TYPE_TEXT_ENTRY_DIALOG);
#line 11451 "Dialogs.c"
}


void text_entry_dialog_set_builder (TextEntryDialog* self, GtkBuilder* builder) {
	GtkBuilder* _tmp0_ = NULL;
	GtkBuilder* _tmp1_ = NULL;
#line 1207 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self));
#line 1207 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GTK_IS_BUILDER (builder));
#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = builder;
#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->builder);
#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->builder = _tmp1_;
#line 11470 "Dialogs.c"
}


static void _text_entry_dialog_on_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text_entry_dialog_on_entry_changed ((TextEntryDialog*) self);
#line 11477 "Dialogs.c"
}


void text_entry_dialog_setup (TextEntryDialog* self, TextEntryDialogOnModifyValidateType modify_validate, void* modify_validate_target, const gchar* title, const gchar* label, const gchar* initial_text, GeeCollection* completion_list, const gchar* completion_delimiter) {
	const gchar* _tmp0_ = NULL;
	AppWindow* _tmp1_ = NULL;
	AppWindow* _tmp2_ = NULL;
	GdkWindow* _tmp3_ = NULL;
	AppWindow* _tmp4_ = NULL;
	AppWindow* _tmp5_ = NULL;
	TextEntryDialogOnModifyValidateType _tmp6_ = NULL;
	void* _tmp6__target = NULL;
	GtkLabel* name_label = NULL;
	GtkBuilder* _tmp7_ = NULL;
	GObject* _tmp8_ = NULL;
	GtkLabel* _tmp9_ = NULL;
	GtkLabel* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	GtkBuilder* _tmp12_ = NULL;
	GObject* _tmp13_ = NULL;
	GtkEntry* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	GtkEntry* _tmp18_ = NULL;
	GtkEntry* _tmp19_ = NULL;
	GtkEntry* _tmp20_ = NULL;
	GtkWidget* _tmp21_ = NULL;
	GtkButton* _tmp22_ = NULL;
	GtkWidget* _tmp23_ = NULL;
	GtkButton* _tmp24_ = NULL;
	GeeCollection* _tmp25_ = NULL;
#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self));
#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (title != NULL);
#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (label != NULL);
#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail ((completion_list == NULL) || GEE_IS_COLLECTION (completion_list));
#line 1213 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = title;
#line 1213 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp0_);
#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = app_window_get_instance ();
#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_;
#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp3_);
#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp2_);
#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = app_window_get_instance ();
#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow));
#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp5_);
#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = modify_validate;
#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6__target = modify_validate_target;
#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->on_modify_validate = _tmp6_;
#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->on_modify_validate_target = _tmp6__target;
#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = self->priv->builder;
#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = gtk_builder_get_object (_tmp7_, "label");
#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp8_) : NULL);
#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
	name_label = _tmp9_;
#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = name_label;
#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = label;
#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_text (_tmp10_, _tmp11_);
#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = self->priv->builder;
#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = gtk_builder_get_object (_tmp12_, "entry");
#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp13_) : NULL);
#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->entry);
#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->entry = _tmp14_;
#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = initial_text;
#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp16_ != NULL) {
#line 11577 "Dialogs.c"
		const gchar* _tmp17_ = NULL;
#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = initial_text;
#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = _tmp17_;
#line 11583 "Dialogs.c"
	} else {
#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = "";
#line 11587 "Dialogs.c"
	}
#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = self->priv->entry;
#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_text (_tmp18_, _tmp15_);
#line 1224 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = self->priv->entry;
#line 1224 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget));
#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = self->priv->entry;
#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _text_entry_dialog_on_entry_changed_gtk_editable_changed, self, 0);
#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL);
#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_button_get_type (), GtkButton));
#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button1);
#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->button1 = _tmp22_;
#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_SAVE_LABEL, (gint) GTK_RESPONSE_OK);
#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_button_get_type (), GtkButton));
#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button2);
#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->button2 = _tmp24_;
#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = completion_list;
#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp25_ != NULL) {
#line 11623 "Dialogs.c"
		EntryMultiCompletion* completion = NULL;
		GeeCollection* _tmp26_ = NULL;
		const gchar* _tmp27_ = NULL;
		EntryMultiCompletion* _tmp28_ = NULL;
		GtkEntry* _tmp29_ = NULL;
		EntryMultiCompletion* _tmp30_ = NULL;
#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = completion_list;
#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp27_ = completion_delimiter;
#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = entry_multi_completion_new (_tmp26_, _tmp27_);
#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
		completion = _tmp28_;
#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp29_ = self->priv->entry;
#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp30_ = completion;
#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_entry_set_completion (_tmp29_, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_entry_completion_get_type (), GtkEntryCompletion));
#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (completion);
#line 11646 "Dialogs.c"
	}
#line 1237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (name_label);
#line 11652 "Dialogs.c"
}


gchar* text_entry_dialog_execute (TextEntryDialog* self) {
	gchar* result = NULL;
	gchar* text = NULL;
	TextEntryDialogOnModifyValidateType _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	GtkEntry* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
	gint _tmp4_ = 0;
	GtkEntry* _tmp8_ = NULL;
	guint _tmp9_ = 0U;
#line 1240 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG (self), NULL);
#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text = NULL;
#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->on_modify_validate;
#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0__target = self->priv->on_modify_validate_target;
#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->entry;
#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_entry_get_text (_tmp1_);
#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp0_ (_tmp2_, _tmp0__target);
#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp3_);
#line 1246 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp4_ == ((gint) GTK_RESPONSE_OK)) {
#line 11689 "Dialogs.c"
		GtkEntry* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = self->priv->entry;
#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = gtk_entry_get_text (_tmp5_);
#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = g_strdup (_tmp6_);
#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text = _tmp7_;
#line 11703 "Dialogs.c"
	}
#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = self->priv->entry;
#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_parse_name ("changed", GTK_TYPE_EDITABLE, &_tmp9_, NULL, FALSE);
#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _text_entry_dialog_on_entry_changed_gtk_editable_changed, self);
#line 1252 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = text;
#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 11717 "Dialogs.c"
}


void text_entry_dialog_on_entry_changed (TextEntryDialog* self) {
	TextEntryDialogOnModifyValidateType _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	GtkEntry* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self));
#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->on_modify_validate;
#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0__target = self->priv->on_modify_validate_target;
#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->entry;
#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_entry_get_text (_tmp1_);
#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp0_ (_tmp2_, _tmp0__target);
#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp3_);
#line 11741 "Dialogs.c"
}


static void text_entry_dialog_class_init (TextEntryDialogClass * klass) {
#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text_entry_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (TextEntryDialogPrivate));
#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = text_entry_dialog_finalize;
#line 11752 "Dialogs.c"
}


static void text_entry_dialog_instance_init (TextEntryDialog * self) {
#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = TEXT_ENTRY_DIALOG_GET_PRIVATE (self);
#line 11759 "Dialogs.c"
}


static void text_entry_dialog_finalize (GObject* obj) {
	TextEntryDialog * self;
#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEXT_ENTRY_DIALOG, TextEntryDialog);
#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->entry);
#line 1197 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->builder);
#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button1);
#line 1199 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button2);
#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (text_entry_dialog_parent_class)->finalize (obj);
#line 11777 "Dialogs.c"
}


GType text_entry_dialog_get_type (void) {
	static volatile gsize text_entry_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&text_entry_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TextEntryDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) text_entry_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TextEntryDialog), 0, (GInstanceInitFunc) text_entry_dialog_instance_init, NULL };
		GType text_entry_dialog_type_id;
		text_entry_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "TextEntryDialog", &g_define_type_info, 0);
		g_once_init_leave (&text_entry_dialog_type_id__volatile, text_entry_dialog_type_id);
	}
	return text_entry_dialog_type_id__volatile;
}


MultiTextEntryDialog* multi_text_entry_dialog_construct (GType object_type) {
	MultiTextEntryDialog * self = NULL;
	gboolean use_header = FALSE;
	GtkSettings* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gboolean _tmp2_ = FALSE;
#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_settings_get_default ();
#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = use_header;
#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_) {
#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 1;
#line 11809 "Dialogs.c"
	} else {
#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = 0;
#line 11813 "Dialogs.c"
	}
#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (MultiTextEntryDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
#line 1271 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 11819 "Dialogs.c"
}


MultiTextEntryDialog* multi_text_entry_dialog_new (void) {
#line 1271 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return multi_text_entry_dialog_construct (TYPE_MULTI_TEXT_ENTRY_DIALOG);
#line 11826 "Dialogs.c"
}


void multi_text_entry_dialog_set_builder (MultiTextEntryDialog* self, GtkBuilder* builder) {
	GtkBuilder* _tmp0_ = NULL;
	GtkBuilder* _tmp1_ = NULL;
#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self));
#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GTK_IS_BUILDER (builder));
#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = builder;
#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->builder);
#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->builder = _tmp1_;
#line 11845 "Dialogs.c"
}


void multi_text_entry_dialog_setup (MultiTextEntryDialog* self, MultiTextEntryDialogOnModifyValidateType modify_validate, void* modify_validate_target, const gchar* title, const gchar* label, const gchar* initial_text) {
	const gchar* _tmp0_ = NULL;
	AppWindow* _tmp1_ = NULL;
	AppWindow* _tmp2_ = NULL;
	GdkWindow* _tmp3_ = NULL;
	AppWindow* _tmp4_ = NULL;
	AppWindow* _tmp5_ = NULL;
	MultiTextEntryDialogOnModifyValidateType _tmp6_ = NULL;
	void* _tmp6__target = NULL;
	GtkBuilder* _tmp7_ = NULL;
	GObject* _tmp8_ = NULL;
	GtkTextView* _tmp9_ = NULL;
	GtkTextView* _tmp10_ = NULL;
	GtkTextView* _tmp11_ = NULL;
	GtkTextBuffer* _tmp12_ = NULL;
	GtkTextBuffer* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	GtkTextView* _tmp17_ = NULL;
	GtkTextBuffer* _tmp18_ = NULL;
	GtkTextBuffer* _tmp19_ = NULL;
	GtkTextView* _tmp20_ = NULL;
	GtkWidget* _tmp21_ = NULL;
	GtkButton* _tmp22_ = NULL;
	GtkWidget* _tmp23_ = NULL;
	GtkButton* _tmp24_ = NULL;
#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self));
#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (title != NULL);
#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (label != NULL);
#line 1282 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = title;
#line 1282 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp0_);
#line 1283 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_default_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), 500, 300);
#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = app_window_get_instance ();
#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_;
#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp3_);
#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp2_);
#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = app_window_get_instance ();
#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow));
#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp5_);
#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = modify_validate;
#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6__target = modify_validate_target;
#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->on_modify_validate = _tmp6_;
#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->on_modify_validate_target = _tmp6__target;
#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = self->priv->builder;
#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = gtk_builder_get_object (_tmp7_, "textview1");
#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_text_view_get_type ()) ? ((GtkTextView*) _tmp8_) : NULL);
#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->entry);
#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->entry = _tmp9_;
#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = self->priv->entry;
#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_text_view_set_wrap_mode (_tmp10_, GTK_WRAP_WORD);
#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = self->priv->entry;
#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = gtk_text_buffer_new (NULL);
#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = _tmp12_;
#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_text_view_set_buffer (_tmp11_, _tmp13_);
#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp13_);
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = initial_text;
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp15_ != NULL) {
#line 11943 "Dialogs.c"
		const gchar* _tmp16_ = NULL;
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = initial_text;
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = _tmp16_;
#line 11949 "Dialogs.c"
	} else {
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = "";
#line 11953 "Dialogs.c"
	}
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = self->priv->entry;
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = gtk_text_view_get_buffer (_tmp17_);
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = _tmp18_;
#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_set (_tmp19_, "text", _tmp14_, NULL);
#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = self->priv->entry;
#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget));
#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL);
#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_button_get_type (), GtkButton));
#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button1);
#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->button1 = _tmp22_;
#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_SAVE_LABEL, (gint) GTK_RESPONSE_OK);
#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_button_get_type (), GtkButton));
#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button2);
#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->button2 = _tmp24_;
#line 1298 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
#line 11985 "Dialogs.c"
}


gchar* multi_text_entry_dialog_execute (MultiTextEntryDialog* self) {
	gchar* result = NULL;
	gchar* text = NULL;
	gint _tmp0_ = 0;
#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self), NULL);
#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text = NULL;
#line 1304 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 12003 "Dialogs.c"
		GtkTextView* _tmp1_ = NULL;
		GtkTextBuffer* _tmp2_ = NULL;
		GtkTextBuffer* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = self->priv->entry;
#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = gtk_text_view_get_buffer (_tmp1_);
#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = _tmp2_;
#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_get (_tmp3_, "text", &_tmp4_, NULL);
#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = _tmp4_;
#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text = _tmp5_;
#line 12023 "Dialogs.c"
	}
#line 1309 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1311 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = text;
#line 1311 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12031 "Dialogs.c"
}


static void multi_text_entry_dialog_class_init (MultiTextEntryDialogClass * klass) {
#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	multi_text_entry_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (MultiTextEntryDialogPrivate));
#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = multi_text_entry_dialog_finalize;
#line 12042 "Dialogs.c"
}


static void multi_text_entry_dialog_instance_init (MultiTextEntryDialog * self) {
#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = MULTI_TEXT_ENTRY_DIALOG_GET_PRIVATE (self);
#line 12049 "Dialogs.c"
}


static void multi_text_entry_dialog_finalize (GObject* obj) {
	MultiTextEntryDialog * self;
#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MULTI_TEXT_ENTRY_DIALOG, MultiTextEntryDialog);
#line 1266 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->entry);
#line 1267 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->builder);
#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button1);
#line 1269 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->button2);
#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (multi_text_entry_dialog_parent_class)->finalize (obj);
#line 12067 "Dialogs.c"
}


GType multi_text_entry_dialog_get_type (void) {
	static volatile gsize multi_text_entry_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&multi_text_entry_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (MultiTextEntryDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) multi_text_entry_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MultiTextEntryDialog), 0, (GInstanceInitFunc) multi_text_entry_dialog_instance_init, NULL };
		GType multi_text_entry_dialog_type_id;
		multi_text_entry_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "MultiTextEntryDialog", &g_define_type_info, 0);
		g_once_init_leave (&multi_text_entry_dialog_type_id__volatile, multi_text_entry_dialog_type_id);
	}
	return multi_text_entry_dialog_type_id__volatile;
}


EventRenameDialog* event_rename_dialog_construct (GType object_type, const gchar* event_name) {
	EventRenameDialog* self = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _ ("Rename Event");
#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _ ("Name:");
#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = event_name;
#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (EventRenameDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, NULL, NULL);
#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 12098 "Dialogs.c"
}


EventRenameDialog* event_rename_dialog_new (const gchar* event_name) {
#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return event_rename_dialog_construct (TYPE_EVENT_RENAME_DIALOG, event_name);
#line 12105 "Dialogs.c"
}


static gchar* event_rename_dialog_real_execute (EventRenameDialog* self) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = event_prep_event_name (_tmp1_);
#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp1_);
#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp3_;
#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12129 "Dialogs.c"
}


gchar* event_rename_dialog_execute (EventRenameDialog* self) {
#line 1320 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_EVENT_RENAME_DIALOG (self), NULL);
#line 1320 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return EVENT_RENAME_DIALOG_GET_CLASS (self)->execute (self);
#line 12138 "Dialogs.c"
}


static void event_rename_dialog_class_init (EventRenameDialogClass * klass) {
#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala"
	event_rename_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((EventRenameDialogClass *) klass)->execute = (gchar* (*)(EventRenameDialog*)) event_rename_dialog_real_execute;
#line 12147 "Dialogs.c"
}


static void event_rename_dialog_instance_init (EventRenameDialog * self) {
}


GType event_rename_dialog_get_type (void) {
	static volatile gsize event_rename_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&event_rename_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (EventRenameDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) event_rename_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EventRenameDialog), 0, (GInstanceInitFunc) event_rename_dialog_instance_init, NULL };
		GType event_rename_dialog_type_id;
		event_rename_dialog_type_id = g_type_register_static (TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, "EventRenameDialog", &g_define_type_info, 0);
		g_once_init_leave (&event_rename_dialog_type_id__volatile, event_rename_dialog_type_id);
	}
	return event_rename_dialog_type_id__volatile;
}


EditTitleDialog* edit_title_dialog_construct (GType object_type, const gchar* photo_title) {
	EditTitleDialog* self = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = C_ ("Dialog Title", "Edit Title");
#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _ ("Title:");
#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = photo_title;
#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (EditTitleDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, NULL, NULL);
#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 12182 "Dialogs.c"
}


EditTitleDialog* edit_title_dialog_new (const gchar* photo_title) {
#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return edit_title_dialog_construct (TYPE_EDIT_TITLE_DIALOG, photo_title);
#line 12189 "Dialogs.c"
}


static gchar* edit_title_dialog_real_execute (EditTitleDialog* self) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = media_source_prep_title (_tmp1_);
#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp1_);
#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp3_;
#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12213 "Dialogs.c"
}


gchar* edit_title_dialog_execute (EditTitleDialog* self) {
#line 1332 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_EDIT_TITLE_DIALOG (self), NULL);
#line 1332 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return EDIT_TITLE_DIALOG_GET_CLASS (self)->execute (self);
#line 12222 "Dialogs.c"
}


static gboolean edit_title_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text) {
	EditTitleDialog * self;
	gboolean result = FALSE;
#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EDIT_TITLE_DIALOG, EditTitleDialog);
#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (text != NULL, FALSE);
#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12237 "Dialogs.c"
}


static void edit_title_dialog_class_init (EditTitleDialogClass * klass) {
#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
	edit_title_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((EditTitleDialogClass *) klass)->execute = (gchar* (*)(EditTitleDialog*)) edit_title_dialog_real_execute;
#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((TextEntryDialogMediatorClass *) klass)->on_modify_validate = (gboolean (*)(TextEntryDialogMediator*, const gchar*)) edit_title_dialog_real_on_modify_validate;
#line 12248 "Dialogs.c"
}


static void edit_title_dialog_instance_init (EditTitleDialog * self) {
}


GType edit_title_dialog_get_type (void) {
	static volatile gsize edit_title_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&edit_title_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (EditTitleDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) edit_title_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EditTitleDialog), 0, (GInstanceInitFunc) edit_title_dialog_instance_init, NULL };
		GType edit_title_dialog_type_id;
		edit_title_dialog_type_id = g_type_register_static (TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, "EditTitleDialog", &g_define_type_info, 0);
		g_once_init_leave (&edit_title_dialog_type_id__volatile, edit_title_dialog_type_id);
	}
	return edit_title_dialog_type_id__volatile;
}


EditCommentDialog* edit_comment_dialog_construct (GType object_type, const gchar* comment, gboolean is_event) {
	EditCommentDialog* self = NULL;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gchar* title_tmp = NULL;
	gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = is_event;
#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_) {
#line 12280 "Dialogs.c"
		const gchar* _tmp2_ = NULL;
#line 1345 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = _ ("Edit Event Comment");
#line 1345 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp2_;
#line 12286 "Dialogs.c"
	} else {
		const gchar* _tmp3_ = NULL;
#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = _ ("Edit Photo/Video Comment");
#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp3_;
#line 12293 "Dialogs.c"
	}
#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_strdup (_tmp0_);
#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	title_tmp = _tmp4_;
#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _ ("Comment:");
#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = comment;
#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (EditCommentDialog*) multi_text_entry_dialog_mediator_construct (object_type, title_tmp, _tmp5_, _tmp6_);
#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (title_tmp);
#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 12309 "Dialogs.c"
}


EditCommentDialog* edit_comment_dialog_new (const gchar* comment, gboolean is_event) {
#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return edit_comment_dialog_construct (TYPE_EDIT_COMMENT_DIALOG, comment, is_event);
#line 12316 "Dialogs.c"
}


static gchar* edit_comment_dialog_real_execute (EditCommentDialog* self) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _multi_text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediator));
#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = media_source_prep_comment (_tmp1_);
#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp1_);
#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp3_;
#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12340 "Dialogs.c"
}


gchar* edit_comment_dialog_execute (EditCommentDialog* self) {
#line 1350 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_EDIT_COMMENT_DIALOG (self), NULL);
#line 1350 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return EDIT_COMMENT_DIALOG_GET_CLASS (self)->execute (self);
#line 12349 "Dialogs.c"
}


static gboolean edit_comment_dialog_real_on_modify_validate (MultiTextEntryDialogMediator* base, const gchar* text) {
	EditCommentDialog * self;
	gboolean result = FALSE;
#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EDIT_COMMENT_DIALOG, EditCommentDialog);
#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (text != NULL, FALSE);
#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12364 "Dialogs.c"
}


static void edit_comment_dialog_class_init (EditCommentDialogClass * klass) {
#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala"
	edit_comment_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((EditCommentDialogClass *) klass)->execute = (gchar* (*)(EditCommentDialog*)) edit_comment_dialog_real_execute;
#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((MultiTextEntryDialogMediatorClass *) klass)->on_modify_validate = (gboolean (*)(MultiTextEntryDialogMediator*, const gchar*)) edit_comment_dialog_real_on_modify_validate;
#line 12375 "Dialogs.c"
}


static void edit_comment_dialog_instance_init (EditCommentDialog * self) {
}


GType edit_comment_dialog_get_type (void) {
	static volatile gsize edit_comment_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&edit_comment_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (EditCommentDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) edit_comment_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EditCommentDialog), 0, (GInstanceInitFunc) edit_comment_dialog_instance_init, NULL };
		GType edit_comment_dialog_type_id;
		edit_comment_dialog_type_id = g_type_register_static (TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, "EditCommentDialog", &g_define_type_info, 0);
		g_once_init_leave (&edit_comment_dialog_type_id__volatile, edit_comment_dialog_type_id);
	}
	return edit_comment_dialog_type_id__volatile;
}


GtkResponseType remove_from_library_dialog (GtkWindow* owner, const gchar* title, const gchar* user_message, gint count) {
	GtkResponseType result = 0;
	gchar* trash_action = NULL;
	gint _tmp0_ = 0;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	GtkMessageDialog* dialog = NULL;
	GtkWindow* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	GtkMessageDialog* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	GtkResponseType _result_ = 0;
	gint _tmp11_ = 0;
#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_WINDOW (owner), 0);
#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (title != NULL, 0);
#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (user_message != NULL, 0);
#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = count;
#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = ngettext ("Remove and _Trash File", "Remove and _Trash Files", (gulong) _tmp0_);
#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	trash_action = _tmp2_;
#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = owner;
#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = user_message;
#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp3_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CANCEL, "%s", _tmp4_);
#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp5_);
#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = _tmp5_;
#line 1367 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _ ("_Remove From Library");
#line 1367 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp6_, (gint) GTK_RESPONSE_NO);
#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), trash_action, (gint) GTK_RESPONSE_YES);
#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = title;
#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = user_message;
#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = build_alert_body_text (_tmp7_, _tmp8_, TRUE);
#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_message_dialog_set_markup (dialog, _tmp10_);
#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp10_);
#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = (GtkResponseType) _tmp11_;
#line 1377 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _result_;
#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (trash_action);
#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12468 "Dialogs.c"
}


GtkResponseType remove_from_filesystem_dialog (GtkWindow* owner, const gchar* title, const gchar* user_message) {
	GtkResponseType result = 0;
	GtkMessageDialog* dialog = NULL;
	GtkWindow* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkMessageDialog* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	GtkResponseType _result_ = 0;
	gint _tmp9_ = 0;
#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_WINDOW (owner), 0);
#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (title != NULL, 0);
#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (user_message != NULL, 0);
#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = owner;
#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = user_message;
#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp1_);
#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp2_);
#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = _tmp2_;
#line 1387 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _ ("_Keep");
#line 1387 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp3_, (gint) GTK_RESPONSE_NO);
#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _ ("_Delete");
#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp4_, (gint) GTK_RESPONSE_YES);
#line 1389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_NO);
#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = title;
#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = user_message;
#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE);
#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = _tmp7_;
#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_message_dialog_set_markup (dialog, _tmp8_);
#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp8_);
#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = (GtkResponseType) _tmp9_;
#line 1395 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _result_;
#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12536 "Dialogs.c"
}


gboolean revert_editable_dialog (GtkWindow* owner, GeeCollection* photos) {
	gboolean result = FALSE;
	gint count = 0;
	gint _tmp9_ = 0;
	const gchar* _tmp10_ = NULL;
	gint _tmp11_ = 0;
	gchar* headline = NULL;
	gchar* _tmp14_ = NULL;
	gchar* msg = NULL;
	gint _tmp15_ = 0;
	const gchar* _tmp16_ = NULL;
	gint _tmp17_ = 0;
	gchar* _tmp18_ = NULL;
	const gchar* _tmp19_ = NULL;
	gint _tmp20_ = 0;
	gchar* action = NULL;
	gchar* _tmp23_ = NULL;
	GtkMessageDialog* dialog = NULL;
	GtkWindow* _tmp24_ = NULL;
	const gchar* _tmp25_ = NULL;
	GtkMessageDialog* _tmp26_ = NULL;
	GtkMessageDialog* _tmp27_ = NULL;
	const gchar* _tmp28_ = NULL;
	GtkMessageDialog* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	GtkMessageDialog* _tmp31_ = NULL;
	const gchar* _tmp32_ = NULL;
	const gchar* _tmp33_ = NULL;
	gchar* _tmp34_ = NULL;
	gchar* _tmp35_ = NULL;
	GtkResponseType _result_ = 0;
	GtkMessageDialog* _tmp36_ = NULL;
	gint _tmp37_ = 0;
	GtkMessageDialog* _tmp38_ = NULL;
	GtkResponseType _tmp39_ = 0;
#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_WINDOW (owner), FALSE);
#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GEE_IS_COLLECTION (photos), FALSE);
#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
	count = 0;
#line 12581 "Dialogs.c"
	{
		GeeIterator* _photo_it = NULL;
		GeeCollection* _tmp0_ = NULL;
		GeeIterator* _tmp1_ = NULL;
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = photos;
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable));
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_photo_it = _tmp1_;
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 12594 "Dialogs.c"
			GeeIterator* _tmp2_ = NULL;
			gboolean _tmp3_ = FALSE;
			Photo* photo = NULL;
			GeeIterator* _tmp4_ = NULL;
			gpointer _tmp5_ = NULL;
			Photo* _tmp6_ = NULL;
			gboolean _tmp7_ = FALSE;
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp2_ = _photo_it;
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp3_ = gee_iterator_next (_tmp2_);
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!_tmp3_) {
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 12610 "Dialogs.c"
			}
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp4_ = _photo_it;
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp5_ = gee_iterator_get (_tmp4_);
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
			photo = (Photo*) _tmp5_;
#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp6_ = photo;
#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = photo_has_editable (_tmp6_);
#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp7_) {
#line 12624 "Dialogs.c"
				gint _tmp8_ = 0;
#line 1404 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp8_ = count;
#line 1404 "/home/jens/Source/shotwell/src/Dialogs.vala"
				count = _tmp8_ + 1;
#line 12630 "Dialogs.c"
			}
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (photo);
#line 12634 "Dialogs.c"
		}
#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_photo_it);
#line 12638 "Dialogs.c"
	}
#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = count;
#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp9_ == 0) {
#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = FALSE;
#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 12648 "Dialogs.c"
	}
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = count;
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp11_ == 1) {
#line 12654 "Dialogs.c"
		const gchar* _tmp12_ = NULL;
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = _ ("Revert External Edit?");
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp12_;
#line 12660 "Dialogs.c"
	} else {
		const gchar* _tmp13_ = NULL;
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = _ ("Revert External Edits?");
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp13_;
#line 12667 "Dialogs.c"
	}
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = g_strdup (_tmp10_);
#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
	headline = _tmp14_;
#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = count;
#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = ngettext ("This will destroy all changes made to the external file. Continue?", "This will destroy all changes made to %d external files. Continue?", (gulong) _tmp15_);
#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = count;
#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = g_strdup_printf (_tmp16_, _tmp17_);
#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	msg = _tmp18_;
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = count;
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp20_ == 1) {
#line 12687 "Dialogs.c"
		const gchar* _tmp21_ = NULL;
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = _ ("Re_vert External Edit");
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = _tmp21_;
#line 12693 "Dialogs.c"
	} else {
		const gchar* _tmp22_ = NULL;
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = _ ("Re_vert External Edits");
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = _tmp22_;
#line 12700 "Dialogs.c"
	}
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = g_strdup (_tmp19_);
#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
	action = _tmp23_;
#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = owner;
#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = msg;
#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp24_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp25_);
#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp26_);
#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = _tmp26_;
#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = dialog;
#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = _ ("_Cancel");
#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_dialog_get_type (), GtkDialog), _tmp28_, (gint) GTK_RESPONSE_CANCEL);
#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = dialog;
#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = action;
#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_dialog_get_type (), GtkDialog), _tmp30_, (gint) GTK_RESPONSE_YES);
#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = dialog;
#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = headline;
#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp33_ = msg;
#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp34_ = build_alert_body_text (_tmp32_, _tmp33_, TRUE);
#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp35_ = _tmp34_;
#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_message_dialog_set_markup (_tmp31_, _tmp35_);
#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp35_);
#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp36_ = dialog;
#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp37_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_dialog_get_type (), GtkDialog));
#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = (GtkResponseType) _tmp37_;
#line 1427 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp38_ = dialog;
#line 1427 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget));
#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp39_ = _result_;
#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp39_ == GTK_RESPONSE_YES;
#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (action);
#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (msg);
#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (headline);
#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12766 "Dialogs.c"
}


gboolean remove_offline_dialog (GtkWindow* owner, gint count) {
	gboolean result = FALSE;
	gint _tmp0_ = 0;
	gchar* msg = NULL;
	gint _tmp1_ = 0;
	const gchar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gchar* _tmp4_ = NULL;
	GtkMessageDialog* dialog = NULL;
	GtkWindow* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	GtkMessageDialog* _tmp7_ = NULL;
	GtkMessageDialog* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	GtkMessageDialog* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
	gint _tmp13_ = 0;
	GtkMessageDialog* _tmp16_ = NULL;
	GtkResponseType _result_ = 0;
	GtkMessageDialog* _tmp17_ = NULL;
	gint _tmp18_ = 0;
	GtkMessageDialog* _tmp19_ = NULL;
	GtkResponseType _tmp20_ = 0;
#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_WINDOW (owner), FALSE);
#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = count;
#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == 0) {
#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = FALSE;
#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 12804 "Dialogs.c"
	}
#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = count;
#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = ngettext ("This will remove the photo from the library. Continue?", "This will remove %d photos from the library. Continue?", (gulong) _tmp1_);
#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = count;
#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_strdup_printf (_tmp2_, _tmp3_);
#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
	msg = _tmp4_;
#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = owner;
#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = msg;
#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp5_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp6_);
#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp7_);
#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = _tmp7_;
#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = dialog;
#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _ ("_Cancel");
#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_dialog_get_type (), GtkDialog), _tmp9_, (gint) GTK_RESPONSE_CANCEL);
#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = dialog;
#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = _ ("_Remove");
#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_dialog_get_type (), GtkDialog), _tmp11_, (gint) GTK_RESPONSE_OK);
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = count;
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp13_ == 1) {
#line 12842 "Dialogs.c"
		const gchar* _tmp14_ = NULL;
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = _ ("Remove Photo From Library");
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = _tmp14_;
#line 12848 "Dialogs.c"
	} else {
		const gchar* _tmp15_ = NULL;
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = _ ("Remove Photos From Library");
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = _tmp15_;
#line 12855 "Dialogs.c"
	}
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = dialog;
#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_window_get_type (), GtkWindow), _tmp12_);
#line 1447 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = dialog;
#line 1447 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_dialog_get_type (), GtkDialog));
#line 1447 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = (GtkResponseType) _tmp18_;
#line 1449 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = dialog;
#line 1449 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget));
#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = _result_;
#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp20_ == GTK_RESPONSE_OK;
#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (msg);
#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12881 "Dialogs.c"
}


static void _progress_dialog_on_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala"
	progress_dialog_on_cancel ((ProgressDialog*) self);
#line 12888 "Dialogs.c"
}


static gboolean _progress_dialog_on_window_closed_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = progress_dialog_on_window_closed ((ProgressDialog*) self);
#line 1485 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 12897 "Dialogs.c"
}


ProgressDialog* progress_dialog_construct (GType object_type, GtkWindow* owner, const gchar* text, GCancellable* cancellable) {
	ProgressDialog * self = NULL;
	GCancellable* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	GtkWindow* _tmp3_ = NULL;
	GtkProgressBar* _tmp5_ = NULL;
	GtkProgressBar* _tmp6_ = NULL;
	GtkBox* vbox_bar = NULL;
	GtkBox* _tmp7_ = NULL;
	GtkBox* _tmp8_ = NULL;
	GtkProgressBar* _tmp9_ = NULL;
	GCancellable* _tmp10_ = NULL;
	GtkBox* hbox = NULL;
	GtkBox* _tmp13_ = NULL;
	GtkBox* _tmp14_ = NULL;
	GtkBox* _tmp15_ = NULL;
	GtkButton* _tmp16_ = NULL;
	GtkLabel* primary_text_label = NULL;
	GtkLabel* _tmp19_ = NULL;
	const gchar* _tmp20_ = NULL;
	gchar* _tmp21_ = NULL;
	gchar* _tmp22_ = NULL;
	GtkBox* vbox = NULL;
	GtkBox* _tmp23_ = NULL;
	GtkBox* _tmp24_ = NULL;
	gulong _tmp25_ = 0UL;
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail ((owner == NULL) || GTK_IS_WINDOW (owner), NULL);
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (text != NULL, NULL);
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail ((cancellable == NULL) || G_IS_CANCELLABLE (cancellable), NULL);
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (ProgressDialog*) g_object_new (object_type, NULL);
#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = cancellable;
#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->cancellable);
#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->cancellable = _tmp1_;
#line 1469 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = text;
#line 1469 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp2_);
#line 1470 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = owner;
#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_ != NULL) {
#line 12954 "Dialogs.c"
		GtkWindow* _tmp4_ = NULL;
#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = owner;
#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_);
#line 12960 "Dialogs.c"
	}
#line 1473 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 1474 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->progress_bar;
#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), 300, -1);
#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = self->priv->progress_bar;
#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_progress_bar_set_show_text (_tmp6_, TRUE);
#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp7_);
#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
	vbox_bar = _tmp7_;
#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = vbox_bar;
#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = self->priv->progress_bar;
#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = cancellable;
#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp10_ != NULL) {
#line 12990 "Dialogs.c"
		GtkButton* _tmp11_ = NULL;
		GtkButton* _tmp12_ = NULL;
#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL);
#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp11_);
#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (self->priv->cancel_button);
#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->cancel_button = _tmp11_;
#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = self->priv->cancel_button;
#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_signal_connect_object (_tmp12_, "clicked", (GCallback) _progress_dialog_on_cancel_gtk_button_clicked, self, 0);
#line 1485 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _progress_dialog_on_window_closed_gtk_widget_delete_event, self, 0);
#line 13007 "Dialogs.c"
	}
#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp13_);
#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala"
	hbox = _tmp13_;
#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = hbox;
#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = vbox_bar;
#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = self->priv->cancel_button;
#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp16_ != NULL) {
#line 13025 "Dialogs.c"
		GtkBox* _tmp17_ = NULL;
		GtkButton* _tmp18_ = NULL;
#line 1491 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = hbox;
#line 1491 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = self->priv->cancel_button;
#line 1491 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_box_pack_end (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 13034 "Dialogs.c"
	}
#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = (GtkLabel*) gtk_label_new ("");
#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp19_);
#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
	primary_text_label = _tmp19_;
#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = text;
#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = g_strdup_printf ("<span weight=\"bold\">%s</span>", _tmp20_);
#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = _tmp21_;
#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_markup (primary_text_label, _tmp22_);
#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp22_);
#line 1495 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_xalign (primary_text_label, 0.0f);
#line 1496 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_yalign (primary_text_label, 0.5f);
#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp23_);
#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
	vbox = _tmp23_;
#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (vbox, G_TYPE_CHECK_INSTANCE_CAST (primary_text_label, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = hbox;
#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (vbox, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 1502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), TRUE);
#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), TRUE);
#line 1505 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
#line 1507 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
#line 1508 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget));
#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = now_ms ();
#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->time_started = _tmp25_;
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (vbox);
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (primary_text_label);
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (hbox);
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (vbox_bar);
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 13100 "Dialogs.c"
}


ProgressDialog* progress_dialog_new (GtkWindow* owner, const gchar* text, GCancellable* cancellable) {
#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return progress_dialog_construct (TYPE_PROGRESS_DIALOG, owner, text, cancellable);
#line 13107 "Dialogs.c"
}


static void progress_dialog_real_realize (GtkWidget* base) {
	ProgressDialog * self;
	GCancellable* _tmp0_ = NULL;
#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PROGRESS_DIALOG, ProgressDialog);
#line 1516 "/home/jens/Source/shotwell/src/Dialogs.vala"
	GTK_WIDGET_CLASS (progress_dialog_parent_class)->realize (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget));
#line 1519 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->cancellable;
#line 1519 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == NULL) {
#line 13122 "Dialogs.c"
		GdkWindow* _tmp1_ = NULL;
#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gdk_window_set_functions (_tmp1_, GDK_FUNC_MOVE);
#line 13128 "Dialogs.c"
	}
}


void progress_dialog_update_display_every (ProgressDialog* self, gint update_every) {
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
#line 1523 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1524 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = update_every;
#line 1524 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_assert (_tmp0_ >= 1, "update_every >= 1");
#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = update_every;
#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->update_every = _tmp1_;
#line 13146 "Dialogs.c"
}


void progress_dialog_set_minimum_on_screen_time_msec (ProgressDialog* self, gint minimum_on_screen_time_msec) {
	gint _tmp0_ = 0;
#line 1529 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = minimum_on_screen_time_msec;
#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->minimum_on_screen_time_msec = _tmp0_;
#line 13158 "Dialogs.c"
}


void progress_dialog_set_fraction (ProgressDialog* self, gint current, gint total) {
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
#line 1533 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = current;
#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = total;
#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
	progress_dialog_set_percentage (self, ((gdouble) _tmp0_) / ((gdouble) _tmp1_));
#line 13173 "Dialogs.c"
}


void progress_dialog_set_percentage (ProgressDialog* self, gdouble pct) {
	gdouble _tmp0_ = 0.0;
	gdouble _tmp1_ = 0.0;
	gdouble _tmp2_ = 0.0;
	GtkProgressBar* _tmp3_ = NULL;
	gdouble _tmp4_ = 0.0;
	GtkProgressBar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	gdouble _tmp7_ = 0.0;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
#line 1537 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = pct;
#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = CLAMP (_tmp0_, 0.0, 1.0);
#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala"
	pct = _tmp1_;
#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = pct;
#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala"
	progress_dialog_maybe_show_all (self, _tmp2_);
#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = self->priv->progress_bar;
#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = pct;
#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_progress_bar_set_fraction (_tmp3_, _tmp4_);
#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->progress_bar;
#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _ ("%d%%");
#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = pct;
#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = g_strdup_printf (_tmp6_, (gint) (_tmp7_ * 100.0));
#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _tmp8_;
#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_progress_bar_set_text (_tmp5_, _tmp9_);
#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp9_);
#line 13220 "Dialogs.c"
}


void progress_dialog_set_status (ProgressDialog* self, const gchar* text) {
	GtkProgressBar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 1551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (text != NULL);
#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->progress_bar;
#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = text;
#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_progress_bar_set_text (_tmp0_, _tmp1_);
#line 1558 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 13239 "Dialogs.c"
}


gboolean progress_dialog_monitor (ProgressDialog* self, guint64 count, guint64 total, gboolean do_event_loop) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	guint64 _tmp1_ = 0ULL;
	gboolean _tmp8_ = FALSE;
	GCancellable* _tmp9_ = NULL;
	gboolean keep_going = FALSE;
	gboolean _tmp12_ = FALSE;
#line 1562 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PROGRESS_DIALOG (self), FALSE);
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->last_count;
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_ == G_MAXUINT64) {
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = TRUE;
#line 13259 "Dialogs.c"
	} else {
		guint64 _tmp2_ = 0ULL;
		guint64 _tmp3_ = 0ULL;
		gint _tmp4_ = 0;
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = count;
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = self->priv->last_count;
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = self->priv->update_every;
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = (_tmp2_ - _tmp3_) >= ((guint64) _tmp4_);
#line 13272 "Dialogs.c"
	}
#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 13276 "Dialogs.c"
		guint64 _tmp5_ = 0ULL;
		guint64 _tmp6_ = 0ULL;
		guint64 _tmp7_ = 0ULL;
#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = count;
#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = total;
#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala"
		progress_dialog_set_percentage (self, ((gdouble) _tmp5_) / ((gdouble) _tmp6_));
#line 1565 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = count;
#line 1565 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->last_count = _tmp7_;
#line 13290 "Dialogs.c"
	}
#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = self->priv->cancellable;
#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp9_ != NULL) {
#line 13296 "Dialogs.c"
		GCancellable* _tmp10_ = NULL;
		gboolean _tmp11_ = FALSE;
#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = self->priv->cancellable;
#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = g_cancellable_is_cancelled (_tmp10_);
#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = !_tmp11_;
#line 13305 "Dialogs.c"
	} else {
#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = TRUE;
#line 13309 "Dialogs.c"
	}
#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
	keep_going = _tmp8_;
#line 1576 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = do_event_loop;
#line 1576 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp12_) {
#line 1577 "/home/jens/Source/shotwell/src/Dialogs.vala"
		spin_event_loop ();
#line 13319 "Dialogs.c"
	}
#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = keep_going;
#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 13325 "Dialogs.c"
}


void progress_dialog_close (ProgressDialog* self) {
#line 1582 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1587 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1588 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 13336 "Dialogs.c"
}


static gboolean progress_dialog_on_window_closed (ProgressDialog* self) {
	gboolean result = FALSE;
#line 1591 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PROGRESS_DIALOG (self), FALSE);
#line 1592 "/home/jens/Source/shotwell/src/Dialogs.vala"
	progress_dialog_on_cancel (self);
#line 1593 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = FALSE;
#line 1593 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 13350 "Dialogs.c"
}


static void progress_dialog_on_cancel (ProgressDialog* self) {
	GCancellable* _tmp0_ = NULL;
	GtkButton* _tmp2_ = NULL;
#line 1597 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->cancellable;
#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ != NULL) {
#line 13363 "Dialogs.c"
		GCancellable* _tmp1_ = NULL;
#line 1599 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = self->priv->cancellable;
#line 1599 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_cancellable_cancel (_tmp1_);
#line 13369 "Dialogs.c"
	}
#line 1601 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->cancel_button;
#line 1601 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 13375 "Dialogs.c"
}


static void progress_dialog_maybe_show_all (ProgressDialog* self, gdouble pct) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 1604 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PROGRESS_DIALOG (self));
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_;
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp2_) {
#line 13391 "Dialogs.c"
		gulong _tmp3_ = 0UL;
		gulong _tmp4_ = 0UL;
		gint _tmp5_ = 0;
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = now_ms ();
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = self->priv->time_started;
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = self->priv->minimum_on_screen_time_msec;
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = (_tmp3_ - _tmp4_) > ((gulong) _tmp5_);
#line 13403 "Dialogs.c"
	} else {
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = FALSE;
#line 13407 "Dialogs.c"
	}
#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 13411 "Dialogs.c"
		gdouble pps = 0.0;
		gdouble _tmp6_ = 0.0;
		gint _tmp7_ = 0;
		gdouble ttc = 0.0;
		gdouble _tmp8_ = 0.0;
		gdouble _tmp9_ = 0.0;
		gint _tmp10_ = 0;
#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = pct;
#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = self->priv->minimum_on_screen_time_msec;
#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
		pps = (_tmp6_ * 100.0) / _tmp7_;
#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = pps;
#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala"
		ttc = 100.0 / _tmp8_;
#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = ttc;
#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = self->priv->minimum_on_screen_time_msec;
#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp9_ > ((gdouble) _tmp10_)) {
#line 1619 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1620 "/home/jens/Source/shotwell/src/Dialogs.vala"
			spin_event_loop ();
#line 13439 "Dialogs.c"
		}
	}
}


static void progress_dialog_class_init (ProgressDialogClass * klass) {
#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	progress_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (ProgressDialogPrivate));
#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((GtkWidgetClass *) klass)->realize = (void (*)(GtkWidget*)) progress_dialog_real_realize;
#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = progress_dialog_finalize;
#line 13454 "Dialogs.c"
}


static void progress_dialog_instance_init (ProgressDialog * self) {
	GtkProgressBar* _tmp0_ = NULL;
#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = PROGRESS_DIALOG_GET_PRIVATE (self);
#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = (GtkProgressBar*) gtk_progress_bar_new ();
#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp0_);
#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->progress_bar = _tmp0_;
#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->cancel_button = NULL;
#line 1458 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->last_count = G_MAXUINT64;
#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->update_every = 1;
#line 1460 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->minimum_on_screen_time_msec = 500;
#line 13476 "Dialogs.c"
}


static void progress_dialog_finalize (GObject* obj) {
	ProgressDialog * self;
#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROGRESS_DIALOG, ProgressDialog);
#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->progress_bar);
#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->cancel_button);
#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->cancellable);
#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (progress_dialog_parent_class)->finalize (obj);
#line 13492 "Dialogs.c"
}


GType progress_dialog_get_type (void) {
	static volatile gsize progress_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&progress_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (ProgressDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) progress_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProgressDialog), 0, (GInstanceInitFunc) progress_dialog_instance_init, NULL };
		GType progress_dialog_type_id;
		progress_dialog_type_id = g_type_register_static (gtk_window_get_type (), "ProgressDialog", &g_define_type_info, 0);
		g_once_init_leave (&progress_dialog_type_id__volatile, progress_dialog_type_id);
	}
	return progress_dialog_type_id__volatile;
}


static GType adjust_date_time_dialog_time_system_get_type (void) {
	static volatile gsize adjust_date_time_dialog_time_system_type_id__volatile = 0;
	if (g_once_init_enter (&adjust_date_time_dialog_time_system_type_id__volatile)) {
		static const GEnumValue values[] = {{ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM, "ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM", "am"}, {ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM, "ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM", "pm"}, {ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR, "ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR", "24hr"}, {0, NULL, NULL}};
		GType adjust_date_time_dialog_time_system_type_id;
		adjust_date_time_dialog_time_system_type_id = g_enum_register_static ("AdjustDateTimeDialogTimeSystem", values);
		g_once_init_leave (&adjust_date_time_dialog_time_system_type_id__volatile, adjust_date_time_dialog_time_system_type_id);
	}
	return adjust_date_time_dialog_time_system_type_id__volatile;
}


static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self) {
#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
#line 13523 "Dialogs.c"
}


static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender, gpointer self) {
#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
#line 13530 "Dialogs.c"
}


static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender, gpointer self) {
#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
#line 13537 "Dialogs.c"
}


static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender, gpointer self) {
#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
#line 13544 "Dialogs.c"
}


static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender, gpointer self) {
	gboolean result;
	result = adjust_date_time_dialog_on_spin_button_output ((AdjustDateTimeDialog*) self, _sender);
#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 13553 "Dialogs.c"
}


static void _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_system_changed ((AdjustDateTimeDialog*) self);
#line 13560 "Dialogs.c"
}


static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
#line 13567 "Dialogs.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 13582 "Dialogs.c"
}


AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video) {
	AdjustDateTimeDialog * self = NULL;
	Dateable* _tmp0_ = NULL;
	gboolean use_header = FALSE;
	GtkSettings* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	gboolean _tmp3_ = FALSE;
	AppWindow* _tmp4_ = NULL;
	AppWindow* _tmp5_ = NULL;
	GtkCalendar* _tmp6_ = NULL;
	GtkCalendar* _tmp7_ = NULL;
	GtkCalendar* _tmp8_ = NULL;
	GtkCalendar* _tmp9_ = NULL;
	GtkCalendar* _tmp10_ = NULL;
	ConfigFacade* _tmp11_ = NULL;
	ConfigFacade* _tmp12_ = NULL;
	gboolean _tmp13_ = FALSE;
	gboolean _tmp14_ = FALSE;
	GtkSpinButton* _tmp17_ = NULL;
	GtkSpinButton* _tmp18_ = NULL;
	GtkSpinButton* _tmp19_ = NULL;
	GtkSpinButton* _tmp20_ = NULL;
	GtkSpinButton* _tmp21_ = NULL;
	GtkSpinButton* _tmp22_ = NULL;
	GtkSpinButton* _tmp23_ = NULL;
	GtkSpinButton* _tmp24_ = NULL;
	GtkSpinButton* _tmp25_ = NULL;
	GtkSpinButton* _tmp26_ = NULL;
	GtkSpinButton* _tmp27_ = NULL;
	GtkComboBoxText* _tmp28_ = NULL;
	GtkComboBoxText* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	GtkComboBoxText* _tmp31_ = NULL;
	const gchar* _tmp32_ = NULL;
	GtkComboBoxText* _tmp33_ = NULL;
	const gchar* _tmp34_ = NULL;
	GtkComboBoxText* _tmp35_ = NULL;
	GtkBox* clock = NULL;
	GtkBox* _tmp36_ = NULL;
	GtkBox* _tmp37_ = NULL;
	GtkSpinButton* _tmp38_ = NULL;
	GtkBox* _tmp39_ = NULL;
	GtkLabel* _tmp40_ = NULL;
	GtkLabel* _tmp41_ = NULL;
	GtkBox* _tmp42_ = NULL;
	GtkSpinButton* _tmp43_ = NULL;
	GtkBox* _tmp44_ = NULL;
	GtkLabel* _tmp45_ = NULL;
	GtkLabel* _tmp46_ = NULL;
	GtkBox* _tmp47_ = NULL;
	GtkSpinButton* _tmp48_ = NULL;
	GtkBox* _tmp49_ = NULL;
	GtkComboBoxText* _tmp50_ = NULL;
	const gchar* _tmp51_ = NULL;
	GtkRadioButton* _tmp52_ = NULL;
	GtkRadioButton* _tmp53_ = NULL;
	ConfigFacade* _tmp54_ = NULL;
	ConfigFacade* _tmp55_ = NULL;
	gboolean _tmp56_ = FALSE;
	gboolean _tmp57_ = FALSE;
	gboolean _tmp58_ = FALSE;
	GtkRadioButton* _tmp60_ = NULL;
	GtkRadioButton* _tmp61_ = NULL;
	GSList* _tmp62_ = NULL;
	const gchar* _tmp63_ = NULL;
	GtkRadioButton* _tmp64_ = NULL;
	GtkRadioButton* _tmp65_ = NULL;
	ConfigFacade* _tmp66_ = NULL;
	ConfigFacade* _tmp67_ = NULL;
	gboolean _tmp68_ = FALSE;
	gboolean _tmp69_ = FALSE;
	gboolean _tmp70_ = FALSE;
	GtkRadioButton* _tmp72_ = NULL;
	GtkRadioButton* _tmp73_ = NULL;
	gboolean _tmp74_ = FALSE;
	gboolean _tmp85_ = FALSE;
	ConfigFacade* _tmp86_ = NULL;
	ConfigFacade* _tmp87_ = NULL;
	gboolean _tmp88_ = FALSE;
	gboolean _tmp89_ = FALSE;
	GtkCheckButton* _tmp91_ = NULL;
	gboolean _tmp92_ = FALSE;
	gboolean _tmp93_ = FALSE;
	GtkCheckButton* _tmp100_ = NULL;
	GtkBox* time_content = NULL;
	GtkBox* _tmp101_ = NULL;
	GtkBox* _tmp102_ = NULL;
	GtkCalendar* _tmp103_ = NULL;
	GtkBox* _tmp104_ = NULL;
	GtkBox* _tmp105_ = NULL;
	gboolean _tmp106_ = FALSE;
	GdkPixbuf* preview = NULL;
	GtkBox* image_content = NULL;
	GtkBox* _tmp120_ = NULL;
	GtkBox* _tmp121_ = NULL;
	GtkBox* _tmp122_ = NULL;
	GtkImage* _tmp123_ = NULL;
	GdkPixbuf* _tmp124_ = NULL;
	GtkImage* image = NULL;
	GtkImage* _tmp128_ = NULL;
	GtkLabel* _tmp129_ = NULL;
	GtkBox* _tmp130_ = NULL;
	GtkImage* _tmp131_ = NULL;
	GtkBox* _tmp132_ = NULL;
	GtkLabel* _tmp133_ = NULL;
	GtkBox* hbox = NULL;
	GtkBox* _tmp134_ = NULL;
	GtkBox* _tmp135_ = NULL;
	GtkBox* _tmp136_ = NULL;
	GtkBox* _tmp137_ = NULL;
	GtkBox* _tmp138_ = NULL;
	GtkBox* _tmp139_ = NULL;
	GtkBox* _tmp140_ = NULL;
	GtkBox* _tmp141_ = NULL;
	GtkBox* _tmp142_ = NULL;
	GtkBox* _tmp143_ = NULL;
	GtkBox* _tmp144_ = NULL;
	GtkBox* _tmp145_ = NULL;
	GtkLabel* _tmp146_ = NULL;
	GtkLabel* _tmp147_ = NULL;
	GtkLabel* _tmp148_ = NULL;
	GtkBox* _tmp149_ = NULL;
	GtkLabel* _tmp150_ = NULL;
	Dateable* _tmp151_ = NULL;
	time_t _tmp152_ = 0;
	time_t _tmp153_ = 0;
	time_t _tmp155_ = 0;
	struct tm _tmp156_ = {0};
	ConfigFacade* _tmp157_ = NULL;
	ConfigFacade* _tmp158_ = NULL;
	gboolean _tmp159_ = FALSE;
	GError * _inner_error_ = NULL;
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_DATEABLE (source), NULL);
#line 1657 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = source;
#line 1657 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_assert (_tmp0_ != NULL, "source != null");
#line 1660 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_settings_get_default ();
#line 1660 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = use_header;
#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_) {
#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = 1;
#line 13734 "Dialogs.c"
	} else {
#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = 0;
#line 13738 "Dialogs.c"
	}
#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (AdjustDateTimeDialog*) g_object_new (object_type, "use-header-bar", _tmp2_, NULL);
#line 1663 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 1664 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = app_window_get_instance ();
#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow));
#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp5_);
#line 1667 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_OK_LABEL, GTK_RESPONSE_OK, NULL);
#line 1669 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), RESOURCES_ADJUST_DATE_TIME_LABEL);
#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = (GtkCalendar*) gtk_calendar_new ();
#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp6_);
#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->calendar);
#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->calendar = _tmp6_;
#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = self->priv->calendar;
#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp7_, "day-selected", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected, self, 0);
#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = self->priv->calendar;
#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp8_, "month-changed", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed, self, 0);
#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = self->priv->calendar;
#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp9_, "next-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year, self, 0);
#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = self->priv->calendar;
#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp10_, "prev-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year, self, 0);
#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = config_facade_get_instance ();
#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = _tmp11_;
#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _tmp13_;
#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp12_);
#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp14_) {
#line 13794 "Dialogs.c"
		GtkSpinButton* _tmp15_ = NULL;
#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 23, (gdouble) 1);
#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp15_);
#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (self->priv->hour);
#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->hour = _tmp15_;
#line 13804 "Dialogs.c"
	} else {
		GtkSpinButton* _tmp16_ = NULL;
#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 1, (gdouble) 12, (gdouble) 1);
#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp16_);
#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (self->priv->hour);
#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->hour = _tmp16_;
#line 13815 "Dialogs.c"
	}
#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = self->priv->hour;
#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp17_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = self->priv->hour;
#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_entry_get_type (), GtkEntry), 2);
#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = self->priv->hour;
#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_entry_get_type (), GtkEntry), 2);
#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp20_);
#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->minute);
#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->minute = _tmp20_;
#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = self->priv->minute;
#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_entry_get_type (), GtkEntry), 2);
#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = self->priv->minute;
#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_entry_get_type (), GtkEntry), 2);
#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = self->priv->minute;
#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp23_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp24_);
#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->second);
#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->second = _tmp24_;
#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = self->priv->second;
#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_entry_get_type (), GtkEntry), 2);
#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = self->priv->second;
#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_entry_get_type (), GtkEntry), 2);
#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = self->priv->second;
#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (_tmp27_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp28_);
#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->system);
#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->system = _tmp28_;
#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = self->priv->system;
#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = _ ("AM");
#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_text_append_text (_tmp29_, _tmp30_);
#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = self->priv->system;
#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = _ ("PM");
#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_text_append_text (_tmp31_, _tmp32_);
#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp33_ = self->priv->system;
#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp34_ = _ ("24 Hr");
#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_text_append_text (_tmp33_, _tmp34_);
#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp35_ = self->priv->system;
#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed, self, 0);
#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp36_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp36_);
#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
	clock = _tmp36_;
#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp37_ = clock;
#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp38_ = self->priv->hour;
#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp39_ = clock;
#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp40_ = (GtkLabel*) gtk_label_new (":");
#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp40_);
#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp41_ = _tmp40_;
#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp41_);
#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp42_ = clock;
#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp43_ = self->priv->minute;
#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp42_, G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp44_ = clock;
#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp45_ = (GtkLabel*) gtk_label_new (":");
#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp45_);
#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp46_ = _tmp45_;
#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp44_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp46_);
#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp47_ = clock;
#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp48_ = self->priv->second;
#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp47_, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp49_ = clock;
#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp50_ = self->priv->system;
#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp49_, G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1711 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp51_ = _ ("_Shift photos/videos by the same amount");
#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp52_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (NULL, _tmp51_);
#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp52_);
#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->relativity_radio_button);
#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->relativity_radio_button = _tmp52_;
#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp53_ = self->priv->relativity_radio_button;
#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp54_ = config_facade_get_instance ();
#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp55_ = _tmp54_;
#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp56_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp56_);
#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp55_);
#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp58_ = display_options;
#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp58_) {
#line 13981 "Dialogs.c"
		gint _tmp59_ = 0;
#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp59_ = photo_count;
#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp57_ = _tmp59_ > 1;
#line 13987 "Dialogs.c"
	} else {
#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp57_ = FALSE;
#line 13991 "Dialogs.c"
	}
#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp60_ = self->priv->relativity_radio_button;
#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), _tmp57_);
#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp61_ = self->priv->relativity_radio_button;
#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp62_ = gtk_radio_button_get_group (_tmp61_);
#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp63_ = _ ("Set _all photos/videos to this time");
#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp64_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (_tmp62_, _tmp63_);
#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp64_);
#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->batch_radio_button);
#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->batch_radio_button = _tmp64_;
#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp65_ = self->priv->batch_radio_button;
#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp66_ = config_facade_get_instance ();
#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp67_ = _tmp66_;
#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp68_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_toggle_button_get_type (), GtkToggleButton), !_tmp68_);
#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp67_);
#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp70_ = display_options;
#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp70_) {
#line 14027 "Dialogs.c"
		gint _tmp71_ = 0;
#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp71_ = photo_count;
#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp69_ = _tmp71_ > 1;
#line 14033 "Dialogs.c"
	} else {
#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp69_ = FALSE;
#line 14037 "Dialogs.c"
	}
#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp72_ = self->priv->batch_radio_button;
#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), _tmp69_);
#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp73_ = self->priv->batch_radio_button;
#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled, self, 0);
#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp74_ = contains_video;
#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp74_) {
#line 14051 "Dialogs.c"
		gchar* text = NULL;
		gint _tmp75_ = 0;
		const gchar* _tmp76_ = NULL;
		gchar* _tmp77_ = NULL;
		const gchar* _tmp78_ = NULL;
		GtkCheckButton* _tmp79_ = NULL;
#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp75_ = photo_count;
#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp76_ = ngettext ("_Modify original photo file", "_Modify original photo files", (gulong) _tmp75_);
#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp77_ = g_strdup (_tmp76_);
#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text = _tmp77_;
#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp78_ = text;
#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp79_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp78_);
#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp79_);
#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (self->priv->modify_originals_check_button);
#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->modify_originals_check_button = _tmp79_;
#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 14078 "Dialogs.c"
	} else {
		gchar* text = NULL;
		gint _tmp80_ = 0;
		const gchar* _tmp81_ = NULL;
		gchar* _tmp82_ = NULL;
		const gchar* _tmp83_ = NULL;
		GtkCheckButton* _tmp84_ = NULL;
#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp80_ = photo_count;
#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp81_ = ngettext ("_Modify original file", "_Modify original files", (gulong) _tmp80_);
#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp82_ = g_strdup (_tmp81_);
#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
		text = _tmp82_;
#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp83_ = text;
#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp84_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp83_);
#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp84_);
#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (self->priv->modify_originals_check_button);
#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->modify_originals_check_button = _tmp84_;
#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 14106 "Dialogs.c"
	}
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp86_ = config_facade_get_instance ();
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp87_ = _tmp86_;
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp88_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp89_ = _tmp88_;
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp87_);
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp89_) {
#line 14120 "Dialogs.c"
		gboolean _tmp90_ = FALSE;
#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp90_ = display_options;
#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp85_ = _tmp90_;
#line 14126 "Dialogs.c"
	} else {
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp85_ = FALSE;
#line 14130 "Dialogs.c"
	}
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp91_ = self->priv->modify_originals_check_button;
#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp85_);
#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp93_ = only_video;
#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp93_) {
#line 14140 "Dialogs.c"
		gboolean _tmp94_ = FALSE;
		ConfigFacade* _tmp95_ = NULL;
		ConfigFacade* _tmp96_ = NULL;
		gboolean _tmp97_ = FALSE;
		gboolean _tmp98_ = FALSE;
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp95_ = config_facade_get_instance ();
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp96_ = _tmp95_;
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp97_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp96_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp98_ = !_tmp97_;
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp96_);
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp98_) {
#line 14158 "Dialogs.c"
			gboolean _tmp99_ = FALSE;
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp99_ = display_options;
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp94_ = _tmp99_;
#line 14164 "Dialogs.c"
		} else {
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp94_ = FALSE;
#line 14168 "Dialogs.c"
		}
#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp92_ = _tmp94_;
#line 14172 "Dialogs.c"
	} else {
#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp92_ = FALSE;
#line 14176 "Dialogs.c"
	}
#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp100_ = self->priv->modify_originals_check_button;
#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, gtk_widget_get_type (), GtkWidget), _tmp92_);
#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp101_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp101_);
#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time_content = _tmp101_;
#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp102_ = time_content;
#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp103_ = self->priv->calendar;
#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp102_, G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp104_ = time_content;
#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp105_ = clock;
#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp104_, G_TYPE_CHECK_INSTANCE_CAST (_tmp105_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp106_ = display_options;
#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp106_) {
#line 14204 "Dialogs.c"
		GtkBox* _tmp107_ = NULL;
		GtkRadioButton* _tmp108_ = NULL;
		GtkBox* _tmp109_ = NULL;
		GtkRadioButton* _tmp110_ = NULL;
		GtkBox* _tmp111_ = NULL;
		GtkCheckButton* _tmp112_ = NULL;
#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp107_ = time_content;
#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp108_ = self->priv->relativity_radio_button;
#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_box_pack_start (_tmp107_, G_TYPE_CHECK_INSTANCE_CAST (_tmp108_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp109_ = time_content;
#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp110_ = self->priv->batch_radio_button;
#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_box_pack_start (_tmp109_, G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp111_ = time_content;
#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp112_ = self->priv->modify_originals_check_button;
#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_box_pack_start (_tmp111_, G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 14229 "Dialogs.c"
	}
#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preview = NULL;
#line 14233 "Dialogs.c"
	{
		GdkPixbuf* _tmp113_ = NULL;
		Dateable* _tmp114_ = NULL;
		GdkPixbuf* _tmp115_ = NULL;
		GdkPixbuf* _tmp116_ = NULL;
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp114_ = source;
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp115_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), ADJUST_DATE_TIME_DIALOG_CALENDAR_THUMBNAIL_SCALE, &_inner_error_);
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp113_ = _tmp115_;
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 14247 "Dialogs.c"
			goto __catch425_g_error;
		}
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp116_ = _tmp113_;
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp113_ = NULL;
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (preview);
#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preview = _tmp116_;
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp113_);
#line 14260 "Dialogs.c"
	}
	goto __finally425;
	__catch425_g_error:
	{
		GError* err = NULL;
		Dateable* _tmp117_ = NULL;
		gchar* _tmp118_ = NULL;
		gchar* _tmp119_ = NULL;
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		err = _inner_error_;
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_inner_error_ = NULL;
#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp117_ = source;
#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp118_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp117_, TYPE_DATA_OBJECT, DataObject));
#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp119_ = _tmp118_;
#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_warning ("Dialogs.vala:1755: Unable to fetch preview for %s", _tmp119_);
#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp119_);
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_error_free0 (err);
#line 14285 "Dialogs.c"
	}
	__finally425:
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (preview);
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (time_content);
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (clock);
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.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 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_clear_error (&_inner_error_);
#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return NULL;
#line 14302 "Dialogs.c"
	}
#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp120_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp120_);
#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	image_content = _tmp120_;
#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp121_ = image_content;
#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp122_ = image_content;
#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_set_homogeneous (_tmp122_, TRUE);
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp124_ = preview;
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp124_ != NULL) {
#line 14322 "Dialogs.c"
		GdkPixbuf* _tmp125_ = NULL;
		GtkImage* _tmp126_ = NULL;
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp125_ = preview;
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp126_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp125_);
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp126_);
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp123_);
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp123_ = _tmp126_;
#line 14335 "Dialogs.c"
	} else {
		GtkImage* _tmp127_ = NULL;
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp127_ = (GtkImage*) gtk_image_new ();
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp127_);
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp123_);
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp123_ = _tmp127_;
#line 14346 "Dialogs.c"
	}
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp128_ = _g_object_ref0 (_tmp123_);
#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	image = _tmp128_;
#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp129_ = (GtkLabel*) gtk_label_new (NULL);
#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp129_);
#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->original_time_label);
#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->original_time_label = _tmp129_;
#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp130_ = image_content;
#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp131_ = image;
#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp130_, G_TYPE_CHECK_INSTANCE_CAST (_tmp131_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1764 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp132_ = image_content;
#line 1764 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp133_ = self->priv->original_time_label;
#line 1764 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp132_, G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp134_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp134_);
#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala"
	hbox = _tmp134_;
#line 1767 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp135_ = hbox;
#line 1767 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp135_, gtk_container_get_type (), GtkContainer), (guint) 3);
#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp136_ = hbox;
#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp137_ = image_content;
#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp136_, G_TYPE_CHECK_INSTANCE_CAST (_tmp137_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp138_ = hbox;
#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp139_ = time_content;
#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp138_, G_TYPE_CHECK_INSTANCE_CAST (_tmp139_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp140_ = hbox;
#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp140_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp141_ = hbox;
#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp141_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp142_ = hbox;
#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp143_ = hbox;
#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp144_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp145_ = hbox;
#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp144_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp145_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp146_ = (GtkLabel*) gtk_label_new ("");
#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp146_);
#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->notification);
#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->notification = _tmp146_;
#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp147_ = self->priv->notification;
#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_line_wrap (_tmp147_, TRUE);
#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp148_ = self->priv->notification;
#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_justify (_tmp148_, GTK_JUSTIFY_CENTER);
#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp149_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp150_ = self->priv->notification;
#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp149_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp150_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp151_ = source;
#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp152_ = dateable_get_exposure_time (_tmp151_);
#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->original_time = _tmp152_;
#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp153_ = self->priv->original_time;
#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp153_ == ((time_t) 0)) {
#line 14448 "Dialogs.c"
		time_t _tmp154_ = 0;
#line 1786 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp154_ = time (NULL);
#line 1786 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->original_time = _tmp154_;
#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->no_original_time = TRUE;
#line 14456 "Dialogs.c"
	}
#line 1790 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp155_ = self->priv->original_time;
#line 1790 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_time_local (_tmp155_, &_tmp156_);
#line 1790 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_set_time (self, &_tmp156_);
#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp157_ = config_facade_get_instance ();
#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp158_ = _tmp157_;
#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp159_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp158_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_set_original_time_label (self, _tmp159_);
#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp158_);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (hbox);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (image);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp123_);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (image_content);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (preview);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (time_content);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (clock);
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 14490 "Dialogs.c"
}


AdjustDateTimeDialog* adjust_date_time_dialog_new (Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video) {
#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return adjust_date_time_dialog_construct (TYPE_ADJUST_DATE_TIME_DIALOG, source, photo_count, display_options, contains_video, only_video);
#line 14497 "Dialogs.c"
}


static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct tm* time) {
	GtkCalendar* _tmp0_ = NULL;
	struct tm _tmp1_ = {0};
	gint _tmp2_ = 0;
	struct tm _tmp3_ = {0};
	gint _tmp4_ = 0;
	GtkCalendar* _tmp5_ = NULL;
	struct tm _tmp6_ = {0};
	gint _tmp7_ = 0;
	ConfigFacade* _tmp8_ = NULL;
	ConfigFacade* _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	gboolean _tmp11_ = FALSE;
	GtkSpinButton* _tmp26_ = NULL;
	struct tm _tmp27_ = {0};
	gint _tmp28_ = 0;
	GtkSpinButton* _tmp29_ = NULL;
	struct tm _tmp30_ = {0};
	gint _tmp31_ = 0;
	GtkComboBoxText* _tmp32_ = NULL;
	gint _tmp33_ = 0;
#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (time != NULL);
#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->calendar;
#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = *time;
#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_.tm_mon;
#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = *time;
#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_.tm_year;
#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_calendar_select_month (_tmp0_, (guint) _tmp2_, (guint) (_tmp4_ + ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET));
#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->calendar;
#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = *time;
#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_.tm_mday;
#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_calendar_select_day (_tmp5_, (guint) _tmp7_);
#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = config_facade_get_instance ();
#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _tmp8_;
#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = _tmp10_;
#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp9_);
#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp11_) {
#line 14558 "Dialogs.c"
		GtkComboBoxText* _tmp12_ = NULL;
		GtkSpinButton* _tmp13_ = NULL;
		struct tm _tmp14_ = {0};
		gint _tmp15_ = 0;
#line 1799 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = self->priv->system;
#line 1799 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_combo_box_get_type (), GtkComboBox), (gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = self->priv->hour;
#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = *time;
#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = _tmp14_.tm_hour;
#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_spin_button_set_value (_tmp13_, (gdouble) _tmp15_);
#line 14575 "Dialogs.c"
	} else {
		gint AMPM_hour = 0;
		struct tm _tmp16_ = {0};
		gint _tmp17_ = 0;
		gint _tmp18_ = 0;
		gint _tmp19_ = 0;
		GtkSpinButton* _tmp21_ = NULL;
		AdjustDateTimeDialogTimeSystem _tmp22_ = 0;
		struct tm _tmp23_ = {0};
		gint _tmp24_ = 0;
		GtkComboBoxText* _tmp25_ = NULL;
#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = *time;
#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = _tmp16_.tm_hour;
#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala"
		AMPM_hour = _tmp17_ % 12;
#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = AMPM_hour;
#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp19_ == 0) {
#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = 12;
#line 14599 "Dialogs.c"
		} else {
			gint _tmp20_ = 0;
#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp20_ = AMPM_hour;
#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = _tmp20_;
#line 14606 "Dialogs.c"
		}
#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = self->priv->hour;
#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_spin_button_set_value (_tmp21_, (gdouble) _tmp18_);
#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp23_ = *time;
#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = _tmp23_.tm_hour;
#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp24_ >= 12) {
#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM;
#line 14620 "Dialogs.c"
		} else {
#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM;
#line 14624 "Dialogs.c"
		}
#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = self->priv->system;
#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp22_);
#line 14630 "Dialogs.c"
	}
#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = self->priv->minute;
#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = *time;
#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = _tmp27_.tm_min;
#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_spin_button_set_value (_tmp26_, (gdouble) _tmp28_);
#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = self->priv->second;
#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = *time;
#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = _tmp30_.tm_sec;
#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_spin_button_set_value (_tmp29_, (gdouble) _tmp31_);
#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = self->priv->system;
#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp33_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_combo_box_get_type (), GtkComboBox));
#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp33_;
#line 14654 "Dialogs.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 14700 "Dialogs.c"
}


static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialog* self, gboolean use_24_hr_format) {
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GtkLabel* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	time_t _tmp7_ = 0;
	struct tm _tmp8_ = {0};
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->no_original_time;
#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return;
#line 14724 "Dialogs.c"
	}
#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = use_24_hr_format;
#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_) {
#line 14730 "Dialogs.c"
		const gchar* _tmp3_ = NULL;
#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = _ ("%m/%d/%Y, %H:%M:%S");
#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = _tmp3_;
#line 14736 "Dialogs.c"
	} else {
		const gchar* _tmp4_ = NULL;
#line 1819 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _ ("%m/%d/%Y, %I:%M:%S %p");
#line 1819 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = _tmp4_;
#line 14743 "Dialogs.c"
	}
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->original_time_label;
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _ ("Original: ");
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = self->priv->original_time;
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_time_local (_tmp7_, &_tmp8_);
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = g_time_format (&_tmp8_, _tmp1_);
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = g_strconcat (_tmp6_, _tmp10_, NULL);
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = _tmp11_;
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_text (_tmp5_, _tmp12_);
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp12_);
#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp10_);
#line 14767 "Dialogs.c"
}


static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self) {
	time_t result = 0;
	struct tm time = {0};
	GtkSpinButton* _tmp0_ = NULL;
	gdouble _tmp1_ = 0.0;
	GtkSpinButton* _tmp2_ = NULL;
	gdouble _tmp3_ = 0.0;
	gint hour = 0;
	GtkSpinButton* _tmp4_ = NULL;
	gdouble _tmp5_ = 0.0;
	gint _tmp6_ = 0;
	gboolean _tmp7_ = FALSE;
	gint _tmp8_ = 0;
	gint _tmp12_ = 0;
	GtkComboBoxText* _tmp13_ = NULL;
	gint _tmp14_ = 0;
	gint _tmp15_ = 0;
	guint year = 0U;
	guint month = 0U;
	guint day = 0U;
	GtkCalendar* _tmp16_ = NULL;
	guint _tmp17_ = 0U;
	guint _tmp18_ = 0U;
	guint _tmp19_ = 0U;
	time_t _tmp20_ = 0;
#line 1822 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), 0);
#line 1823 "/home/jens/Source/shotwell/src/Dialogs.vala"
	memset (&time, 0, sizeof (struct tm));
#line 1825 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->second;
#line 1825 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_spin_button_get_value (_tmp0_);
#line 1825 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_sec = (gint) _tmp1_;
#line 1826 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->minute;
#line 1826 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_spin_button_get_value (_tmp2_);
#line 1826 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_min = (gint) _tmp3_;
#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = self->priv->hour;
#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = gtk_spin_button_get_value (_tmp4_);
#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
	hour = (gint) _tmp5_;
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = hour;
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp8_ == 12) {
#line 14822 "Dialogs.c"
		GtkComboBoxText* _tmp9_ = NULL;
		gint _tmp10_ = 0;
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = self->priv->system;
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox));
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = _tmp10_ != ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
#line 14831 "Dialogs.c"
	} else {
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = FALSE;
#line 14835 "Dialogs.c"
	}
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp7_) {
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = 0;
#line 14841 "Dialogs.c"
	} else {
		gint _tmp11_ = 0;
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = hour;
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = _tmp11_;
#line 14848 "Dialogs.c"
	}
#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_hour = _tmp6_;
#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = self->priv->system;
#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox));
#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp14_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM)) {
#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = 12;
#line 14860 "Dialogs.c"
	} else {
#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = 0;
#line 14864 "Dialogs.c"
	}
#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = time.tm_hour;
#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_hour = _tmp15_ + _tmp12_;
#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = self->priv->calendar;
#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_calendar_get_date (_tmp16_, &_tmp17_, &_tmp18_, &_tmp19_);
#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
	year = _tmp17_;
#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
	month = _tmp18_;
#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
	day = _tmp19_;
#line 1835 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_year = ((gint) year) - ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET;
#line 1836 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_mon = (gint) month;
#line 1837 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_mday = (gint) day;
#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time.tm_isdst = -1;
#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = mktime (&time);
#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp20_;
#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 14894 "Dialogs.c"
}


gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* time_shift, gboolean* keep_relativity, gboolean* modify_originals) {
	gint64 _vala_time_shift = 0LL;
	gboolean _vala_keep_relativity = FALSE;
	gboolean _vala_modify_originals = FALSE;
	gboolean result = FALSE;
	gboolean response = FALSE;
	gint _tmp0_ = 0;
#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE);
#line 1846 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala"
	response = FALSE;
#line 1850 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 1850 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 14915 "Dialogs.c"
		gboolean _tmp1_ = FALSE;
		GtkRadioButton* _tmp5_ = NULL;
		gboolean _tmp6_ = FALSE;
		GtkRadioButton* _tmp7_ = NULL;
		gboolean _tmp8_ = FALSE;
		gboolean _tmp9_ = FALSE;
		GtkCheckButton* _tmp13_ = NULL;
		gboolean _tmp14_ = FALSE;
		GtkCheckButton* _tmp15_ = NULL;
		gboolean _tmp16_ = FALSE;
		gboolean _tmp17_ = FALSE;
#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = self->priv->no_original_time;
#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp1_) {
#line 14931 "Dialogs.c"
			time_t _tmp2_ = 0;
#line 1852 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp2_ = adjust_date_time_dialog_get_time (self);
#line 1852 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_vala_time_shift = (gint64) _tmp2_;
#line 14937 "Dialogs.c"
		} else {
			time_t _tmp3_ = 0;
			time_t _tmp4_ = 0;
#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp3_ = adjust_date_time_dialog_get_time (self);
#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp4_ = self->priv->original_time;
#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_vala_time_shift = (gint64) (_tmp3_ - _tmp4_);
#line 14947 "Dialogs.c"
		}
#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = self->priv->relativity_radio_button;
#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_keep_relativity = _tmp6_;
#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = self->priv->relativity_radio_button;
#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = _tmp8_;
#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp9_) {
#line 14963 "Dialogs.c"
			ConfigFacade* _tmp10_ = NULL;
			ConfigFacade* _tmp11_ = NULL;
			gboolean _tmp12_ = FALSE;
#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp10_ = config_facade_get_instance ();
#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp11_ = _tmp10_;
#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = _vala_keep_relativity;
#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
			configuration_facade_set_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp12_);
#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_tmp11_);
#line 14977 "Dialogs.c"
		}
#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = self->priv->modify_originals_check_button;
#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_modify_originals = _tmp14_;
#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = self->priv->modify_originals_check_button;
#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget));
#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = _tmp16_;
#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp17_) {
#line 14993 "Dialogs.c"
			ConfigFacade* _tmp18_ = NULL;
			ConfigFacade* _tmp19_ = NULL;
			gboolean _tmp20_ = FALSE;
#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = config_facade_get_instance ();
#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp19_ = _tmp18_;
#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp20_ = _vala_modify_originals;
#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
			configuration_facade_set_modify_originals (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp20_);
#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_tmp19_);
#line 15007 "Dialogs.c"
		}
#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala"
		response = TRUE;
#line 15011 "Dialogs.c"
	} else {
#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_time_shift = (gint64) 0;
#line 1869 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_keep_relativity = TRUE;
#line 1870 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_modify_originals = FALSE;
#line 15019 "Dialogs.c"
	}
#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = response;
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (time_shift) {
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*time_shift = _vala_time_shift;
#line 15029 "Dialogs.c"
	}
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (keep_relativity) {
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*keep_relativity = _vala_keep_relativity;
#line 15035 "Dialogs.c"
	}
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (modify_originals) {
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*modify_originals = _vala_modify_originals;
#line 15041 "Dialogs.c"
	}
#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 15045 "Dialogs.c"
}


static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDialog* self, GtkSpinButton* button) {
	gboolean result = FALSE;
	GtkSpinButton* _tmp0_ = NULL;
	GtkSpinButton* _tmp1_ = NULL;
	gdouble _tmp2_ = 0.0;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE);
#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_SPIN_BUTTON (button), FALSE);
#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = button;
#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = button;
#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_spin_button_get_value (_tmp1_);
#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = g_strdup_printf ("%02d", (gint) _tmp2_);
#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_entry_set_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_entry_get_type (), GtkEntry), _tmp4_);
#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp4_);
#line 1881 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_changed (self);
#line 1883 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 1883 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 15080 "Dialogs.c"
}


static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self) {
	gint64 time_shift = 0LL;
	time_t _tmp0_ = 0;
	time_t _tmp1_ = 0;
	GtkComboBoxText* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	gint64 _tmp6_ = 0LL;
#line 1886 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = adjust_date_time_dialog_get_time (self);
#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->original_time;
#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala"
	time_shift = ((gint64) _tmp0_) - ((gint64) _tmp1_);
#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->system;
#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox));
#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp3_;
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = time_shift;
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp6_ == ((gint64) 0)) {
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = TRUE;
#line 15113 "Dialogs.c"
	} else {
		gboolean _tmp7_ = FALSE;
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = self->priv->no_original_time;
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = _tmp7_;
#line 15120 "Dialogs.c"
	}
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_) {
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = TRUE;
#line 15126 "Dialogs.c"
	} else {
		gboolean _tmp8_ = FALSE;
		GtkRadioButton* _tmp9_ = NULL;
		gboolean _tmp10_ = FALSE;
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = self->priv->batch_radio_button;
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp10_) {
#line 15137 "Dialogs.c"
			GtkRadioButton* _tmp11_ = NULL;
			gboolean _tmp12_ = FALSE;
			gboolean _tmp13_ = FALSE;
#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp11_ = self->priv->batch_radio_button;
#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp13_ = _tmp12_;
#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp8_ = _tmp13_;
#line 15149 "Dialogs.c"
		} else {
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp8_ = FALSE;
#line 15153 "Dialogs.c"
		}
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _tmp8_;
#line 15157 "Dialogs.c"
	}
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp4_) {
#line 15161 "Dialogs.c"
		GtkLabel* _tmp14_ = NULL;
#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = self->priv->notification;
#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget));
#line 15167 "Dialogs.c"
	} else {
		gboolean forward = FALSE;
		gint64 _tmp15_ = 0LL;
		gint days = 0;
		gint hours = 0;
		gint minutes = 0;
		gint seconds = 0;
		gint64 _tmp16_ = 0LL;
		gint64 _tmp17_ = 0LL;
		gint64 _tmp18_ = 0LL;
		gint64 _tmp19_ = 0LL;
		gint64 _tmp20_ = 0LL;
		gint64 _tmp21_ = 0LL;
		gint64 _tmp22_ = 0LL;
		gint64 _tmp23_ = 0LL;
		const gchar* _tmp24_ = NULL;
		gboolean _tmp25_ = FALSE;
		gchar* shift_status = NULL;
		gchar* _tmp28_ = NULL;
		GtkLabel* _tmp29_ = NULL;
		const gchar* _tmp30_ = NULL;
		gint _tmp31_ = 0;
		gint _tmp32_ = 0;
		const gchar* _tmp33_ = NULL;
		gint _tmp34_ = 0;
		gint _tmp35_ = 0;
		const gchar* _tmp36_ = NULL;
		gint _tmp37_ = 0;
		gint _tmp38_ = 0;
		const gchar* _tmp39_ = NULL;
		gint _tmp40_ = 0;
		gint _tmp41_ = 0;
		const gchar* _tmp42_ = NULL;
		gchar* _tmp43_ = NULL;
		gchar* _tmp44_ = NULL;
		GtkLabel* _tmp45_ = NULL;
#line 1895 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = time_shift;
#line 1895 "/home/jens/Source/shotwell/src/Dialogs.vala"
		forward = _tmp15_ > ((gint64) 0);
#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = time_shift;
#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = llabs (_tmp16_);
#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala"
		time_shift = _tmp17_;
#line 1900 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = time_shift;
#line 1900 "/home/jens/Source/shotwell/src/Dialogs.vala"
		days = (gint) (_tmp18_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY);
#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = time_shift;
#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
		time_shift = _tmp19_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY;
#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = time_shift;
#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
		hours = (gint) (_tmp20_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR);
#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = time_shift;
#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala"
		time_shift = _tmp21_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR;
#line 1904 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = time_shift;
#line 1904 "/home/jens/Source/shotwell/src/Dialogs.vala"
		minutes = (gint) (_tmp22_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp23_ = time_shift;
#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala"
		seconds = (gint) (_tmp23_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = forward;
#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp25_) {
#line 15242 "Dialogs.c"
			const gchar* _tmp26_ = NULL;
#line 1908 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp26_ = _ ("Exposure time will be shifted forward by\n" \
"%d %s, %d %s, %d %s, and %d %s.");
#line 1908 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp24_ = _tmp26_;
#line 15248 "Dialogs.c"
		} else {
			const gchar* _tmp27_ = NULL;
#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp27_ = _ ("Exposure time will be shifted backward by\n" \
"%d %s, %d %s, %d %s, and %d %s.");
#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp24_ = _tmp27_;
#line 15255 "Dialogs.c"
		}
#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = g_strdup (_tmp24_);
#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
		shift_status = _tmp28_;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp29_ = self->priv->notification;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp30_ = shift_status;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp31_ = days;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp32_ = days;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = ngettext ("day", "days", (gulong) _tmp32_);
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp34_ = hours;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp35_ = hours;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp36_ = ngettext ("hour", "hours", (gulong) _tmp35_);
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp37_ = minutes;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp38_ = minutes;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp39_ = ngettext ("minute", "minutes", (gulong) _tmp38_);
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp40_ = seconds;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp41_ = seconds;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp42_ = ngettext ("second", "seconds", (gulong) _tmp41_);
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp43_ = g_strdup_printf (_tmp30_, _tmp31_, _tmp33_, _tmp34_, _tmp36_, _tmp37_, _tmp39_, _tmp40_, _tmp42_);
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp44_ = _tmp43_;
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_label_set_text (_tmp29_, _tmp44_);
#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp44_);
#line 1916 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp45_ = self->priv->notification;
#line 1916 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget));
#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (shift_status);
#line 15303 "Dialogs.c"
	}
}


static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog* self) {
	AdjustDateTimeDialogTimeSystem _tmp0_ = 0;
	GtkComboBoxText* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	ConfigFacade* _tmp3_ = NULL;
	ConfigFacade* _tmp4_ = NULL;
	GtkComboBoxText* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	GtkComboBoxText* _tmp7_ = NULL;
	gint _tmp8_ = 0;
#line 1920 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->previous_time_system;
#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->system;
#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == _tmp2_) {
#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return;
#line 15330 "Dialogs.c"
	}
#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = config_facade_get_instance ();
#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->system;
#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox));
#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
	configuration_facade_set_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp6_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR));
#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp4_);
#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = self->priv->system;
#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox));
#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp8_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR)) {
#line 15350 "Dialogs.c"
		gint _tmp9_ = 0;
		GtkSpinButton* _tmp10_ = NULL;
		gdouble _tmp11_ = 0.0;
		gint time = 0;
		gint _tmp14_ = 0;
		AdjustDateTimeDialogTimeSystem _tmp15_ = 0;
		gint _tmp16_ = 0;
		GtkSpinButton* _tmp17_ = NULL;
		GtkSpinButton* _tmp18_ = NULL;
		gint _tmp19_ = 0;
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = self->priv->hour;
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = gtk_spin_button_get_value (_tmp10_);
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp11_ == 12.0) {
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp9_ = 0;
#line 15369 "Dialogs.c"
		} else {
			GtkSpinButton* _tmp12_ = NULL;
			gdouble _tmp13_ = 0.0;
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = self->priv->hour;
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp13_ = gtk_spin_button_get_value (_tmp12_);
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp9_ = (gint) _tmp13_;
#line 15379 "Dialogs.c"
		}
#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
		time = _tmp9_;
#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = self->priv->previous_time_system;
#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp15_ == ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM) {
#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp14_ = 12;
#line 15389 "Dialogs.c"
		} else {
#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp14_ = 0;
#line 15393 "Dialogs.c"
		}
#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = time;
#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
		time = _tmp16_ + _tmp14_;
#line 1930 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = self->priv->hour;
#line 1930 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_spin_button_set_range (_tmp17_, (gdouble) 0, (gdouble) 23);
#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala"
		adjust_date_time_dialog_set_original_time_label (self, TRUE);
#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = self->priv->hour;
#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = time;
#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_spin_button_set_value (_tmp18_, (gdouble) _tmp19_);
#line 15411 "Dialogs.c"
	} else {
		gint AMPM_hour = 0;
		GtkSpinButton* _tmp20_ = NULL;
		gdouble _tmp21_ = 0.0;
		GtkSpinButton* _tmp22_ = NULL;
		gint _tmp23_ = 0;
		gint _tmp24_ = 0;
		GtkSpinButton* _tmp26_ = NULL;
#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = self->priv->hour;
#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = gtk_spin_button_get_value (_tmp20_);
#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala"
		AMPM_hour = ((gint) _tmp21_) % 12;
#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = self->priv->hour;
#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_spin_button_set_range (_tmp22_, (gdouble) 1, (gdouble) 12);
#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
		adjust_date_time_dialog_set_original_time_label (self, FALSE);
#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = AMPM_hour;
#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp24_ == 0) {
#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = 12;
#line 15438 "Dialogs.c"
		} else {
			gint _tmp25_ = 0;
#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp25_ = AMPM_hour;
#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = _tmp25_;
#line 15445 "Dialogs.c"
		}
#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = self->priv->hour;
#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_spin_button_set_value (_tmp26_, (gdouble) _tmp23_);
#line 15451 "Dialogs.c"
	}
#line 1943 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_on_time_changed (self);
#line 15455 "Dialogs.c"
}


static void adjust_date_time_dialog_class_init (AdjustDateTimeDialogClass * klass) {
#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	adjust_date_time_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (AdjustDateTimeDialogPrivate));
#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = adjust_date_time_dialog_finalize;
#line 15466 "Dialogs.c"
}


static void adjust_date_time_dialog_instance_init (AdjustDateTimeDialog * self) {
#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = ADJUST_DATE_TIME_DIALOG_GET_PRIVATE (self);
#line 1631 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->no_original_time = FALSE;
#line 15475 "Dialogs.c"
}


static void adjust_date_time_dialog_finalize (GObject* obj) {
	AdjustDateTimeDialog * self;
#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialog);
#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->original_time_label);
#line 1637 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->calendar);
#line 1638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->hour);
#line 1639 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->minute);
#line 1640 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->second);
#line 1641 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->system);
#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->relativity_radio_button);
#line 1643 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->batch_radio_button);
#line 1644 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->modify_originals_check_button);
#line 1645 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->notification);
#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (adjust_date_time_dialog_parent_class)->finalize (obj);
#line 15505 "Dialogs.c"
}


GType adjust_date_time_dialog_get_type (void) {
	static volatile gsize adjust_date_time_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&adjust_date_time_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AdjustDateTimeDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adjust_date_time_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdjustDateTimeDialog), 0, (GInstanceInitFunc) adjust_date_time_dialog_instance_init, NULL };
		GType adjust_date_time_dialog_type_id;
		adjust_date_time_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "AdjustDateTimeDialog", &g_define_type_info, 0);
		g_once_init_leave (&adjust_date_time_dialog_type_id__volatile, adjust_date_time_dialog_type_id);
	}
	return adjust_date_time_dialog_type_id__volatile;
}


void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message, const gchar* title) {
	gchar* dialog_message = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gint remainder = 0;
	GeeArrayList* _tmp20_ = NULL;
	gint _tmp21_ = 0;
	gint _tmp22_ = 0;
	gint _tmp23_ = 0;
	GtkMessageDialog* dialog = NULL;
	AppWindow* _tmp31_ = NULL;
	AppWindow* _tmp32_ = NULL;
	const gchar* _tmp33_ = NULL;
	GtkMessageDialog* _tmp34_ = NULL;
	GtkMessageDialog* _tmp35_ = NULL;
	const gchar* _tmp36_ = NULL;
#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GEE_IS_ARRAY_LIST (objects));
#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (message != NULL);
#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (title != NULL);
#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = message;
#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = g_strconcat (_tmp0_, "\n", NULL);
#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog_message = _tmp1_;
#line 15549 "Dialogs.c"
	{
		gint i = 0;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
		i = 0;
#line 15554 "Dialogs.c"
		{
			gboolean _tmp2_ = FALSE;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp2_ = TRUE;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 15561 "Dialogs.c"
				gboolean _tmp4_ = FALSE;
				gint _tmp5_ = 0;
				const gchar* _tmp10_ = NULL;
				GeeArrayList* _tmp11_ = NULL;
				gint _tmp12_ = 0;
				gpointer _tmp13_ = NULL;
				DataObject* _tmp14_ = NULL;
				gchar* _tmp15_ = NULL;
				gchar* _tmp16_ = NULL;
				gchar* _tmp17_ = NULL;
				gchar* _tmp18_ = NULL;
				gchar* _tmp19_ = NULL;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!_tmp2_) {
#line 15576 "Dialogs.c"
					gint _tmp3_ = 0;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp3_ = i;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					i = _tmp3_ + 1;
#line 15582 "Dialogs.c"
				}
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp2_ = FALSE;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp5_ = i;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp5_ < MAX_OBJECTS_DISPLAYED) {
#line 15590 "Dialogs.c"
					GeeArrayList* _tmp6_ = NULL;
					gint _tmp7_ = 0;
					gint _tmp8_ = 0;
					gint _tmp9_ = 0;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp6_ = objects;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp8_ = _tmp7_;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp9_ = i;
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp4_ = _tmp8_ > _tmp9_;
#line 15605 "Dialogs.c"
				} else {
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp4_ = FALSE;
#line 15609 "Dialogs.c"
				}
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!_tmp4_) {
#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 15615 "Dialogs.c"
				}
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp10_ = dialog_message;
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp11_ = objects;
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp12_ = i;
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp12_);
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp14_ = (DataObject*) _tmp13_;
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp15_ = data_object_to_string (_tmp14_);
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp16_ = _tmp15_;
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp17_ = g_strconcat ("\n", _tmp16_, NULL);
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp18_ = _tmp17_;
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp19_ = g_strconcat (_tmp10_, _tmp18_, NULL);
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (dialog_message);
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				dialog_message = _tmp19_;
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp18_);
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp16_);
#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_tmp14_);
#line 15647 "Dialogs.c"
			}
		}
	}
#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = objects;
#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = _tmp21_;
#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
	remainder = _tmp22_ - MAX_OBJECTS_DISPLAYED;
#line 1957 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = remainder;
#line 1957 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp23_ > 0) {
#line 15663 "Dialogs.c"
		const gchar* _tmp24_ = NULL;
		gint _tmp25_ = 0;
		const gchar* _tmp26_ = NULL;
		gint _tmp27_ = 0;
		gchar* _tmp28_ = NULL;
		gchar* _tmp29_ = NULL;
		gchar* _tmp30_ = NULL;
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = dialog_message;
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = remainder;
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = ngettext ("\n\nAnd %d other.", "\n\nAnd %d others.", (gulong) _tmp25_);
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp27_ = remainder;
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = g_strdup_printf (_tmp26_, _tmp27_);
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp29_ = _tmp28_;
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp30_ = g_strconcat (_tmp24_, _tmp29_, NULL);
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (dialog_message);
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dialog_message = _tmp30_;
#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp29_);
#line 15691 "Dialogs.c"
	}
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = app_window_get_instance ();
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = _tmp31_;
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp33_ = dialog_message;
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp34_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", _tmp33_);
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp34_);
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp35_ = _tmp34_;
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp32_);
#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = _tmp35_;
#line 1965 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp36_ = title;
#line 1965 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), _tmp36_);
#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (dialog_message);
#line 15721 "Dialogs.c"
}


TagsDialog* tags_dialog_construct (GType object_type, const gchar* title, const gchar* label, const gchar* initial_text) {
	TagsDialog* self = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	HierarchicalTagIndex* _tmp3_ = NULL;
	HierarchicalTagIndex* _tmp4_ = NULL;
	GeeCollection* _tmp5_ = NULL;
	GeeCollection* _tmp6_ = NULL;
#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (title != NULL, NULL);
#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (label != NULL, NULL);
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = title;
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = label;
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = initial_text;
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = hierarchical_tag_index_get_global_index ();
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = hierarchical_tag_index_get_all_tags (_tmp4_);
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _tmp5_;
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (TagsDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, _tmp6_, ",");
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp6_);
#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_hierarchical_tag_index_unref0 (_tmp4_);
#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 15760 "Dialogs.c"
}


static void tags_dialog_class_init (TagsDialogClass * klass) {
#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tags_dialog_parent_class = g_type_class_peek_parent (klass);
#line 15767 "Dialogs.c"
}


static void tags_dialog_instance_init (TagsDialog * self) {
}


GType tags_dialog_get_type (void) {
	static volatile gsize tags_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&tags_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TagsDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tags_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TagsDialog), 0, (GInstanceInitFunc) tags_dialog_instance_init, NULL };
		GType tags_dialog_type_id;
		tags_dialog_type_id = g_type_register_static (TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, "TagsDialog", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
		g_once_init_leave (&tags_dialog_type_id__volatile, tags_dialog_type_id);
	}
	return tags_dialog_type_id__volatile;
}


AddTagsDialog* add_tags_dialog_construct (GType object_type) {
	AddTagsDialog* self = NULL;
	gchar* title = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = g_dpgettext2 (NULL, "Dialog Title", RESOURCES_ADD_TAGS_TITLE);
#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala"
	title = _tmp1_;
#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _ ("Tags (separated by commas):");
#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (AddTagsDialog*) tags_dialog_construct (object_type, title, _tmp2_, NULL);
#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (title);
#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 15807 "Dialogs.c"
}


AddTagsDialog* add_tags_dialog_new (void) {
#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return add_tags_dialog_construct (TYPE_ADD_TAGS_DIALOG);
#line 15814 "Dialogs.c"
}


gchar** add_tags_dialog_execute (AddTagsDialog* self, int* result_length1) {
	gchar** result = NULL;
	gchar* text = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar** _tmp4_ = NULL;
	gchar** _tmp5_ = NULL;
	gchar** _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	gint _tmp7_ = 0;
	gchar** _tmp8_ = NULL;
	gchar** _tmp9_ = NULL;
	gint _tmp9__length1 = 0;
	gchar** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
#line 1985 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_ADD_TAGS_DIALOG (self), NULL);
#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text = _tmp0_;
#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = text;
#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_ == NULL) {
#line 15844 "Dialogs.c"
		gchar** _tmp2_ = NULL;
		gint _tmp2__length1 = 0;
#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = NULL;
#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2__length1 = 0;
#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (result_length1) {
#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
			*result_length1 = _tmp2__length1;
#line 15855 "Dialogs.c"
		}
#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp2_;
#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 15863 "Dialogs.c"
	}
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = text;
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_ = g_strsplit (_tmp3_, ",", 0);
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _tmp5_;
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6__length1 = _vala_array_length (_tmp4_);
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = tag_prep_tag_names (_tmp6_, _vala_array_length (_tmp4_), &_tmp7_);
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = _tmp8_;
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9__length1 = _tmp7_;
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10__length1 = _tmp9__length1;
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (result_length1) {
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*result_length1 = _tmp10__length1;
#line 15889 "Dialogs.c"
	}
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp10_;
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (text);
#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 15897 "Dialogs.c"
}


static gboolean add_tags_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text) {
	AddTagsDialog * self;
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gchar** names = NULL;
	const gchar* _tmp2_ = NULL;
	gchar** _tmp3_ = NULL;
	gchar** _tmp4_ = NULL;
	gchar** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	gint _tmp6_ = 0;
	gchar** _tmp7_ = NULL;
	gchar** _tmp8_ = NULL;
	gint _tmp8__length1 = 0;
	gint names_length1 = 0;
	gint _names_size_ = 0;
	gchar** _tmp9_ = NULL;
	gint _tmp9__length1 = 0;
#line 1995 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_ADD_TAGS_DIALOG, AddTagsDialog);
#line 1995 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (text != NULL, FALSE);
#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = text;
#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = string_contains (_tmp0_, TAG_PATH_SEPARATOR_STRING);
#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_) {
#line 1997 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = FALSE;
#line 1997 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 15934 "Dialogs.c"
	}
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = text;
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_ = g_strsplit (_tmp2_, ",", 0);
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5__length1 = _vala_array_length (_tmp3_);
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = tag_prep_tag_names (_tmp5_, _vala_array_length (_tmp3_), &_tmp6_);
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = _tmp7_;
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8__length1 = _tmp6_;
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL);
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	names = _tmp8_;
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	names_length1 = _tmp8__length1;
#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_names_size_ = names_length1;
#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = names;
#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9__length1 = names_length1;
#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp9__length1 > 0;
#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
	names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL);
#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 15968 "Dialogs.c"
}


static void add_tags_dialog_class_init (AddTagsDialogClass * klass) {
#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala"
	add_tags_dialog_parent_class = g_type_class_peek_parent (klass);
#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((TextEntryDialogMediatorClass *) klass)->on_modify_validate = (gboolean (*)(TextEntryDialogMediator*, const gchar*)) add_tags_dialog_real_on_modify_validate;
#line 15977 "Dialogs.c"
}


static void add_tags_dialog_instance_init (AddTagsDialog * self) {
}


GType add_tags_dialog_get_type (void) {
	static volatile gsize add_tags_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&add_tags_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AddTagsDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) add_tags_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AddTagsDialog), 0, (GInstanceInitFunc) add_tags_dialog_instance_init, NULL };
		GType add_tags_dialog_type_id;
		add_tags_dialog_type_id = g_type_register_static (TYPE_TAGS_DIALOG, "AddTagsDialog", &g_define_type_info, 0);
		g_once_init_leave (&add_tags_dialog_type_id__volatile, add_tags_dialog_type_id);
	}
	return add_tags_dialog_type_id__volatile;
}


ModifyTagsDialog* modify_tags_dialog_construct (GType object_type, MediaSource* source) {
	ModifyTagsDialog* self = NULL;
	const gchar* _tmp0_ = NULL;
	MediaSource* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 2008 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_MEDIA_SOURCE (source), NULL);
#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _ ("Tags (separated by commas):");
#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = source;
#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = modify_tags_dialog_get_initial_text (_tmp1_);
#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (ModifyTagsDialog*) tags_dialog_construct (object_type, RESOURCES_MODIFY_TAGS_LABEL, _tmp0_, _tmp3_);
#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp3_);
#line 2008 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 16019 "Dialogs.c"
}


ModifyTagsDialog* modify_tags_dialog_new (MediaSource* source) {
#line 2008 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return modify_tags_dialog_construct (TYPE_MODIFY_TAGS_DIALOG, source);
#line 16026 "Dialogs.c"
}


static gchar* modify_tags_dialog_get_initial_text (MediaSource* source) {
	gchar* result = NULL;
	GeeCollection* source_tags = NULL;
	TagSourceCollection* _tmp0_ = NULL;
	MediaSource* _tmp1_ = NULL;
	GeeList* _tmp2_ = NULL;
	GeeCollection* _tmp3_ = NULL;
	GeeCollection* terminal_tags = NULL;
	GeeCollection* _tmp4_ = NULL;
	GeeCollection* _tmp5_ = NULL;
	GeeSortedSet* tag_basenames = NULL;
	GeeTreeSet* _tmp6_ = NULL;
	gchar* text = NULL;
#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_MEDIA_SOURCE (source), NULL);
#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = tag_global;
#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = source;
#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = tag_source_collection_fetch_for_source (_tmp0_, _tmp1_);
#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
	source_tags = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = source_tags;
#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_ == NULL) {
#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = NULL;
#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (source_tags);
#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 16063 "Dialogs.c"
	}
#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = source_tags;
#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = tag_get_terminal_tags (_tmp4_);
#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
	terminal_tags = _tmp5_;
#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tag_basenames = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_SORTED_SET, GeeSortedSet);
#line 16075 "Dialogs.c"
	{
		GeeIterator* _tag_it = NULL;
		GeeCollection* _tmp7_ = NULL;
		GeeIterator* _tmp8_ = NULL;
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = terminal_tags;
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tag_it = _tmp8_;
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 16088 "Dialogs.c"
			GeeIterator* _tmp9_ = NULL;
			gboolean _tmp10_ = FALSE;
			Tag* tag = NULL;
			GeeIterator* _tmp11_ = NULL;
			gpointer _tmp12_ = NULL;
			GeeSortedSet* _tmp13_ = NULL;
			Tag* _tmp14_ = NULL;
			gchar* _tmp15_ = NULL;
			gchar* _tmp16_ = NULL;
			gchar* _tmp17_ = NULL;
			gchar* _tmp18_ = NULL;
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp9_ = _tag_it;
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp10_ = gee_iterator_next (_tmp9_);
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!_tmp10_) {
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 16108 "Dialogs.c"
			}
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp11_ = _tag_it;
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = gee_iterator_get (_tmp11_);
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
			tag = (Tag*) _tmp12_;
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp13_ = tag_basenames;
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp14_ = tag;
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp15_ = tag_get_path (_tmp14_);
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp16_ = _tmp15_;
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp17_ = hierarchical_tag_utilities_get_basename (_tmp16_);
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = _tmp17_;
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection), _tmp18_);
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (_tmp18_);
#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (_tmp16_);
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (tag);
#line 16136 "Dialogs.c"
		}
#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tag_it);
#line 16140 "Dialogs.c"
	}
#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text = NULL;
#line 16144 "Dialogs.c"
	{
		GeeIterator* _name_it = NULL;
		GeeSortedSet* _tmp19_ = NULL;
		GeeIterator* _tmp20_ = NULL;
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = tag_basenames;
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ITERABLE, GeeIterable));
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_name_it = _tmp20_;
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 16157 "Dialogs.c"
			GeeIterator* _tmp21_ = NULL;
			gboolean _tmp22_ = FALSE;
			gchar* name = NULL;
			GeeIterator* _tmp23_ = NULL;
			gpointer _tmp24_ = NULL;
			const gchar* _tmp25_ = NULL;
			const gchar* _tmp29_ = NULL;
			const gchar* _tmp30_ = NULL;
			gchar* _tmp31_ = NULL;
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp21_ = _name_it;
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = gee_iterator_next (_tmp21_);
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!_tmp22_) {
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 16175 "Dialogs.c"
			}
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = _name_it;
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp24_ = gee_iterator_get (_tmp23_);
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
			name = (gchar*) _tmp24_;
#line 2026 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp25_ = text;
#line 2026 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp25_ == NULL) {
#line 16187 "Dialogs.c"
				gchar* _tmp26_ = NULL;
#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp26_ = g_strdup ("");
#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (text);
#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala"
				text = _tmp26_;
#line 16195 "Dialogs.c"
			} else {
				const gchar* _tmp27_ = NULL;
				gchar* _tmp28_ = NULL;
#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp27_ = text;
#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp28_ = g_strconcat (_tmp27_, ", ", NULL);
#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (text);
#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
				text = _tmp28_;
#line 16207 "Dialogs.c"
			}
#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp29_ = text;
#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp30_ = name;
#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp31_ = g_strconcat (_tmp29_, _tmp30_, NULL);
#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (text);
#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
			text = _tmp31_;
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (name);
#line 16221 "Dialogs.c"
		}
#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_name_it);
#line 16225 "Dialogs.c"
	}
#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = text;
#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (tag_basenames);
#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (terminal_tags);
#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (source_tags);
#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 16237 "Dialogs.c"
}


GeeArrayList* modify_tags_dialog_execute (ModifyTagsDialog* self) {
	GeeArrayList* result = NULL;
	gchar* text = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GeeArrayList* new_tags = NULL;
	GeeArrayList* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	gchar** tag_names = NULL;
	const gchar* _tmp5_ = NULL;
	gchar** _tmp6_ = NULL;
	gchar** _tmp7_ = NULL;
	gchar** _tmp8_ = NULL;
	gint _tmp8__length1 = 0;
	gint _tmp9_ = 0;
	gchar** _tmp10_ = NULL;
	gchar** _tmp11_ = NULL;
	gint _tmp11__length1 = 0;
	gint tag_names_length1 = 0;
	gint _tag_names_size_ = 0;
	HierarchicalTagIndex* _tmp12_ = NULL;
	HierarchicalTagIndex* _tmp13_ = NULL;
	gchar** _tmp14_ = NULL;
	gint _tmp14__length1 = 0;
	gint _tmp15_ = 0;
	gchar** _tmp16_ = NULL;
	gchar** _tmp17_ = NULL;
	gint _tmp17__length1 = 0;
#line 2037 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_MODIFY_TAGS_DIALOG (self), NULL);
#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text = _tmp0_;
#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = text;
#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_ == NULL) {
#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = NULL;
#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 16286 "Dialogs.c"
	}
#line 2042 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gee_array_list_new (TYPE_TAG, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 2042 "/home/jens/Source/shotwell/src/Dialogs.vala"
	new_tags = _tmp2_;
#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = text;
#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = is_string_empty (_tmp3_);
#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp4_) {
#line 2046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = new_tags;
#line 2046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (text);
#line 2046 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 16304 "Dialogs.c"
	}
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = text;
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_ = g_strsplit (_tmp5_, ",", 0);
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = _tmp7_;
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8__length1 = _vala_array_length (_tmp6_);
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = tag_prep_tag_names (_tmp8_, _vala_array_length (_tmp6_), &_tmp9_);
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = _tmp10_;
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11__length1 = _tmp9_;
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL);
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tag_names = _tmp11_;
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tag_names_length1 = _tmp11__length1;
#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tag_names_size_ = tag_names_length1;
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = hierarchical_tag_index_get_global_index ();
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = _tmp12_;
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = tag_names;
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14__length1 = tag_names_length1;
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = hierarchical_tag_index_get_paths_for_names_array (_tmp13_, _tmp14_, _tmp14__length1, &_tmp15_);
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tag_names = (_vala_array_free (tag_names, tag_names_length1, (GDestroyNotify) g_free), NULL);
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tag_names = _tmp16_;
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tag_names_length1 = _tmp15_;
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tag_names_size_ = tag_names_length1;
#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_hierarchical_tag_index_unref0 (_tmp13_);
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = tag_names;
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17__length1 = tag_names_length1;
#line 16352 "Dialogs.c"
	{
		gchar** name_collection = NULL;
		gint name_collection_length1 = 0;
		gint _name_collection_size_ = 0;
		gint name_it = 0;
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
		name_collection = _tmp17_;
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
		name_collection_length1 = _tmp17__length1;
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
		for (name_it = 0; name_it < _tmp17__length1; name_it = name_it + 1) {
#line 16364 "Dialogs.c"
			gchar* _tmp18_ = NULL;
			gchar* name = NULL;
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp18_ = g_strdup (name_collection[name_it]);
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
			name = _tmp18_;
#line 16371 "Dialogs.c"
			{
				GeeArrayList* _tmp19_ = NULL;
				const gchar* _tmp20_ = NULL;
				Tag* _tmp21_ = NULL;
				Tag* _tmp22_ = NULL;
#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp19_ = new_tags;
#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp20_ = name;
#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp21_ = tag_for_path (_tmp20_);
#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp22_ = _tmp21_;
#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
				gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp22_);
#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_tmp22_);
#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (name);
#line 16391 "Dialogs.c"
			}
		}
	}
#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = new_tags;
#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	tag_names = (_vala_array_free (tag_names, tag_names_length1, (GDestroyNotify) g_free), NULL);
#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (text);
#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 16403 "Dialogs.c"
}


static gboolean modify_tags_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text) {
	ModifyTagsDialog * self;
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MODIFY_TAGS_DIALOG, ModifyTagsDialog);
#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (text != NULL, FALSE);
#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = text;
#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = string_contains (_tmp0_, TAG_PATH_SEPARATOR_STRING);
#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = !_tmp1_;
#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 16424 "Dialogs.c"
}


static void modify_tags_dialog_class_init (ModifyTagsDialogClass * klass) {
#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala"
	modify_tags_dialog_parent_class = g_type_class_peek_parent (klass);
#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((TextEntryDialogMediatorClass *) klass)->on_modify_validate = (gboolean (*)(TextEntryDialogMediator*, const gchar*)) modify_tags_dialog_real_on_modify_validate;
#line 16433 "Dialogs.c"
}


static void modify_tags_dialog_instance_init (ModifyTagsDialog * self) {
}


GType modify_tags_dialog_get_type (void) {
	static volatile gsize modify_tags_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&modify_tags_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (ModifyTagsDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) modify_tags_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ModifyTagsDialog), 0, (GInstanceInitFunc) modify_tags_dialog_instance_init, NULL };
		GType modify_tags_dialog_type_id;
		modify_tags_dialog_type_id = g_type_register_static (TYPE_TAGS_DIALOG, "ModifyTagsDialog", &g_define_type_info, 0);
		g_once_init_leave (&modify_tags_dialog_type_id__volatile, modify_tags_dialog_type_id);
	}
	return modify_tags_dialog_type_id__volatile;
}


gchar* welcome_service_entry_get_service_name (WelcomeServiceEntry* self) {
#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_WELCOME_SERVICE_ENTRY (self), NULL);
#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return WELCOME_SERVICE_ENTRY_GET_INTERFACE (self)->get_service_name (self);
#line 16458 "Dialogs.c"
}


void welcome_service_entry_execute (WelcomeServiceEntry* self) {
#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_WELCOME_SERVICE_ENTRY (self));
#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala"
	WELCOME_SERVICE_ENTRY_GET_INTERFACE (self)->execute (self);
#line 16467 "Dialogs.c"
}


static void welcome_service_entry_base_init (WelcomeServiceEntryIface * iface) {
#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala"
	static gboolean initialized = FALSE;
#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!initialized) {
#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala"
		initialized = TRUE;
#line 16478 "Dialogs.c"
	}
}


GType welcome_service_entry_get_type (void) {
	static volatile gsize welcome_service_entry_type_id__volatile = 0;
	if (g_once_init_enter (&welcome_service_entry_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (WelcomeServiceEntryIface), (GBaseInitFunc) welcome_service_entry_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType welcome_service_entry_type_id;
		welcome_service_entry_type_id = g_type_register_static (G_TYPE_INTERFACE, "WelcomeServiceEntry", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (welcome_service_entry_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&welcome_service_entry_type_id__volatile, welcome_service_entry_type_id);
	}
	return welcome_service_entry_type_id__volatile;
}


WelcomeDialog* welcome_dialog_construct (GType object_type, GtkWindow* owner) {
	WelcomeDialog * self = NULL;
	SpitDataImportsWelcomeImportMetaHost* _tmp0_ = NULL;
	gboolean show_system_pictures_import = FALSE;
	gboolean _tmp1_ = FALSE;
	GtkWidget* ok_button = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	GtkWindow* _tmp5_ = NULL;
	GtkLabel* primary_text = NULL;
	GtkLabel* _tmp6_ = NULL;
	GtkLabel* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	GtkLabel* _tmp11_ = NULL;
	GtkLabel* _tmp12_ = NULL;
	GtkLabel* _tmp13_ = NULL;
	GtkLabel* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	gchar* _tmp16_ = NULL;
	gchar* _tmp17_ = NULL;
	GtkLabel* _tmp18_ = NULL;
	GtkLabel* _tmp19_ = NULL;
	GtkImage* image = NULL;
	GtkImage* _tmp20_ = NULL;
	GtkBox* header_text = NULL;
	GtkBox* _tmp21_ = NULL;
	GtkBox* _tmp22_ = NULL;
	GtkLabel* _tmp23_ = NULL;
	GtkBox* _tmp24_ = NULL;
	GtkLabel* _tmp25_ = NULL;
	GtkBox* header_content = NULL;
	GtkBox* _tmp26_ = NULL;
	GtkBox* _tmp27_ = NULL;
	GtkImage* _tmp28_ = NULL;
	GtkBox* _tmp29_ = NULL;
	GtkBox* _tmp30_ = NULL;
	GtkLabel* instructions = NULL;
	GtkLabel* _tmp31_ = NULL;
	gchar* indent_prefix = NULL;
	gchar* _tmp32_ = NULL;
	const gchar* _tmp33_ = NULL;
	GtkTextDirection _tmp34_ = 0;
	gchar* arrow_glyph = NULL;
	gchar* _tmp35_ = NULL;
	GtkLabel* _tmp36_ = NULL;
	const gchar* _tmp37_ = NULL;
	gchar* _tmp38_ = NULL;
	gchar* _tmp39_ = NULL;
	const gchar* _tmp40_ = NULL;
	gchar* _tmp41_ = NULL;
	gchar* _tmp42_ = NULL;
	gchar* _tmp43_ = NULL;
	gchar* _tmp44_ = NULL;
	const gchar* _tmp45_ = NULL;
	gchar* _tmp46_ = NULL;
	gchar* _tmp47_ = NULL;
	gchar* _tmp48_ = NULL;
	gchar* _tmp49_ = NULL;
	const gchar* _tmp50_ = NULL;
	const gchar* _tmp51_ = NULL;
	gchar* _tmp52_ = NULL;
	gchar* _tmp53_ = NULL;
	const gchar* _tmp54_ = NULL;
	const gchar* _tmp55_ = NULL;
	gchar* _tmp56_ = NULL;
	gchar* _tmp57_ = NULL;
	GtkLabel* _tmp58_ = NULL;
	GtkLabel* _tmp59_ = NULL;
	GtkBox* _tmp60_ = NULL;
	GtkBox* _tmp61_ = NULL;
	GtkBox* _tmp62_ = NULL;
	GtkBox* _tmp63_ = NULL;
	gboolean _tmp64_ = FALSE;
	const gchar* _tmp76_ = NULL;
	GtkLabel* _tmp77_ = NULL;
	GtkLabel* _tmp78_ = NULL;
	GtkLabel* _tmp79_ = NULL;
	GtkLabel* _tmp80_ = NULL;
	GtkBox* content = NULL;
	GtkBox* _tmp81_ = NULL;
	GtkBox* _tmp82_ = NULL;
	GtkBox* _tmp83_ = NULL;
	GtkBox* _tmp84_ = NULL;
	GtkLabel* _tmp85_ = NULL;
	const gchar* _tmp86_ = NULL;
	GtkCheckButton* _tmp87_ = NULL;
	GtkCheckButton* _tmp88_ = NULL;
	GtkCheckButton* _tmp89_ = NULL;
	GtkBox* _tmp90_ = NULL;
	GtkWidget* _tmp91_ = NULL;
	SpitDataImportsWelcomeImportMetaHost* _tmp92_ = NULL;
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (GTK_IS_WINDOW (owner), NULL);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (WelcomeDialog*) g_object_new (object_type, NULL);
#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = spit_data_imports_welcome_import_meta_host_new (self);
#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->import_meta_host);
#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->import_meta_host = _tmp0_;
#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = welcome_dialog_is_system_pictures_import_possible ();
#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala"
	show_system_pictures_import = _tmp1_;
#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK);
#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala"
	ok_button = _tmp3_;
#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _ ("Welcome!");
#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_);
#line 2090 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 2091 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = owner;
#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp5_);
#line 2094 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = (GtkLabel*) gtk_label_new ("");
#line 2094 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp6_);
#line 2094 "/home/jens/Source/shotwell/src/Dialogs.vala"
	primary_text = _tmp6_;
#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = primary_text;
#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = _ ("Welcome to Shotwell!");
#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = g_strdup_printf ("<span size=\"large\" weight=\"bold\">%s</span>", _tmp8_);
#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_markup (_tmp7_, _tmp10_);
#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp10_);
#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = primary_text;
#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_xalign (_tmp11_, 0.0f);
#line 2098 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = primary_text;
#line 2098 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_yalign (_tmp12_, 0.5f);
#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = (GtkLabel*) gtk_label_new ("");
#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp13_);
#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->secondary_text);
#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->secondary_text = _tmp13_;
#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = self->priv->secondary_text;
#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = _ ("To get started, import photos in any of these ways:");
#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = g_strdup_printf ("<span weight=\"normal\">%s</span>", _tmp15_);
#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = _tmp16_;
#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_markup (_tmp14_, _tmp17_);
#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp17_);
#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = self->priv->secondary_text;
#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_xalign (_tmp18_, 0.0f);
#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = self->priv->secondary_text;
#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_yalign (_tmp19_, 0.5f);
#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = (GtkImage*) gtk_image_new_from_icon_name ("shotwell", GTK_ICON_SIZE_DIALOG);
#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp20_);
#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
	image = _tmp20_;
#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp21_);
#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala"
	header_text = _tmp21_;
#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = header_text;
#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = primary_text;
#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 5);
#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = header_text;
#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = self->priv->secondary_text;
#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp26_);
#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
	header_content = _tmp26_;
#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = header_content;
#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = image;
#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp27_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = header_content;
#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = header_text;
#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (_tmp29_, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = (GtkLabel*) gtk_label_new ("");
#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp31_);
#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
	instructions = _tmp31_;
#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = g_strdup ("   ");
#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala"
	indent_prefix = _tmp32_;
#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp34_ = gtk_widget_get_direction (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp34_ == GTK_TEXT_DIR_RTL) {
#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = "◂";
#line 16734 "Dialogs.c"
	} else {
#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = "▸";
#line 16738 "Dialogs.c"
	}
#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp35_ = g_strdup (_tmp33_);
#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
	arrow_glyph = _tmp35_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp36_ = instructions;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp37_ = indent_prefix;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp38_ = g_strconcat (_tmp37_, "&#8226; %s\n", NULL);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp39_ = _tmp38_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp40_ = indent_prefix;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp41_ = g_strconcat (_tmp40_, "&#8226; %s\n", NULL);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp42_ = _tmp41_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp43_ = g_strconcat (_tmp39_, _tmp42_, NULL);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp44_ = _tmp43_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp45_ = indent_prefix;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp46_ = g_strconcat (_tmp45_, "&#8226; %s", NULL);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp47_ = _tmp46_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp48_ = g_strconcat (_tmp44_, _tmp47_, NULL);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp49_ = _tmp48_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp50_ = _ ("Choose <span weight=\"bold\">File %s Import From Folder</span>");
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp51_ = arrow_glyph;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp52_ = g_strdup_printf (_tmp50_, _tmp51_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp53_ = _tmp52_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp54_ = _ ("Drag and drop photos onto the Shotwell window");
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp55_ = _ ("Connect a camera to your computer and import");
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp56_ = g_strdup_printf (_tmp49_, _tmp53_, _tmp54_, _tmp55_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp57_ = _tmp56_;
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_markup (_tmp36_, _tmp57_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp57_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp53_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp49_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp47_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp44_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp42_);
#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp39_);
#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp58_ = instructions;
#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_xalign (_tmp58_, 0.0f);
#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp59_ = instructions;
#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_yalign (_tmp59_, 0.5f);
#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp60_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp60_);
#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->import_action_checkbox_packer);
#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->import_action_checkbox_packer = _tmp60_;
#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp61_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp61_);
#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->external_import_action_checkbox_packer);
#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_import_action_checkbox_packer = _tmp61_;
#line 2130 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp62_ = self->priv->import_action_checkbox_packer;
#line 2130 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp63_ = self->priv->external_import_action_checkbox_packer;
#line 2130 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, gtk_widget_get_type (), GtkWidget));
#line 2132 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp64_ = show_system_pictures_import;
#line 2132 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp64_) {
#line 16838 "Dialogs.c"
		const gchar* _tmp65_ = NULL;
		GFile* _tmp66_ = NULL;
		GFile* _tmp67_ = NULL;
		gchar* _tmp68_ = NULL;
		gchar* _tmp69_ = NULL;
		gchar* _tmp70_ = NULL;
		gchar* _tmp71_ = NULL;
		GtkCheckButton* _tmp72_ = NULL;
		GtkBox* _tmp73_ = NULL;
		GtkCheckButton* _tmp74_ = NULL;
		GtkCheckButton* _tmp75_ = NULL;
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp65_ = _ ("_Import photos from your %s folder");
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp66_ = app_dirs_get_import_dir ();
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp67_ = _tmp66_;
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp68_ = get_display_pathname (_tmp67_);
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp69_ = _tmp68_;
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp70_ = g_strdup_printf (_tmp65_, _tmp69_);
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp71_ = _tmp70_;
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp72_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp71_);
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp72_);
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (self->priv->system_pictures_import_check);
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->system_pictures_import_check = _tmp72_;
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp71_);
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp69_);
#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp67_);
#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp73_ = self->priv->import_action_checkbox_packer;
#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp74_ = self->priv->system_pictures_import_check;
#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget));
#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp75_ = self->priv->system_pictures_import_check;
#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 16888 "Dialogs.c"
	}
#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp76_ = _ ("You can also import photos in any of these ways:");
#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp77_ = (GtkLabel*) gtk_label_new (_tmp76_);
#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp77_);
#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->instruction_header);
#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->instruction_header = _tmp77_;
#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp78_ = self->priv->instruction_header;
#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_xalign (_tmp78_, 0.0f);
#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp79_ = self->priv->instruction_header;
#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_yalign (_tmp79_, 0.5f);
#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp80_ = self->priv->instruction_header;
#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, gtk_widget_get_type (), GtkWidget), 20);
#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp81_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 16);
#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp81_);
#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
	content = _tmp81_;
#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp82_ = header_content;
#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp83_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp83_);
#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->import_content);
#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->import_content = _tmp83_;
#line 2149 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp84_ = self->priv->import_content;
#line 2149 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp84_, gtk_widget_get_type (), GtkWidget));
#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp85_ = instructions;
#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp85_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp86_ = _ ("_Don’t show this message again");
#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp87_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp86_);
#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp87_);
#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->hide_button);
#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->hide_button = _tmp87_;
#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp88_ = self->priv->hide_button;
#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp89_ = self->priv->hide_button;
#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp89_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
#line 2155 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
#line 2157 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), FALSE);
#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), FALSE);
#line 2159 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 12);
#line 2160 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 0);
#line 2161 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 12);
#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 12);
#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp90_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp91_ = ok_button;
#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_grab_focus (_tmp91_);
#line 2168 "/home/jens/Source/shotwell/src/Dialogs.vala"
	welcome_dialog_install_import_content (self);
#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp92_ = self->priv->import_meta_host;
#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala"
	spit_data_imports_welcome_import_meta_host_start (_tmp92_);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (content);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (arrow_glyph);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (indent_prefix);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (instructions);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (header_content);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (header_text);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (image);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (primary_text);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (ok_button);
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 17006 "Dialogs.c"
}


WelcomeDialog* welcome_dialog_new (GtkWindow* owner) {
#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return welcome_dialog_construct (TYPE_WELCOME_DIALOG, owner);
#line 17013 "Dialogs.c"
}


static void welcome_dialog_install_import_content (WelcomeDialog* self) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GtkCheckButton** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
#line 2173 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_WELCOME_DIALOG (self));
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->external_import_checks;
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2__length1 = self->priv->external_import_checks_length1;
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2__length1 > 0) {
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = TRUE;
#line 17032 "Dialogs.c"
	} else {
		GtkCheckButton* _tmp3_ = NULL;
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = self->priv->system_pictures_import_check;
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = _tmp3_ != NULL;
#line 17039 "Dialogs.c"
	}
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_) {
#line 17043 "Dialogs.c"
		gboolean _tmp4_ = FALSE;
#line 2176 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = self->priv->import_content_already_installed;
#line 2176 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp4_ == FALSE;
#line 17049 "Dialogs.c"
	} else {
#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = FALSE;
#line 17053 "Dialogs.c"
	}
#line 2174 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 17057 "Dialogs.c"
		GtkLabel* _tmp5_ = NULL;
		GtkBox* _tmp6_ = NULL;
		GtkBox* _tmp7_ = NULL;
		GtkBox* _tmp8_ = NULL;
		GtkLabel* _tmp9_ = NULL;
#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = self->priv->secondary_text;
#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_label_set_markup (_tmp5_, "");
#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = self->priv->import_content;
#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = self->priv->import_action_checkbox_packer;
#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = self->priv->import_content;
#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = self->priv->instruction_header;
#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
#line 2181 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->import_content_already_installed = TRUE;
#line 17081 "Dialogs.c"
	}
}


static void _vala_array_add109 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value) {
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if ((*length) == (*size)) {
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*array = g_renew (WelcomeServiceEntry*, *array, (*size) + 1);
#line 17093 "Dialogs.c"
	}
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	(*array)[(*length)++] = value;
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	(*array)[*length] = NULL;
#line 17099 "Dialogs.c"
}


static void _vala_array_add110 (GtkCheckButton*** array, int* length, int* size, GtkCheckButton* value) {
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if ((*length) == (*size)) {
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*array = g_renew (GtkCheckButton*, *array, (*size) + 1);
#line 17110 "Dialogs.c"
	}
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
	(*array)[(*length)++] = value;
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
	(*array)[*length] = NULL;
#line 17116 "Dialogs.c"
}


void welcome_dialog_install_service_entry (WelcomeDialog* self, WelcomeServiceEntry* entry) {
	WelcomeServiceEntry* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	WelcomeServiceEntry** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	WelcomeServiceEntry* _tmp6_ = NULL;
	WelcomeServiceEntry* _tmp7_ = NULL;
	GtkCheckButton* entry_check = NULL;
	const gchar* _tmp8_ = NULL;
	WelcomeServiceEntry* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	GtkCheckButton* _tmp14_ = NULL;
	GtkCheckButton* _tmp15_ = NULL;
	GtkCheckButton** _tmp16_ = NULL;
	gint _tmp16__length1 = 0;
	GtkCheckButton* _tmp17_ = NULL;
	GtkBox* _tmp18_ = NULL;
#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_WELCOME_DIALOG (self));
#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_WELCOME_SERVICE_ENTRY (entry));
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = entry;
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = welcome_service_entry_get_service_name (_tmp0_);
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_;
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = g_strdup_printf ("WelcomeDialog: Installing service entry for %s", _tmp2_);
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_;
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_debug ("Dialogs.vala:2186: %s", _tmp4_);
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp4_);
#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp2_);
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = self->priv->external_import_entries;
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5__length1 = self->priv->external_import_entries_length1;
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = entry;
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_array_add109 (&self->priv->external_import_entries, &self->priv->external_import_entries_length1, &self->priv->_external_import_entries_size_, _tmp7_);
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = _ ("Import photos from your %s library");
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = entry;
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = welcome_service_entry_get_service_name (_tmp9_);
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = _tmp10_;
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = g_strdup_printf (_tmp8_, _tmp11_);
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = _tmp12_;
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = (GtkCheckButton*) gtk_check_button_new_with_label (_tmp13_);
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp14_);
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = _tmp14_;
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp13_);
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp11_);
#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
	entry_check = _tmp15_;
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = self->priv->external_import_checks;
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16__length1 = self->priv->external_import_checks_length1;
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = _g_object_ref0 (entry_check);
#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_array_add110 (&self->priv->external_import_checks, &self->priv->external_import_checks_length1, &self->priv->_external_import_checks_size_, _tmp17_);
#line 2191 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (entry_check, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 2192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = self->priv->external_import_action_checkbox_packer;
#line 2192 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (entry_check, gtk_widget_get_type (), GtkWidget));
#line 2193 "/home/jens/Source/shotwell/src/Dialogs.vala"
	welcome_dialog_install_import_content (self);
#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (entry_check);
#line 17215 "Dialogs.c"
}


/**
     * Connected to the 'response' signal.  This is part of a workaround
     * for the fact that run()-ning this dialog can interfere with displaying
     * images from a camera; please see #4997 for details.
     */
static void welcome_dialog_on_dismiss (WelcomeDialog* self, gint resp) {
	gint _tmp0_ = 0;
#line 2201 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_WELCOME_DIALOG (self));
#line 2202 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = resp;
#line 2202 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 2203 "/home/jens/Source/shotwell/src/Dialogs.vala"
		self->priv->ok_clicked = TRUE;
#line 17234 "Dialogs.c"
	}
#line 2205 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 2206 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_main_quit ();
#line 17240 "Dialogs.c"
}


static void _welcome_dialog_on_dismiss_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 2212 "/home/jens/Source/shotwell/src/Dialogs.vala"
	welcome_dialog_on_dismiss ((WelcomeDialog*) self, response_id);
#line 17247 "Dialogs.c"
}


static void _vala_array_add111 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value) {
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if ((*length) == (*size)) {
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*array = g_renew (WelcomeServiceEntry*, *array, (*size) + 1);
#line 17258 "Dialogs.c"
	}
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
	(*array)[(*length)++] = value;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
	(*array)[*length] = NULL;
#line 17264 "Dialogs.c"
}


static WelcomeServiceEntry** _vala_array_dup29 (WelcomeServiceEntry** self, int length) {
	WelcomeServiceEntry** result;
	int i;
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = g_new0 (WelcomeServiceEntry*, length + 1);
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	for (i = 0; i < length; i++) {
#line 17275 "Dialogs.c"
		WelcomeServiceEntry* _tmp0_ = NULL;
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _g_object_ref0 (self[i]);
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result[i] = _tmp0_;
#line 17281 "Dialogs.c"
	}
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 17285 "Dialogs.c"
}


gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** selected_import_entries, int* selected_import_entries_length1, gboolean* do_system_pictures_import) {
	WelcomeServiceEntry** _vala_selected_import_entries = NULL;
	int _vala_selected_import_entries_length1 = 0;
	gboolean _vala_do_system_pictures_import = FALSE;
	gboolean result = FALSE;
	guint _tmp0_ = 0U;
	gboolean ok = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean show_dialog = FALSE;
	gboolean _tmp2_ = FALSE;
	WelcomeServiceEntry** _result_ = NULL;
	WelcomeServiceEntry** _tmp5_ = NULL;
	gint _result__length1 = 0;
	gint __result__size_ = 0;
	WelcomeServiceEntry** _tmp19_ = NULL;
	gint _tmp19__length1 = 0;
	WelcomeServiceEntry** _tmp20_ = NULL;
	gint _tmp20__length1 = 0;
	gboolean _tmp21_ = FALSE;
	GtkCheckButton* _tmp22_ = NULL;
#line 2209 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_WELCOME_DIALOG (self), FALSE);
#line 2212 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), "response", (GCallback) _welcome_dialog_on_dismiss_gtk_dialog_response, self, 0);
#line 2213 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 2214 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 2219 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_main ();
#line 2223 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_parse_name ("response", gtk_dialog_get_type (), &_tmp0_, NULL, FALSE);
#line 2223 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _welcome_dialog_on_dismiss_gtk_dialog_response, self);
#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->ok_clicked;
#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala"
	ok = _tmp1_;
#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala"
	show_dialog = TRUE;
#line 2228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = ok;
#line 2228 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_) {
#line 17333 "Dialogs.c"
		GtkCheckButton* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = self->priv->hide_button;
#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala"
		show_dialog = !_tmp4_;
#line 17342 "Dialogs.c"
	}
#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = g_new0 (WelcomeServiceEntry*, 0 + 1);
#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = _tmp5_;
#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result__length1 = 0;
#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
	__result__size_ = _result__length1;
#line 17352 "Dialogs.c"
	{
		gint i = 0;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
		i = 0;
#line 17357 "Dialogs.c"
		{
			gboolean _tmp6_ = FALSE;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp6_ = TRUE;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 17364 "Dialogs.c"
				gint _tmp8_ = 0;
				WelcomeServiceEntry** _tmp9_ = NULL;
				gint _tmp9__length1 = 0;
				GtkCheckButton** _tmp10_ = NULL;
				gint _tmp10__length1 = 0;
				gint _tmp11_ = 0;
				GtkCheckButton* _tmp12_ = NULL;
				gboolean _tmp13_ = FALSE;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!_tmp6_) {
#line 17375 "Dialogs.c"
					gint _tmp7_ = 0;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp7_ = i;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
					i = _tmp7_ + 1;
#line 17381 "Dialogs.c"
				}
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp6_ = FALSE;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp8_ = i;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp9_ = self->priv->external_import_entries;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp9__length1 = self->priv->external_import_entries_length1;
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp8_ < _tmp9__length1)) {
#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 17395 "Dialogs.c"
				}
#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp10_ = self->priv->external_import_checks;
#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp10__length1 = self->priv->external_import_checks_length1;
#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp11_ = i;
#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp12_ = _tmp10_[_tmp11_];
#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (_tmp13_ == TRUE) {
#line 17409 "Dialogs.c"
					WelcomeServiceEntry** _tmp14_ = NULL;
					gint _tmp14__length1 = 0;
					WelcomeServiceEntry** _tmp15_ = NULL;
					gint _tmp15__length1 = 0;
					gint _tmp16_ = 0;
					WelcomeServiceEntry* _tmp17_ = NULL;
					WelcomeServiceEntry* _tmp18_ = NULL;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp14_ = _result_;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp14__length1 = _result__length1;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp15_ = self->priv->external_import_entries;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp15__length1 = self->priv->external_import_entries_length1;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp16_ = i;
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp17_ = _tmp15_[_tmp16_];
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp18_ = _g_object_ref0 (_tmp17_);
#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_vala_array_add111 (&_result_, &_result__length1, &__result__size_, _tmp18_);
#line 17433 "Dialogs.c"
				}
			}
		}
	}
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = _result_;
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19__length1 = _result__length1;
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = (_tmp19_ != NULL) ? _vala_array_dup29 (_tmp19_, _tmp19__length1) : ((gpointer) _tmp19_);
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20__length1 = _tmp19__length1;
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_selected_import_entries = (_vala_array_free (_vala_selected_import_entries, _vala_selected_import_entries_length1, (GDestroyNotify) g_object_unref), NULL);
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_selected_import_entries = _tmp20_;
#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_selected_import_entries_length1 = _tmp20__length1;
#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = self->priv->system_pictures_import_check;
#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp22_ != NULL) {
#line 17456 "Dialogs.c"
		GtkCheckButton* _tmp23_ = NULL;
		gboolean _tmp24_ = FALSE;
#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp23_ = self->priv->system_pictures_import_check;
#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = _tmp24_;
#line 17465 "Dialogs.c"
	} else {
#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = FALSE;
#line 17469 "Dialogs.c"
	}
#line 2238 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_do_system_pictures_import = _tmp21_;
#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = show_dialog;
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_object_unref), NULL);
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (selected_import_entries) {
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*selected_import_entries = _vala_selected_import_entries;
#line 17483 "Dialogs.c"
	} else {
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_vala_selected_import_entries = (_vala_array_free (_vala_selected_import_entries, _vala_selected_import_entries_length1, (GDestroyNotify) g_object_unref), NULL);
#line 17487 "Dialogs.c"
	}
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (selected_import_entries_length1) {
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*selected_import_entries_length1 = _vala_selected_import_entries_length1;
#line 17493 "Dialogs.c"
	}
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (do_system_pictures_import) {
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*do_system_pictures_import = _vala_do_system_pictures_import;
#line 17499 "Dialogs.c"
	}
#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 17503 "Dialogs.c"
}


static gboolean welcome_dialog_is_system_pictures_import_possible (void) {
	gboolean result = FALSE;
	GFile* system_pictures = NULL;
	GFile* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	GFile* _tmp3_ = NULL;
	GFileType _tmp4_ = 0;
	gboolean _tmp13_ = FALSE;
	GError * _inner_error_ = NULL;
#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = app_dirs_get_import_dir ();
#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
	system_pictures = _tmp0_;
#line 2248 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = system_pictures;
#line 2248 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = g_file_query_exists (_tmp1_, NULL);
#line 2248 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp2_) {
#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = FALSE;
#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (system_pictures);
#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 17533 "Dialogs.c"
	}
#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = system_pictures;
#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_file_query_file_type (_tmp3_, G_FILE_QUERY_INFO_NONE, NULL);
#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!(_tmp4_ == G_FILE_TYPE_DIRECTORY)) {
#line 2252 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = FALSE;
#line 2252 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (system_pictures);
#line 2252 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 17547 "Dialogs.c"
	}
	{
		GFileEnumerator* syspics_child_enum = NULL;
		GFile* _tmp5_ = NULL;
		GFileEnumerator* _tmp6_ = NULL;
		GFileInfo* _tmp7_ = NULL;
		GFileEnumerator* _tmp8_ = NULL;
		GFileInfo* _tmp9_ = NULL;
		GFileInfo* _tmp10_ = NULL;
		GFileInfo* _tmp11_ = NULL;
		gboolean _tmp12_ = FALSE;
#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = system_pictures;
#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = g_file_enumerate_children (_tmp5_, "standard::*", G_FILE_QUERY_INFO_NONE, NULL, &_inner_error_);
#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
		syspics_child_enum = _tmp6_;
#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17567 "Dialogs.c"
			goto __catch426_g_error;
		}
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = syspics_child_enum;
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = g_file_enumerator_next_file (_tmp8_, NULL, &_inner_error_);
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = _tmp9_;
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (syspics_child_enum);
#line 17580 "Dialogs.c"
			goto __catch426_g_error;
		}
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp7_;
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = NULL;
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = _tmp10_;
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = _tmp11_ != NULL;
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp11_);
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = _tmp12_;
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp7_);
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (syspics_child_enum);
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (system_pictures);
#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 17603 "Dialogs.c"
	}
	goto __finally426;
	__catch426_g_error:
	{
		GError* e = NULL;
#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
		e = _inner_error_;
#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_inner_error_ = NULL;
#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = FALSE;
#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_error_free0 (e);
#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (system_pictures);
#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 17621 "Dialogs.c"
	}
	__finally426:
#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (system_pictures);
#line 2254 "/home/jens/Source/shotwell/src/Dialogs.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 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_clear_error (&_inner_error_);
#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return _tmp13_;
#line 17632 "Dialogs.c"
}


static void welcome_dialog_class_init (WelcomeDialogClass * klass) {
#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
	welcome_dialog_parent_class = g_type_class_peek_parent (klass);
#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (WelcomeDialogPrivate));
#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (klass)->finalize = welcome_dialog_finalize;
#line 17643 "Dialogs.c"
}


static void welcome_dialog_instance_init (WelcomeDialog * self) {
	GtkCheckButton** _tmp0_ = NULL;
	WelcomeServiceEntry** _tmp1_ = NULL;
#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = WELCOME_DIALOG_GET_PRIVATE (self);
#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->system_pictures_import_check = NULL;
#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = g_new0 (GtkCheckButton*, 0 + 1);
#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_import_checks = _tmp0_;
#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_import_checks_length1 = 0;
#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->_external_import_checks_size_ = self->priv->external_import_checks_length1;
#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = g_new0 (WelcomeServiceEntry*, 0 + 1);
#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_import_entries = _tmp1_;
#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_import_entries_length1 = 0;
#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->_external_import_entries_size_ = self->priv->external_import_entries_length1;
#line 2082 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->import_content_already_installed = FALSE;
#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->ok_clicked = FALSE;
#line 17674 "Dialogs.c"
}


static void welcome_dialog_finalize (GObject* obj) {
	WelcomeDialog * self;
#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_WELCOME_DIALOG, WelcomeDialog);
#line 2072 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->hide_button);
#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->system_pictures_import_check);
#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_import_checks = (_vala_array_free (self->priv->external_import_checks, self->priv->external_import_checks_length1, (GDestroyNotify) g_object_unref), NULL);
#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_import_entries = (_vala_array_free (self->priv->external_import_entries, self->priv->external_import_entries_length1, (GDestroyNotify) g_object_unref), NULL);
#line 2076 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->secondary_text);
#line 2077 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->instruction_header);
#line 2078 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->import_content);
#line 2079 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->import_action_checkbox_packer);
#line 2080 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->external_import_action_checkbox_packer);
#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->import_meta_host);
#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_OBJECT_CLASS (welcome_dialog_parent_class)->finalize (obj);
#line 17704 "Dialogs.c"
}


GType welcome_dialog_get_type (void) {
	static volatile gsize welcome_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&welcome_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (WelcomeDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) welcome_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (WelcomeDialog), 0, (GInstanceInitFunc) welcome_dialog_instance_init, NULL };
		GType welcome_dialog_type_id;
		welcome_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "WelcomeDialog", &g_define_type_info, 0);
		g_once_init_leave (&welcome_dialog_type_id__volatile, welcome_dialog_type_id);
	}
	return welcome_dialog_type_id__volatile;
}


static gboolean _preferences_dialog_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = preferences_dialog_on_delete ((PreferencesDialog*) self);
#line 2308 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 17725 "Dialogs.c"
}


static void _preferences_dialog_on_close_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_close ((PreferencesDialog*) self);
#line 17732 "Dialogs.c"
}


static void _preferences_dialog_on_value_changed_gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) {
#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_value_changed ((PreferencesDialog*) self);
#line 17739 "Dialogs.c"
}


static gboolean _preferences_dialog_on_bg_color_reset_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
	gboolean result;
	result = preferences_dialog_on_bg_color_reset ((PreferencesDialog*) self, event);
#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 17748 "Dialogs.c"
}


static gboolean _preferences_dialog_on_local_pattern_help_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self) {
	gboolean result;
	result = preferences_dialog_on_local_pattern_help ((PreferencesDialog*) self, uri);
#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 17757 "Dialogs.c"
}


static void _preferences_dialog_on_dir_pattern_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_dir_pattern_combo_changed ((PreferencesDialog*) self);
#line 17764 "Dialogs.c"
}


static void _preferences_dialog_on_dir_pattern_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_dir_pattern_entry_changed ((PreferencesDialog*) self);
#line 17771 "Dialogs.c"
}


static void _preferences_dialog_on_lowercase_toggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_lowercase_toggled ((PreferencesDialog*) self);
#line 17778 "Dialogs.c"
}


static void _preferences_dialog_on_photo_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_photo_editor_changed ((PreferencesDialog*) self);
#line 17785 "Dialogs.c"
}


static void _preferences_dialog_on_raw_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_raw_editor_changed ((PreferencesDialog*) self);
#line 17792 "Dialogs.c"
}


static void _preferences_dialog_on_default_raw_developer_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_default_raw_developer_changed ((PreferencesDialog*) self);
#line 17799 "Dialogs.c"
}


static gboolean _preferences_dialog_map_event_gtk_widget_map_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = preferences_dialog_map_event ((PreferencesDialog*) self);
#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 17808 "Dialogs.c"
}


static PreferencesDialog* preferences_dialog_construct (GType object_type) {
	PreferencesDialog* self = NULL;
	GtkBuilder* _tmp0_ = NULL;
	GtkBuilder* _tmp1_ = NULL;
	GObject* _tmp2_ = NULL;
	GtkDialog* _tmp3_ = NULL;
	gboolean use_header = FALSE;
	GtkSettings* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	GtkDialog* _tmp8_ = NULL;
	AppWindow* _tmp9_ = NULL;
	AppWindow* _tmp10_ = NULL;
	GdkWindow* _tmp11_ = NULL;
	GtkDialog* _tmp12_ = NULL;
	AppWindow* _tmp13_ = NULL;
	AppWindow* _tmp14_ = NULL;
	GtkDialog* _tmp15_ = NULL;
	GtkDialog* _tmp16_ = NULL;
	GtkBuilder* _tmp17_ = NULL;
	GObject* _tmp18_ = NULL;
	GtkAdjustment* _tmp19_ = NULL;
	GtkAdjustment* _tmp20_ = NULL;
	GtkAdjustment* _tmp21_ = NULL;
	gdouble _tmp22_ = 0.0;
	ConfigFacade* _tmp23_ = NULL;
	ConfigFacade* _tmp24_ = NULL;
	GdkRGBA _tmp25_ = {0};
	gdouble _tmp26_ = 0.0;
	GtkAdjustment* _tmp27_ = NULL;
	GtkBuilder* _tmp28_ = NULL;
	GObject* _tmp29_ = NULL;
	GtkScale* _tmp30_ = NULL;
	GtkScale* _tmp31_ = NULL;
	GtkBuilder* _tmp32_ = NULL;
	GObject* _tmp33_ = NULL;
	GtkFileChooserButton* _tmp34_ = NULL;
	GtkBuilder* _tmp35_ = NULL;
	GObject* _tmp36_ = NULL;
	GtkComboBox* _tmp37_ = NULL;
	GtkBuilder* _tmp38_ = NULL;
	GObject* _tmp39_ = NULL;
	GtkComboBox* _tmp40_ = NULL;
	GtkLabel* pattern_help = NULL;
	GtkBuilder* _tmp41_ = NULL;
	GObject* _tmp42_ = NULL;
	GtkLabel* _tmp43_ = NULL;
	gchar* help_path = NULL;
	gchar* _tmp44_ = NULL;
	const gchar* _tmp45_ = NULL;
	GtkBuilder* _tmp59_ = NULL;
	GObject* _tmp60_ = NULL;
	GtkComboBoxText* _tmp61_ = NULL;
	GtkBuilder* _tmp62_ = NULL;
	GObject* _tmp63_ = NULL;
	GtkEntry* _tmp64_ = NULL;
	GtkBuilder* _tmp65_ = NULL;
	GObject* _tmp66_ = NULL;
	GtkLabel* _tmp67_ = NULL;
	const gchar* _tmp68_ = NULL;
	gchar* _tmp69_ = NULL;
	gchar* _tmp70_ = NULL;
	const gchar* _tmp71_ = NULL;
	gchar* _tmp72_ = NULL;
	gchar* _tmp73_ = NULL;
	const gchar* _tmp74_ = NULL;
	gchar* _tmp75_ = NULL;
	gchar* _tmp76_ = NULL;
	const gchar* _tmp77_ = NULL;
	const gchar* _tmp78_ = NULL;
	GtkComboBoxText* _tmp79_ = NULL;
	GtkEntry* _tmp80_ = NULL;
	GtkBuilder* _tmp81_ = NULL;
	GObject* _tmp82_ = NULL;
	GtkComboBoxText* _tmp83_ = NULL;
	GtkBuilder* _tmp84_ = NULL;
	GObject* _tmp85_ = NULL;
	GtkCheckButton* _tmp86_ = NULL;
	GtkCheckButton* _tmp87_ = NULL;
	GtkNotebook* notebook = NULL;
	GtkBuilder* _tmp88_ = NULL;
	GObject* _tmp89_ = NULL;
	GtkNotebook* _tmp90_ = NULL;
	GtkWidget* _tmp91_ = NULL;
	PluginsManifestWidgetMediator* _tmp92_ = NULL;
	GtkWidget* _tmp93_ = NULL;
	GtkWidget* _tmp94_ = NULL;
	GtkComboBox* _tmp95_ = NULL;
	GtkComboBox* _tmp96_ = NULL;
	GtkCheckButton* auto_import_button = NULL;
	GtkBuilder* _tmp97_ = NULL;
	GObject* _tmp98_ = NULL;
	GtkCheckButton* _tmp99_ = NULL;
	ConfigFacade* _tmp100_ = NULL;
	ConfigFacade* _tmp101_ = NULL;
	gboolean _tmp102_ = FALSE;
	GtkCheckButton* commit_metadata_button = NULL;
	GtkBuilder* _tmp103_ = NULL;
	GObject* _tmp104_ = NULL;
	GtkCheckButton* _tmp105_ = NULL;
	ConfigFacade* _tmp106_ = NULL;
	ConfigFacade* _tmp107_ = NULL;
	gboolean _tmp108_ = FALSE;
	GtkBuilder* _tmp109_ = NULL;
	GObject* _tmp110_ = NULL;
	GtkComboBoxText* _tmp111_ = NULL;
	GtkComboBoxText* _tmp112_ = NULL;
	gchar* _tmp113_ = NULL;
	gchar* _tmp114_ = NULL;
	GtkComboBoxText* _tmp115_ = NULL;
	gchar* _tmp116_ = NULL;
	gchar* _tmp117_ = NULL;
	ConfigFacade* _tmp118_ = NULL;
	ConfigFacade* _tmp119_ = NULL;
	RawDeveloper _tmp120_ = 0;
	GtkComboBoxText* _tmp121_ = NULL;
	GtkDialog* _tmp122_ = NULL;
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (PreferencesDialog*) g_type_create_instance (object_type);
#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = app_window_create_builder ("shotwell.ui", NULL);
#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->builder);
#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->builder = _tmp0_;
#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->builder;
#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_builder_get_object (_tmp1_, "preferences_dialog");
#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_dialog_get_type ()) ? ((GtkDialog*) _tmp2_) : NULL);
#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dialog);
#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->dialog = _tmp3_;
#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gtk_settings_get_default ();
#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = use_header;
#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp5_) {
#line 17954 "Dialogs.c"
		GtkWidget* null_titlebar = NULL;
		GtkDialog* _tmp6_ = NULL;
		GtkWidget* _tmp7_ = NULL;
#line 2303 "/home/jens/Source/shotwell/src/Dialogs.vala"
		null_titlebar = NULL;
#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = self->priv->dialog;
#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = null_titlebar;
#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_window_set_titlebar (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp7_);
#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (null_titlebar);
#line 17968 "Dialogs.c"
	}
#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = self->priv->dialog;
#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = app_window_get_instance ();
#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp11_);
#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp10_);
#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = self->priv->dialog;
#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = app_window_get_instance ();
#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _tmp13_;
#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow));
#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp14_);
#line 2308 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = self->priv->dialog;
#line 2308 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _preferences_dialog_on_delete_gtk_widget_delete_event, self);
#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = self->priv->dialog;
#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (_tmp16_, "response", (GCallback) _preferences_dialog_on_close_gtk_dialog_response, self);
#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = self->priv->builder;
#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = gtk_builder_get_object (_tmp17_, "bg_color_adjustment");
#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp18_, gtk_adjustment_get_type ()) ? ((GtkAdjustment*) _tmp18_) : NULL);
#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->bg_color_adjustment);
#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->bg_color_adjustment = _tmp19_;
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = self->priv->bg_color_adjustment;
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = self->priv->bg_color_adjustment;
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = gtk_adjustment_get_upper (_tmp21_);
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = config_facade_get_instance ();
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = _tmp23_;
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	config_facade_get_bg_color (_tmp24_, &_tmp25_);
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = _tmp25_.red;
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_adjustment_set_value (_tmp20_, _tmp22_ - (_tmp26_ * 65535.0));
#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp24_);
#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = self->priv->bg_color_adjustment;
#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (_tmp27_, "value-changed", (GCallback) _preferences_dialog_on_value_changed_gtk_adjustment_value_changed, self);
#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp28_ = self->priv->builder;
#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp29_ = gtk_builder_get_object (_tmp28_, "bg_color_slider");
#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, gtk_scale_get_type ()) ? ((GtkScale*) _tmp29_) : NULL);
#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->bg_color_slider);
#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->bg_color_slider = _tmp30_;
#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp31_ = self->priv->bg_color_slider;
#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _preferences_dialog_on_bg_color_reset_gtk_widget_button_press_event, self);
#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = self->priv->builder;
#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp33_ = gtk_builder_get_object (_tmp32_, "library_dir_button");
#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp34_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp33_, gtk_file_chooser_button_get_type ()) ? ((GtkFileChooserButton*) _tmp33_) : NULL);
#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->library_dir_button);
#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->library_dir_button = _tmp34_;
#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp35_ = self->priv->builder;
#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp36_ = gtk_builder_get_object (_tmp35_, "external_photo_editor_combo");
#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp37_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp36_, gtk_combo_box_get_type ()) ? ((GtkComboBox*) _tmp36_) : NULL);
#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->photo_editor_combo);
#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->photo_editor_combo = _tmp37_;
#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp38_ = self->priv->builder;
#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp39_ = gtk_builder_get_object (_tmp38_, "external_raw_editor_combo");
#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp39_, gtk_combo_box_get_type ()) ? ((GtkComboBox*) _tmp39_) : NULL);
#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->raw_editor_combo);
#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->raw_editor_combo = _tmp40_;
#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp41_ = self->priv->builder;
#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp42_ = gtk_builder_get_object (_tmp41_, "pattern_help");
#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp43_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp42_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp42_) : NULL);
#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
	pattern_help = _tmp43_;
#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp44_ = resources_get_help_path ();
#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
	help_path = _tmp44_;
#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp45_ = help_path;
#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp45_ == NULL) {
#line 18092 "Dialogs.c"
		GtkLabel* _tmp46_ = NULL;
		const gchar* _tmp47_ = NULL;
		gchar* _tmp48_ = NULL;
		gchar* _tmp49_ = NULL;
		gchar* _tmp50_ = NULL;
		gchar* _tmp51_ = NULL;
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp46_ = pattern_help;
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp47_ = _ ("(Help)");
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp48_ = g_strconcat ("<a href=\"" RESOURCES_DIR_PATTERN_URI_SYSWIDE "\">", _tmp47_, NULL);
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp49_ = _tmp48_;
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp50_ = g_strconcat (_tmp49_, "</a>", NULL);
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp51_ = _tmp50_;
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_label_set_markup (_tmp46_, _tmp51_);
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp51_);
#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp49_);
#line 18117 "Dialogs.c"
	} else {
		GtkLabel* _tmp52_ = NULL;
		const gchar* _tmp53_ = NULL;
		gchar* _tmp54_ = NULL;
		gchar* _tmp55_ = NULL;
		gchar* _tmp56_ = NULL;
		gchar* _tmp57_ = NULL;
		GtkLabel* _tmp58_ = NULL;
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp52_ = pattern_help;
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp53_ = _ ("(Help)");
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp54_ = g_strconcat ("<a href=\"dummy:\">", _tmp53_, NULL);
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp55_ = _tmp54_;
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp56_ = g_strconcat (_tmp55_, "</a>", NULL);
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp57_ = _tmp56_;
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_label_set_markup (_tmp52_, _tmp57_);
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp57_);
#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (_tmp55_);
#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp58_ = pattern_help;
#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_signal_connect (_tmp58_, "activate-link", (GCallback) _preferences_dialog_on_local_pattern_help_gtk_label_activate_link, self);
#line 18148 "Dialogs.c"
	}
#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp59_ = self->priv->builder;
#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp60_ = gtk_builder_get_object (_tmp59_, "dir choser");
#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp61_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp60_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp60_) : NULL);
#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dir_pattern_combo);
#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->dir_pattern_combo = _tmp61_;
#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp62_ = self->priv->builder;
#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp63_ = gtk_builder_get_object (_tmp62_, "dir_pattern_entry");
#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp64_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp63_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp63_) : NULL);
#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dir_pattern_entry);
#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->dir_pattern_entry = _tmp64_;
#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp65_ = self->priv->builder;
#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp66_ = gtk_builder_get_object (_tmp65_, "dynamic example");
#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp67_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp66_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp66_) : NULL);
#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dir_pattern_example);
#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->dir_pattern_example = _tmp67_;
#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp68_ = _ ("Year%sMonth%sDay");
#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp69_ = g_strdup_printf (_tmp68_, G_DIR_SEPARATOR_S, G_DIR_SEPARATOR_S);
#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp70_ = _tmp69_;
#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_add_to_dir_formats (self, _tmp70_, "%Y" G_DIR_SEPARATOR_S "%m" G_DIR_SEPARATOR_S "%d");
#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp70_);
#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp71_ = _ ("Year%sMonth");
#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp72_ = g_strdup_printf (_tmp71_, G_DIR_SEPARATOR_S);
#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp73_ = _tmp72_;
#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_add_to_dir_formats (self, _tmp73_, "%Y" G_DIR_SEPARATOR_S "%m");
#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp73_);
#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp74_ = _ ("Year%sMonth-Day");
#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp75_ = g_strdup_printf (_tmp74_, G_DIR_SEPARATOR_S);
#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp76_ = _tmp75_;
#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_add_to_dir_formats (self, _tmp76_, "%Y" G_DIR_SEPARATOR_S "%m-%d");
#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp76_);
#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp77_ = _ ("Year-Month-Day");
#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_add_to_dir_formats (self, _tmp77_, "%Y-%m-%d");
#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp78_ = _ ("Custom");
#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_add_to_dir_formats (self, _tmp78_, NULL);
#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp79_ = self->priv->dir_pattern_combo;
#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _preferences_dialog_on_dir_pattern_combo_changed_gtk_combo_box_changed, self);
#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp80_ = self->priv->dir_pattern_entry;
#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _preferences_dialog_on_dir_pattern_entry_changed_gtk_editable_changed, self);
#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp81_ = self->priv->builder;
#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp82_ = gtk_builder_get_object (_tmp81_, "dir_structure_label");
#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp83_ = self->priv->dir_pattern_combo;
#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_label_set_mnemonic_widget (G_TYPE_CHECK_INSTANCE_TYPE (_tmp82_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp82_) : NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, gtk_widget_get_type (), GtkWidget));
#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp84_ = self->priv->builder;
#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp85_ = gtk_builder_get_object (_tmp84_, "lowercase");
#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp86_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp85_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp85_) : NULL);
#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->lowercase);
#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->lowercase = _tmp86_;
#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp87_ = self->priv->lowercase;
#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _preferences_dialog_on_lowercase_toggled_gtk_toggle_button_toggled, self);
#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp88_ = self->priv->builder;
#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp89_ = gtk_builder_get_object (_tmp88_, "preferences-notebook");
#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp90_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp89_, gtk_notebook_get_type ()) ? ((GtkNotebook*) _tmp89_) : NULL);
#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
	notebook = _tmp90_;
#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp91_ = gtk_notebook_get_nth_page (notebook, 2);
#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp92_ = self->priv->plugins_mediator;
#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp93_ = plugins_manifest_widget_mediator_get_widget (_tmp92_);
#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp94_ = _tmp93_;
#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_container_add (G_TYPE_CHECK_INSTANCE_TYPE (_tmp91_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp91_) : NULL, _tmp94_);
#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_populate_preference_options (self);
#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp95_ = self->priv->photo_editor_combo;
#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (_tmp95_, "changed", (GCallback) _preferences_dialog_on_photo_editor_changed_gtk_combo_box_changed, self);
#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp96_ = self->priv->raw_editor_combo;
#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (_tmp96_, "changed", (GCallback) _preferences_dialog_on_raw_editor_changed_gtk_combo_box_changed, self);
#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp97_ = self->priv->builder;
#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp98_ = gtk_builder_get_object (_tmp97_, "autoimport");
#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp99_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp98_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp98_) : NULL);
#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
	auto_import_button = _tmp99_;
#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp100_ = config_facade_get_instance ();
#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp101_ = _tmp100_;
#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp102_ = configuration_facade_get_auto_import_from_library (G_TYPE_CHECK_INSTANCE_CAST (_tmp101_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (auto_import_button, gtk_toggle_button_get_type (), GtkToggleButton), _tmp102_);
#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp101_);
#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp103_ = self->priv->builder;
#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp104_ = gtk_builder_get_object (_tmp103_, "write_metadata");
#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp105_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp104_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp104_) : NULL);
#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
	commit_metadata_button = _tmp105_;
#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp106_ = config_facade_get_instance ();
#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp107_ = _tmp106_;
#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp108_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp107_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (commit_metadata_button, gtk_toggle_button_get_type (), GtkToggleButton), _tmp108_);
#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp107_);
#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp109_ = self->priv->builder;
#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp110_ = gtk_builder_get_object (_tmp109_, "default_raw_developer");
#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp111_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp110_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp110_) : NULL);
#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->default_raw_developer_combo);
#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->default_raw_developer_combo = _tmp111_;
#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp112_ = self->priv->default_raw_developer_combo;
#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp113_ = raw_developer_get_label (RAW_DEVELOPER_CAMERA);
#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp114_ = _tmp113_;
#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_text_append_text (_tmp112_, _tmp114_);
#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp114_);
#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp115_ = self->priv->default_raw_developer_combo;
#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp116_ = raw_developer_get_label (RAW_DEVELOPER_SHOTWELL);
#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp117_ = _tmp116_;
#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_text_append_text (_tmp115_, _tmp117_);
#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp117_);
#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp118_ = config_facade_get_instance ();
#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp119_ = _tmp118_;
#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp120_ = configuration_facade_get_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp119_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_set_raw_developer_combo (self, _tmp120_);
#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp119_);
#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp121_ = self->priv->default_raw_developer_combo;
#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _preferences_dialog_on_default_raw_developer_changed_gtk_combo_box_changed, self);
#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp122_ = self->priv->dialog;
#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp122_, gtk_widget_get_type (), GtkWidget), "map-event", (GCallback) _preferences_dialog_map_event_gtk_widget_map_event, self);
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (commit_metadata_button);
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (auto_import_button);
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (notebook);
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (help_path);
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (pattern_help);
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 18372 "Dialogs.c"
}


static PreferencesDialog* preferences_dialog_new (void) {
#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return preferences_dialog_construct (TYPE_PREFERENCES_DIALOG);
#line 18379 "Dialogs.c"
}


void preferences_dialog_populate_preference_options (PreferencesDialog* self) {
	GtkComboBox* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gchar** _tmp2_ = NULL;
	gchar** _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	ConfigFacade* _tmp4_ = NULL;
	ConfigFacade* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	SortedList* _tmp8_ = NULL;
	GtkComboBox* _tmp9_ = NULL;
	gint _tmp10_ = 0;
	gchar** _tmp11_ = NULL;
	gchar** _tmp12_ = NULL;
	gint _tmp12__length1 = 0;
	ConfigFacade* _tmp13_ = NULL;
	ConfigFacade* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
	gchar* _tmp16_ = NULL;
	SortedList* _tmp17_ = NULL;
	GtkComboBoxText* _tmp18_ = NULL;
	GtkEntry* _tmp19_ = NULL;
	GtkCheckButton* _tmp20_ = NULL;
	ConfigFacade* _tmp21_ = NULL;
	ConfigFacade* _tmp22_ = NULL;
	gboolean _tmp23_ = FALSE;
#line 2385 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->photo_editor_combo;
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = photo_file_format_get_editable_mime_types (&_tmp1_);
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3__length1 = _tmp1_;
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = config_facade_get_instance ();
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _tmp6_;
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_populate_app_combo_box (self, _tmp0_, _tmp3_, _tmp1_, _tmp7_, &_tmp8_);
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->external_photo_apps);
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_photo_apps = _tmp8_;
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp7_);
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp5_);
#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL);
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = self->priv->raw_editor_combo;
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = photo_file_format_get_mime_types (PHOTO_FILE_FORMAT_RAW, &_tmp10_);
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = _tmp11_;
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12__length1 = _tmp10_;
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = config_facade_get_instance ();
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _tmp13_;
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = configuration_facade_get_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = _tmp15_;
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_populate_app_combo_box (self, _tmp9_, _tmp12_, _tmp10_, _tmp16_, &_tmp17_);
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->external_raw_apps);
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->external_raw_apps = _tmp17_;
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp16_);
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp14_);
#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = (_vala_array_free (_tmp12_, _tmp12__length1, (GDestroyNotify) g_free), NULL);
#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = self->priv->dir_pattern_combo;
#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp19_ = self->priv->dir_pattern_entry;
#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_setup_dir_pattern (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_combo_box_get_type (), GtkComboBox), _tmp19_);
#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = self->priv->lowercase;
#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp21_ = config_facade_get_instance ();
#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = _tmp21_;
#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = configuration_facade_get_use_lowercase_filenames (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp23_);
#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp22_);
#line 18486 "Dialogs.c"
}


static gboolean preferences_dialog_on_local_pattern_help (PreferencesDialog* self, const gchar* ignore) {
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (ignore != NULL, FALSE);
#line 18497 "Dialogs.c"
	{
		AppWindow* _tmp0_ = NULL;
		AppWindow* _tmp1_ = NULL;
		GdkScreen* _tmp2_ = NULL;
#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = app_window_get_instance ();
#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = _tmp0_;
#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow));
#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
		resources_launch_help (_tmp2_, "other-files.page", &_inner_error_);
#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp1_);
#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 18514 "Dialogs.c"
			goto __catch427_g_error;
		}
	}
	goto __finally427;
	__catch427_g_error:
	{
		GError* e = NULL;
		GError* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
		e = _inner_error_;
#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_inner_error_ = NULL;
#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp3_ = e;
#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _tmp3_->message;
#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_message ("Dialogs.vala:2403: Unable to launch help: %s", _tmp4_);
#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_error_free0 (e);
#line 18536 "Dialogs.c"
	}
	__finally427:
#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 18541 "Dialogs.c"
		gboolean _tmp5_ = FALSE;
#line 2400 "/home/jens/Source/shotwell/src/Dialogs.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 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_clear_error (&_inner_error_);
#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return _tmp5_;
#line 18549 "Dialogs.c"
	}
#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 18555 "Dialogs.c"
}


static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self, GtkComboBox* combo_box, gchar** mime_types, int mime_types_length1, const gchar* current_app_executable, SortedList** external_apps) {
	SortedList* _vala_external_apps = NULL;
	gchar** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	gchar** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	SortedList* _tmp2_ = NULL;
	SortedList* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
	GtkCellRendererPixbuf* pixbuf_renderer = NULL;
	GtkCellRendererPixbuf* _tmp6_ = NULL;
	GtkCellRendererText* text_renderer = NULL;
	GtkCellRendererText* _tmp7_ = NULL;
	GtkComboBox* _tmp8_ = NULL;
	GtkComboBox* _tmp9_ = NULL;
	GtkCellRendererPixbuf* _tmp10_ = NULL;
	GtkComboBox* _tmp11_ = NULL;
	GtkCellRendererText* _tmp12_ = NULL;
	GtkComboBox* _tmp13_ = NULL;
	GtkCellRendererPixbuf* _tmp14_ = NULL;
	GtkComboBox* _tmp15_ = NULL;
	GtkCellRendererText* _tmp16_ = NULL;
	GtkListStore* combo_store = NULL;
	GtkListStore* _tmp17_ = NULL;
	GtkTreeIter iter = {0};
	gint current_app = 0;
	GtkComboBox* _tmp67_ = NULL;
	GtkListStore* _tmp68_ = NULL;
	gint _tmp69_ = 0;
	GError * _inner_error_ = NULL;
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (current_app_executable != NULL);
#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = mime_types;
#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0__length1 = mime_types_length1;
#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_assert (_tmp0__length1 != 0, "mime_types.length != 0");
#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = mime_types;
#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1__length1 = mime_types_length1;
#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = desktop_integration_get_apps_for_mime_types (_tmp1_, _tmp1__length1);
#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_vala_external_apps);
#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_vala_external_apps = _tmp2_;
#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _vala_external_apps;
#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_ == 0) {
#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (external_apps) {
#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
			*external_apps = _vala_external_apps;
#line 18624 "Dialogs.c"
		} else {
#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_vala_external_apps);
#line 18628 "Dialogs.c"
		}
#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return;
#line 18632 "Dialogs.c"
	}
#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp6_);
#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
	pixbuf_renderer = _tmp6_;
#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp7_);
#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala"
	text_renderer = _tmp7_;
#line 2420 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = combo_box;
#line 2420 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_cell_layout_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout));
#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = combo_box;
#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = pixbuf_renderer;
#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = combo_box;
#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = text_renderer;
#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = combo_box;
#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = pixbuf_renderer;
#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", 0);
#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = combo_box;
#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = text_renderer;
#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", 1);
#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = gtk_list_store_new (2, gdk_pixbuf_get_type (), G_TYPE_STRING, -1);
#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala"
	combo_store = _tmp17_;
#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala"
	current_app = -1;
#line 18680 "Dialogs.c"
	{
		GeeIterator* _app_it = NULL;
		SortedList* _tmp18_ = NULL;
		GeeIterator* _tmp19_ = NULL;
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = _vala_external_apps;
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ITERABLE, GeeIterable));
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_app_it = _tmp19_;
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
		while (TRUE) {
#line 18693 "Dialogs.c"
			GeeIterator* _tmp20_ = NULL;
			gboolean _tmp21_ = FALSE;
			GAppInfo* app = NULL;
			GeeIterator* _tmp22_ = NULL;
			gpointer _tmp23_ = NULL;
			GtkListStore* _tmp24_ = NULL;
			GtkTreeIter _tmp25_ = {0};
			GIcon* app_icon = NULL;
			GAppInfo* _tmp26_ = NULL;
			GIcon* _tmp27_ = NULL;
			GIcon* _tmp28_ = NULL;
			GtkListStore* _tmp56_ = NULL;
			GtkTreeIter _tmp57_ = {0};
			GAppInfo* _tmp58_ = NULL;
			const gchar* _tmp59_ = NULL;
			GValue _tmp60_ = {0};
			GAppInfo* _tmp61_ = NULL;
			const gchar* _tmp62_ = NULL;
			const gchar* _tmp63_ = NULL;
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp20_ = _app_it;
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp21_ = gee_iterator_next (_tmp20_);
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (!_tmp21_) {
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
				break;
#line 18721 "Dialogs.c"
			}
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp22_ = _app_it;
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp23_ = gee_iterator_get (_tmp22_);
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			app = (GAppInfo*) _tmp23_;
#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp24_ = combo_store;
#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_list_store_append (_tmp24_, &_tmp25_);
#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
			iter = _tmp25_;
#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp26_ = app;
#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp27_ = g_app_info_get_icon (_tmp26_);
#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp28_ = _g_object_ref0 (_tmp27_);
#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
			app_icon = _tmp28_;
#line 18743 "Dialogs.c"
			{
				GIcon* _tmp29_ = NULL;
#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp29_ = app_icon;
#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, g_file_icon_get_type ())) {
#line 18750 "Dialogs.c"
					GdkPixbuf* _tmp30_ = NULL;
					GIcon* _tmp31_ = NULL;
					GFile* _tmp32_ = NULL;
					gchar* _tmp33_ = NULL;
					gchar* _tmp34_ = NULL;
					GdkPixbuf* _tmp35_ = NULL;
					GdkPixbuf* _tmp36_ = NULL;
					GtkListStore* _tmp37_ = NULL;
					GtkTreeIter _tmp38_ = {0};
					GdkPixbuf* _tmp39_ = NULL;
					GValue _tmp40_ = {0};
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp31_ = app_icon;
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp32_ = g_file_icon_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, g_file_icon_get_type (), GFileIcon));
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp33_ = g_file_get_path (_tmp32_);
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp34_ = _tmp33_;
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp35_ = gdk_pixbuf_new_from_file (_tmp34_, &_inner_error_);
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp36_ = _tmp35_;
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_g_free0 (_tmp34_);
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp30_ = _tmp36_;
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 18780 "Dialogs.c"
						goto __catch428_g_error;
					}
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp37_ = combo_store;
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp38_ = iter;
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp39_ = scale_pixbuf (_tmp30_, RESOURCES_DEFAULT_ICON_SCALE, GDK_INTERP_BILINEAR, FALSE);
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					g_value_init (&_tmp40_, gdk_pixbuf_get_type ());
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					g_value_take_object (&_tmp40_, _tmp39_);
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					gtk_list_store_set_value (_tmp37_, &_tmp38_, 0, &_tmp40_);
#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
					G_IS_VALUE (&_tmp40_) ? (g_value_unset (&_tmp40_), NULL) : NULL;
#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_g_object_unref0 (_tmp30_);
#line 18799 "Dialogs.c"
				} else {
					GIcon* _tmp41_ = NULL;
#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp41_ = app_icon;
#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala"
					if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp41_, g_themed_icon_get_type ())) {
#line 18806 "Dialogs.c"
						GdkPixbuf* icon_pixbuf = NULL;
						GtkIconTheme* _tmp42_ = NULL;
						GIcon* _tmp43_ = NULL;
						gchar** _tmp44_ = NULL;
						gchar** _tmp45_ = NULL;
						const gchar* _tmp46_ = NULL;
						GdkPixbuf* _tmp47_ = NULL;
						GtkListStore* _tmp48_ = NULL;
						GtkTreeIter _tmp49_ = {0};
						GdkPixbuf* _tmp50_ = NULL;
						GValue _tmp51_ = {0};
#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp42_ = gtk_icon_theme_get_default ();
#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp43_ = app_icon;
#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp45_ = _tmp44_ = g_themed_icon_get_names (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, g_themed_icon_get_type (), GThemedIcon));
#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp46_ = _tmp45_[0];
#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp47_ = gtk_icon_theme_load_icon (_tmp42_, _tmp46_, RESOURCES_DEFAULT_ICON_SCALE, GTK_ICON_LOOKUP_FORCE_SIZE, &_inner_error_);
#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
						icon_pixbuf = _tmp47_;
#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 18832 "Dialogs.c"
							goto __catch428_g_error;
						}
#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp48_ = combo_store;
#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp49_ = iter;
#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_tmp50_ = icon_pixbuf;
#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
						g_value_init (&_tmp51_, gdk_pixbuf_get_type ());
#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
						g_value_set_object (&_tmp51_, _tmp50_);
#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
						gtk_list_store_set_value (_tmp48_, &_tmp49_, 0, &_tmp51_);
#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
						G_IS_VALUE (&_tmp51_) ? (g_value_unset (&_tmp51_), NULL) : NULL;
#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala"
						_g_object_unref0 (icon_pixbuf);
#line 18851 "Dialogs.c"
					}
				}
			}
			goto __finally428;
			__catch428_g_error:
			{
				GError* _error_ = NULL;
				GError* _tmp52_ = NULL;
				const gchar* _tmp53_ = NULL;
				gchar* _tmp54_ = NULL;
				gchar* _tmp55_ = NULL;
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_error_ = _inner_error_;
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_inner_error_ = NULL;
#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp52_ = _error_;
#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp53_ = _tmp52_->message;
#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp54_ = g_strconcat ("Error loading icon pixbuf: ", _tmp53_, NULL);
#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp55_ = _tmp54_;
#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_warning ("Dialogs.vala:2449: %s", _tmp55_);
#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (_tmp55_);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_error_free0 (_error_);
#line 18881 "Dialogs.c"
			}
			__finally428:
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (app_icon);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (app);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_app_it);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (combo_store);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (text_renderer);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (pixbuf_renderer);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.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 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				g_clear_error (&_inner_error_);
#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
				return;
#line 18904 "Dialogs.c"
			}
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp56_ = combo_store;
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp57_ = iter;
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp58_ = app;
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp59_ = g_app_info_get_name (_tmp58_);
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			g_value_init (&_tmp60_, G_TYPE_STRING);
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			g_value_set_string (&_tmp60_, _tmp59_);
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_list_store_set_value (_tmp56_, &_tmp57_, 1, &_tmp60_);
#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
			G_IS_VALUE (&_tmp60_) ? (g_value_unset (&_tmp60_), NULL) : NULL;
#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp61_ = app;
#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp62_ = g_app_info_get_commandline (_tmp61_);
#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp63_ = current_app_executable;
#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (g_strcmp0 (_tmp62_, _tmp63_) == 0) {
#line 18930 "Dialogs.c"
				SortedList* _tmp64_ = NULL;
				GAppInfo* _tmp65_ = NULL;
				gint _tmp66_ = 0;
#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp64_ = _vala_external_apps;
#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp65_ = app;
#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp66_ = sorted_list_index_of (_tmp64_, _tmp65_);
#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
				current_app = _tmp66_;
#line 18942 "Dialogs.c"
			}
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (app_icon);
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (app);
#line 18948 "Dialogs.c"
		}
#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_app_it);
#line 18952 "Dialogs.c"
	}
#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp67_ = combo_box;
#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp68_ = combo_store;
#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_set_model (_tmp67_, G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp69_ = current_app;
#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp69_ != -1) {
#line 18964 "Dialogs.c"
		GtkComboBox* _tmp70_ = NULL;
		gint _tmp71_ = 0;
#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp70_ = combo_box;
#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp71_ = current_app;
#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (_tmp70_, _tmp71_);
#line 18973 "Dialogs.c"
	}
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (combo_store);
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (text_renderer);
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (pixbuf_renderer);
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (external_apps) {
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*external_apps = _vala_external_apps;
#line 18985 "Dialogs.c"
	} else {
#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_vala_external_apps);
#line 18989 "Dialogs.c"
	}
}


static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkComboBox* combo_box, GtkEntry* entry) {
	gchar* pattern = NULL;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gboolean found = FALSE;
	const gchar* _tmp4_ = NULL;
	gboolean _tmp32_ = FALSE;
#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GTK_IS_ENTRY (entry));
#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = config_facade_get_instance ();
#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = configuration_facade_get_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp1_);
#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
	pattern = _tmp3_;
#line 2468 "/home/jens/Source/shotwell/src/Dialogs.vala"
	found = FALSE;
#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = pattern;
#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (NULL != _tmp4_) {
#line 19027 "Dialogs.c"
		gint i = 0;
#line 2471 "/home/jens/Source/shotwell/src/Dialogs.vala"
		i = 0;
#line 19031 "Dialogs.c"
		{
			GeeArrayList* _pf_list = NULL;
			GeeArrayList* _tmp5_ = NULL;
			GeeArrayList* _tmp6_ = NULL;
			gint _pf_size = 0;
			GeeArrayList* _tmp7_ = NULL;
			gint _tmp8_ = 0;
			gint _tmp9_ = 0;
			gint _pf_index = 0;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp5_ = self->priv->path_formats;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp6_ = _g_object_ref0 (_tmp5_);
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_pf_list = _tmp6_;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp7_ = _pf_list;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp8_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp9_ = _tmp8_;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_pf_size = _tmp9_;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_pf_index = -1;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			while (TRUE) {
#line 19059 "Dialogs.c"
				gint _tmp10_ = 0;
				gint _tmp11_ = 0;
				gint _tmp12_ = 0;
				PreferencesDialogPathFormat* pf = NULL;
				GeeArrayList* _tmp13_ = NULL;
				gint _tmp14_ = 0;
				gpointer _tmp15_ = NULL;
				PreferencesDialogPathFormat* _tmp16_ = NULL;
				const gchar* _tmp17_ = NULL;
				const gchar* _tmp18_ = NULL;
				gint _tmp21_ = 0;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp10_ = _pf_index;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_pf_index = _tmp10_ + 1;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp11_ = _pf_index;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp12_ = _pf_size;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (!(_tmp11_ < _tmp12_)) {
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 19083 "Dialogs.c"
				}
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp13_ = _pf_list;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp14_ = _pf_index;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp15_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp14_);
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				pf = (PreferencesDialogPathFormat*) _tmp15_;
#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp16_ = pf;
#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp17_ = _tmp16_->pattern;
#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp18_ = pattern;
#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
				if (g_strcmp0 (_tmp17_, _tmp18_) == 0) {
#line 19101 "Dialogs.c"
					GtkComboBox* _tmp19_ = NULL;
					gint _tmp20_ = 0;
#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp19_ = combo_box;
#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_tmp20_ = i;
#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala"
					gtk_combo_box_set_active (_tmp19_, _tmp20_);
#line 2475 "/home/jens/Source/shotwell/src/Dialogs.vala"
					found = TRUE;
#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
					_preferences_dialog_path_format_unref0 (pf);
#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
					break;
#line 19116 "Dialogs.c"
				}
#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp21_ = i;
#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala"
				i = _tmp21_ + 1;
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_preferences_dialog_path_format_unref0 (pf);
#line 19124 "Dialogs.c"
			}
#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (_pf_list);
#line 19128 "Dialogs.c"
		}
	} else {
		gchar* s = NULL;
		ConfigFacade* _tmp22_ = NULL;
		ConfigFacade* _tmp23_ = NULL;
		gchar* _tmp24_ = NULL;
		gchar* _tmp25_ = NULL;
		const gchar* _tmp26_ = NULL;
		gboolean _tmp27_ = FALSE;
#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = config_facade_get_instance ();
#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp23_ = _tmp22_;
#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = configuration_facade_get_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = _tmp24_;
#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp23_);
#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
		s = _tmp25_;
#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp26_ = s;
#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp27_ = is_string_empty (_tmp26_);
#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (!_tmp27_) {
#line 19156 "Dialogs.c"
			GtkComboBox* _tmp28_ = NULL;
			GeeArrayList* _tmp29_ = NULL;
			gint _tmp30_ = 0;
			gint _tmp31_ = 0;
#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp28_ = combo_box;
#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp29_ = self->priv->path_formats;
#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp30_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp31_ = _tmp30_;
#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
			gtk_combo_box_set_active (_tmp28_, _tmp31_ - 1);
#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala"
			found = TRUE;
#line 19173 "Dialogs.c"
		}
#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (s);
#line 19177 "Dialogs.c"
	}
#line 2489 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp32_ = found;
#line 2489 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp32_) {
#line 19183 "Dialogs.c"
		GtkComboBox* _tmp33_ = NULL;
#line 2490 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = combo_box;
#line 2490 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (_tmp33_, 0);
#line 19189 "Dialogs.c"
	}
#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_dir_pattern_combo_changed (self);
#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (pattern);
#line 19195 "Dialogs.c"
}


void preferences_dialog_show (void) {
	PreferencesDialog* _tmp0_ = NULL;
	PreferencesDialog* _tmp2_ = NULL;
	PreferencesDialog* _tmp3_ = NULL;
	GtkDialog* _tmp4_ = NULL;
	PreferencesDialog* _tmp5_ = NULL;
	GtkFileChooserButton* _tmp6_ = NULL;
	GFile* _tmp7_ = NULL;
	GFile* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	PreferencesDialog* _tmp11_ = NULL;
	GtkDialog* _tmp12_ = NULL;
#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = preferences_dialog_preferences_dialog;
#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == NULL) {
#line 19216 "Dialogs.c"
		PreferencesDialog* _tmp1_ = NULL;
#line 2498 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = preferences_dialog_new ();
#line 2498 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_preferences_dialog_unref0 (preferences_dialog_preferences_dialog);
#line 2498 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_preferences_dialog = _tmp1_;
#line 19224 "Dialogs.c"
	}
#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = preferences_dialog_preferences_dialog;
#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_populate_preference_options (_tmp2_);
#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = preferences_dialog_preferences_dialog;
#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _tmp3_->priv->dialog;
#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = preferences_dialog_preferences_dialog;
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _tmp5_->priv->library_dir_button;
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = app_dirs_get_import_dir ();
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = _tmp7_;
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = g_file_get_path (_tmp8_);
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = _tmp9_;
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp10_);
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp10_);
#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp8_);
#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = preferences_dialog_preferences_dialog;
#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = _tmp11_->priv->dialog;
#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow));
#line 19260 "Dialogs.c"
}


static void preferences_dialog_commit_on_close (PreferencesDialog* self) {
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	GtkCheckButton* autoimport = NULL;
	GtkBuilder* _tmp2_ = NULL;
	GObject* _tmp3_ = NULL;
	GtkCheckButton* _tmp4_ = NULL;
	GtkCheckButton* _tmp5_ = NULL;
	GtkCheckButton* commit_metadata = NULL;
	GtkBuilder* _tmp11_ = NULL;
	GObject* _tmp12_ = NULL;
	GtkCheckButton* _tmp13_ = NULL;
	GtkCheckButton* _tmp14_ = NULL;
	const gchar* _tmp20_ = NULL;
	PreferencesDialogPathFormat* pf = NULL;
	GeeArrayList* _tmp22_ = NULL;
	GtkComboBoxText* _tmp23_ = NULL;
	gint _tmp24_ = 0;
	gpointer _tmp25_ = NULL;
	PreferencesDialogPathFormat* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = config_facade_get_instance ();
#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
	config_facade_commit_bg_color (_tmp1_);
#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp1_);
#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->builder;
#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_builder_get_object (_tmp2_, "autoimport");
#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp3_) : NULL);
#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
	autoimport = _tmp4_;
#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = autoimport;
#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_ != NULL) {
#line 19307 "Dialogs.c"
		ConfigFacade* _tmp6_ = NULL;
		ConfigFacade* _tmp7_ = NULL;
		GtkCheckButton* _tmp8_ = NULL;
		gboolean _tmp9_ = FALSE;
		gboolean _tmp10_ = FALSE;
#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = config_facade_get_instance ();
#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = _tmp6_;
#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = autoimport;
#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp9_;
#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_auto_import_from_library (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp10_);
#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp7_);
#line 19327 "Dialogs.c"
	}
#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = self->priv->builder;
#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = gtk_builder_get_object (_tmp11_, "write_metadata");
#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp12_) : NULL);
#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
	commit_metadata = _tmp13_;
#line 2519 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = commit_metadata;
#line 2519 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp14_ != NULL) {
#line 19341 "Dialogs.c"
		ConfigFacade* _tmp15_ = NULL;
		ConfigFacade* _tmp16_ = NULL;
		GtkCheckButton* _tmp17_ = NULL;
		gboolean _tmp18_ = FALSE;
		gboolean _tmp19_ = FALSE;
#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = config_facade_get_instance ();
#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = _tmp15_;
#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = commit_metadata;
#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = _tmp18_;
#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp19_);
#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp16_);
#line 19361 "Dialogs.c"
	}
#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp20_ = self->priv->lib_dir;
#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp20_ != NULL) {
#line 19367 "Dialogs.c"
		const gchar* _tmp21_ = NULL;
#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = self->priv->lib_dir;
#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala"
		app_dirs_set_import_dir (_tmp21_);
#line 19373 "Dialogs.c"
	}
#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp22_ = self->priv->path_formats;
#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp23_ = self->priv->dir_pattern_combo;
#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp24_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_combo_box_get_type (), GtkComboBox));
#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp25_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp24_);
#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
	pf = (PreferencesDialogPathFormat*) _tmp25_;
#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp26_ = pf;
#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp27_ = _tmp26_->pattern;
#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (NULL == _tmp27_) {
#line 19391 "Dialogs.c"
		ConfigFacade* _tmp28_ = NULL;
		ConfigFacade* _tmp29_ = NULL;
		GtkEntry* _tmp30_ = NULL;
		const gchar* _tmp31_ = NULL;
		const gchar* _tmp32_ = NULL;
		ConfigFacade* _tmp33_ = NULL;
		ConfigFacade* _tmp34_ = NULL;
#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp28_ = config_facade_get_instance ();
#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp29_ = _tmp28_;
#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp30_ = self->priv->dir_pattern_entry;
#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp31_ = gtk_entry_get_text (_tmp30_);
#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp32_ = _tmp31_;
#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp32_);
#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp29_);
#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp33_ = config_facade_get_instance ();
#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp34_ = _tmp33_;
#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), NULL);
#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp34_);
#line 19421 "Dialogs.c"
	} else {
		ConfigFacade* _tmp35_ = NULL;
		ConfigFacade* _tmp36_ = NULL;
		PreferencesDialogPathFormat* _tmp37_ = NULL;
		const gchar* _tmp38_ = NULL;
#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp35_ = config_facade_get_instance ();
#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp36_ = _tmp35_;
#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp37_ = pf;
#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp38_ = _tmp37_->pattern;
#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
		configuration_facade_set_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp38_);
#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp36_);
#line 19439 "Dialogs.c"
	}
#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_preferences_dialog_path_format_unref0 (pf);
#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (commit_metadata);
#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (autoimport);
#line 19447 "Dialogs.c"
}


static gboolean preferences_dialog_on_delete (PreferencesDialog* self) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	GtkDialog* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = preferences_dialog_get_allow_closing (self);
#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp0_) {
#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = TRUE;
#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 19466 "Dialogs.c"
	}
#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_commit_on_close (self);
#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->dialog;
#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_widget_hide_on_delete (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp2_;
#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 19478 "Dialogs.c"
}


static void preferences_dialog_on_close (PreferencesDialog* self) {
	gboolean _tmp0_ = FALSE;
	GtkDialog* _tmp1_ = NULL;
#line 2542 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = preferences_dialog_get_allow_closing (self);
#line 2543 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp0_) {
#line 2544 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return;
#line 19493 "Dialogs.c"
	}
#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->dialog;
#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
#line 2547 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_commit_on_close (self);
#line 19501 "Dialogs.c"
}


static void preferences_dialog_on_value_changed (PreferencesDialog* self) {
	GtkAdjustment* _tmp0_ = NULL;
	gdouble _tmp1_ = 0.0;
	GtkAdjustment* _tmp2_ = NULL;
	gdouble _tmp3_ = 0.0;
#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->bg_color_adjustment;
#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_adjustment_get_upper (_tmp0_);
#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->bg_color_adjustment;
#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_adjustment_get_value (_tmp2_);
#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_set_background_color (self, ((gdouble) (_tmp1_ - _tmp3_)) / 65535.0);
#line 19522 "Dialogs.c"
}


static gboolean preferences_dialog_on_bg_color_reset (PreferencesDialog* self, GdkEventButton* event) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GdkEventButton* _tmp2_ = NULL;
	guint _tmp3_ = 0U;
#line 2555 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
#line 2555 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = event;
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_->button;
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_ == ((guint) 1)) {
#line 19542 "Dialogs.c"
		GdkEventButton* _tmp4_ = NULL;
		GdkEventType _tmp5_ = 0;
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = event;
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = _tmp4_->type;
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = _tmp5_ == GDK_BUTTON_PRESS;
#line 19551 "Dialogs.c"
	} else {
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = FALSE;
#line 19555 "Dialogs.c"
	}
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_) {
#line 19559 "Dialogs.c"
		GdkEventButton* _tmp6_ = NULL;
		GdkModifierType _tmp7_ = 0;
		gboolean _tmp8_ = FALSE;
#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = event;
#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = _tmp6_->state;
#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = has_only_key_modifier (_tmp7_, GDK_CONTROL_MASK);
#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp8_;
#line 19571 "Dialogs.c"
	} else {
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = FALSE;
#line 19575 "Dialogs.c"
	}
#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_) {
#line 19579 "Dialogs.c"
		GtkScale* _tmp9_ = NULL;
		GtkAdjustment* _tmp10_ = NULL;
		gdouble _tmp11_ = 0.0;
		GdkRGBA _tmp12_ = {0};
		gdouble _tmp13_ = 0.0;
#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = self->priv->bg_color_slider;
#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = self->priv->bg_color_adjustment;
#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = gtk_adjustment_get_upper (_tmp10_);
#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
		parse_color (CONFIG_FACADE_DEFAULT_BG_COLOR, &_tmp12_);
#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = _tmp12_.red;
#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_range_get_type (), GtkRange), _tmp11_ - (_tmp13_ * 65536.0f));
#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_on_value_changed (self);
#line 2563 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = TRUE;
#line 2563 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 19603 "Dialogs.c"
	}
#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = FALSE;
#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 19609 "Dialogs.c"
}


static void preferences_dialog_on_dir_pattern_combo_changed (PreferencesDialog* self) {
	PreferencesDialogPathFormat* pf = NULL;
	GeeArrayList* _tmp0_ = NULL;
	GtkComboBoxText* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	gpointer _tmp3_ = NULL;
	PreferencesDialogPathFormat* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->path_formats;
#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->dir_pattern_combo;
#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp2_);
#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
	pf = (PreferencesDialogPathFormat*) _tmp3_;
#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = pf;
#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_->pattern;
#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (NULL == _tmp5_) {
#line 19639 "Dialogs.c"
		gchar* dir_pattern = NULL;
		ConfigFacade* _tmp6_ = NULL;
		ConfigFacade* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
		gboolean _tmp11_ = FALSE;
		GtkEntry* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
		GtkEntry* _tmp15_ = NULL;
		GtkEntry* _tmp16_ = NULL;
#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = config_facade_get_instance ();
#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = _tmp6_;
#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = configuration_facade_get_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = _tmp8_;
#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp7_);
#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dir_pattern = _tmp9_;
#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = dir_pattern;
#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = is_string_empty (_tmp10_);
#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (_tmp11_) {
#line 19669 "Dialogs.c"
			gchar* _tmp12_ = NULL;
#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp12_ = g_strdup ("");
#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (dir_pattern);
#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala"
			dir_pattern = _tmp12_;
#line 19677 "Dialogs.c"
		}
#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = self->priv->dir_pattern_entry;
#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = dir_pattern;
#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_entry_set_text (_tmp13_, _tmp14_);
#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = self->priv->dir_pattern_entry;
#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_set (_tmp15_, "editable", TRUE, NULL);
#line 2578 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = self->priv->dir_pattern_entry;
#line 2578 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (dir_pattern);
#line 19695 "Dialogs.c"
	} else {
		GtkEntry* _tmp17_ = NULL;
		PreferencesDialogPathFormat* _tmp18_ = NULL;
		const gchar* _tmp19_ = NULL;
		GtkEntry* _tmp20_ = NULL;
		GtkEntry* _tmp21_ = NULL;
#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = self->priv->dir_pattern_entry;
#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = pf;
#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = _tmp18_->pattern;
#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_entry_set_text (_tmp17_, _tmp19_);
#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = self->priv->dir_pattern_entry;
#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_set (_tmp20_, "editable", FALSE, NULL);
#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = self->priv->dir_pattern_entry;
#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 19718 "Dialogs.c"
	}
#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_preferences_dialog_path_format_unref0 (pf);
#line 19722 "Dialogs.c"
}


static void preferences_dialog_on_dir_pattern_entry_changed (PreferencesDialog* self) {
	gchar* example = NULL;
	GDateTime* _tmp0_ = NULL;
	GtkEntry* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	const gchar* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->example_date;
#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->dir_pattern_entry;
#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_entry_get_text (_tmp1_);
#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = g_date_time_format (_tmp0_, _tmp3_);
#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
	example = _tmp4_;
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = example;
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = is_string_empty (_tmp6_);
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp7_) {
#line 19756 "Dialogs.c"
		GtkEntry* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
		gboolean _tmp11_ = FALSE;
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = self->priv->dir_pattern_entry;
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = gtk_entry_get_text (_tmp8_);
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp9_;
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp11_ = is_string_empty (_tmp10_);
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = !_tmp11_;
#line 19771 "Dialogs.c"
	} else {
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = FALSE;
#line 19775 "Dialogs.c"
	}
#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp5_) {
#line 19779 "Dialogs.c"
		GtkLabel* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
		GtkEntry* _tmp14_ = NULL;
		GtkEntry* _tmp15_ = NULL;
#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = self->priv->dir_pattern_example;
#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = _ ("Invalid pattern");
#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_label_set_text (_tmp12_, _tmp13_);
#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = self->priv->dir_pattern_entry;
#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_entry_set_icon_from_icon_name (_tmp14_, GTK_ENTRY_ICON_SECONDARY, "dialog-error");
#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = self->priv->dir_pattern_entry;
#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_entry_set_icon_activatable (_tmp15_, GTK_ENTRY_ICON_SECONDARY, FALSE);
#line 2593 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_set_allow_closing (self, FALSE);
#line 19800 "Dialogs.c"
	} else {
		GtkLabel* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
		GtkEntry* _tmp18_ = NULL;
#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = self->priv->dir_pattern_example;
#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = example;
#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_label_set_text (_tmp16_, _tmp17_);
#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = self->priv->dir_pattern_entry;
#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_entry_set_icon_from_icon_name (_tmp18_, GTK_ENTRY_ICON_SECONDARY, NULL);
#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_set_allow_closing (self, TRUE);
#line 19817 "Dialogs.c"
	}
#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (example);
#line 19821 "Dialogs.c"
}


static void preferences_dialog_set_allow_closing (PreferencesDialog* self, gboolean allow) {
	GtkDialog* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 2602 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->dialog;
#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = allow;
#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_deletable (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_window_get_type (), GtkWindow), _tmp1_);
#line 2604 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = allow;
#line 2604 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->allow_closing = _tmp2_;
#line 19841 "Dialogs.c"
}


static gboolean preferences_dialog_get_allow_closing (PreferencesDialog* self) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->allow_closing;
#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _tmp0_;
#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 19856 "Dialogs.c"
}


static void preferences_dialog_set_background_color (PreferencesDialog* self, gdouble bg_color_value) {
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	gdouble _tmp2_ = 0.0;
	GdkRGBA _tmp3_ = {0};
#line 2611 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = config_facade_get_instance ();
#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = bg_color_value;
#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_to_grayscale (self, _tmp2_, &_tmp3_);
#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
	config_facade_set_bg_color (_tmp1_, &_tmp3_);
#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp1_);
#line 19879 "Dialogs.c"
}


static void preferences_dialog_to_grayscale (PreferencesDialog* self, gdouble color_value, GdkRGBA* result) {
	GdkRGBA color = {0};
	gdouble _tmp0_ = 0.0;
	gdouble _tmp1_ = 0.0;
	gdouble _tmp2_ = 0.0;
#line 2615 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2616 "/home/jens/Source/shotwell/src/Dialogs.vala"
	memset (&color, 0, sizeof (GdkRGBA));
#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = color_value;
#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala"
	color.red = _tmp0_;
#line 2619 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = color_value;
#line 2619 "/home/jens/Source/shotwell/src/Dialogs.vala"
	color.green = _tmp1_;
#line 2620 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = color_value;
#line 2620 "/home/jens/Source/shotwell/src/Dialogs.vala"
	color.blue = _tmp2_;
#line 2621 "/home/jens/Source/shotwell/src/Dialogs.vala"
	color.alpha = 1.0;
#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala"
	*result = color;
#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return;
#line 19910 "Dialogs.c"
}


static void preferences_dialog_on_photo_editor_changed (PreferencesDialog* self) {
	gint _tmp0_ = 0;
	GtkComboBox* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	SortedList* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
	gint photo_app_choice_index = 0;
	GAppInfo* app = NULL;
	SortedList* _tmp11_ = NULL;
	gpointer _tmp12_ = NULL;
	ConfigFacade* _tmp13_ = NULL;
	ConfigFacade* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
	gchar* _tmp16_ = NULL;
	gchar* _tmp17_ = NULL;
	gchar* _tmp18_ = NULL;
#line 2626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->photo_editor_combo;
#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_combo_box_get_active (_tmp1_);
#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = self->priv->external_photo_apps;
#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_ < _tmp5_) {
#line 19945 "Dialogs.c"
		GtkComboBox* _tmp6_ = NULL;
		gint _tmp7_ = 0;
#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = self->priv->photo_editor_combo;
#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = gtk_combo_box_get_active (_tmp6_);
#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp7_;
#line 19954 "Dialogs.c"
	} else {
		SortedList* _tmp8_ = NULL;
		gint _tmp9_ = 0;
		gint _tmp10_ = 0;
#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = self->priv->external_photo_apps;
#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp9_;
#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp10_;
#line 19967 "Dialogs.c"
	}
#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
	photo_app_choice_index = _tmp0_;
#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = self->priv->external_photo_apps;
#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = sorted_list_get_at (_tmp11_, photo_app_choice_index);
#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
	app = (GAppInfo*) _tmp12_;
#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = config_facade_get_instance ();
#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _tmp13_;
#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = desktop_integration_get_app_open_command (app);
#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = _tmp15_;
#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
	configuration_facade_set_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp16_);
#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp16_);
#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp14_);
#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp17_ = desktop_integration_get_app_open_command (app);
#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp18_ = _tmp17_;
#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_debug ("Dialogs.vala:2634: setting external photo editor to: %s", _tmp18_);
#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (_tmp18_);
#line 2626 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (app);
#line 20001 "Dialogs.c"
}


static void preferences_dialog_on_raw_editor_changed (PreferencesDialog* self) {
	gint _tmp0_ = 0;
	GtkComboBox* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	SortedList* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
	gint raw_app_choice_index = 0;
	GAppInfo* app = NULL;
	SortedList* _tmp11_ = NULL;
	gpointer _tmp12_ = NULL;
	ConfigFacade* _tmp13_ = NULL;
	ConfigFacade* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = self->priv->raw_editor_combo;
#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gtk_combo_box_get_active (_tmp1_);
#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = self->priv->external_raw_apps;
#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_ < _tmp5_) {
#line 20034 "Dialogs.c"
		GtkComboBox* _tmp6_ = NULL;
		gint _tmp7_ = 0;
#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp6_ = self->priv->raw_editor_combo;
#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp7_ = gtk_combo_box_get_active (_tmp6_);
#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp7_;
#line 20043 "Dialogs.c"
	} else {
		SortedList* _tmp8_ = NULL;
		gint _tmp9_ = 0;
		gint _tmp10_ = 0;
#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = self->priv->external_raw_apps;
#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp10_ = _tmp9_;
#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp10_;
#line 20056 "Dialogs.c"
	}
#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
	raw_app_choice_index = _tmp0_;
#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = self->priv->external_raw_apps;
#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp12_ = sorted_list_get_at (_tmp11_, raw_app_choice_index);
#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala"
	app = (GAppInfo*) _tmp12_;
#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp13_ = config_facade_get_instance ();
#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp14_ = _tmp13_;
#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp15_ = g_app_info_get_commandline (app);
#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
	configuration_facade_set_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp15_);
#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp14_);
#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp16_ = g_app_info_get_commandline (app);
#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_debug ("Dialogs.vala:2645: setting external raw editor to: %s", _tmp16_);
#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (app);
#line 20082 "Dialogs.c"
}


static RawDeveloper preferences_dialog_raw_developer_from_combo (PreferencesDialog* self) {
	RawDeveloper result = 0;
	GtkComboBoxText* _tmp0_ = NULL;
	gint _tmp1_ = 0;
#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), 0);
#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->default_raw_developer_combo;
#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox));
#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp1_ == 0) {
#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result = RAW_DEVELOPER_CAMERA;
#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return result;
#line 20102 "Dialogs.c"
	}
#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = RAW_DEVELOPER_SHOTWELL;
#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 20108 "Dialogs.c"
}


static void preferences_dialog_set_raw_developer_combo (PreferencesDialog* self, RawDeveloper d) {
	RawDeveloper _tmp0_ = 0;
#line 2654 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = d;
#line 2655 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp0_ == RAW_DEVELOPER_CAMERA) {
#line 20120 "Dialogs.c"
		GtkComboBoxText* _tmp1_ = NULL;
#line 2656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp1_ = self->priv->default_raw_developer_combo;
#line 2656 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox), 0);
#line 20126 "Dialogs.c"
	} else {
		GtkComboBoxText* _tmp2_ = NULL;
#line 2658 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp2_ = self->priv->default_raw_developer_combo;
#line 2658 "/home/jens/Source/shotwell/src/Dialogs.vala"
		gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), 1);
#line 20133 "Dialogs.c"
	}
}


static void preferences_dialog_on_default_raw_developer_changed (PreferencesDialog* self) {
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	RawDeveloper _tmp2_ = 0;
#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = config_facade_get_instance ();
#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = preferences_dialog_raw_developer_from_combo (self);
#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
	configuration_facade_set_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_);
#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp1_);
#line 20154 "Dialogs.c"
}


static void preferences_dialog_on_current_folder_changed (PreferencesDialog* self) {
	GtkFileChooserButton* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 2665 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->library_dir_button;
#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gtk_file_chooser_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser));
#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->priv->lib_dir);
#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->lib_dir = _tmp1_;
#line 20171 "Dialogs.c"
}


static void _preferences_dialog_on_current_folder_changed_gtk_file_chooser_current_folder_changed (GtkFileChooser* _sender, gpointer self) {
#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_on_current_folder_changed ((PreferencesDialog*) self);
#line 20178 "Dialogs.c"
}


static gboolean preferences_dialog_map_event (PreferencesDialog* self) {
	gboolean result = FALSE;
	GtkFileChooserButton* _tmp0_ = NULL;
#line 2669 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = self->priv->library_dir_button;
#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "current-folder-changed", (GCallback) _preferences_dialog_on_current_folder_changed_gtk_file_chooser_current_folder_changed, self);
#line 2675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = TRUE;
#line 2675 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 20195 "Dialogs.c"
}


static void preferences_dialog_add_to_dir_formats (PreferencesDialog* self, const gchar* name, const gchar* pattern) {
	PreferencesDialogPathFormat* pf = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	PreferencesDialogPathFormat* _tmp2_ = NULL;
	GeeArrayList* _tmp3_ = NULL;
	GtkComboBoxText* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
#line 2678 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2678 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (name != NULL);
#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = name;
#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = pattern;
#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = preferences_dialog_path_format_new (_tmp0_, _tmp1_);
#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
	pf = _tmp2_;
#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = self->priv->path_formats;
#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), pf);
#line 2681 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = self->priv->dir_pattern_combo;
#line 2681 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = name;
#line 2681 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_combo_box_text_append_text (_tmp4_, _tmp5_);
#line 2678 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_preferences_dialog_path_format_unref0 (pf);
#line 20231 "Dialogs.c"
}


static void preferences_dialog_on_lowercase_toggled (PreferencesDialog* self) {
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	GtkCheckButton* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
#line 2684 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (IS_PREFERENCES_DIALOG (self));
#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = config_facade_get_instance ();
#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = _tmp0_;
#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = self->priv->lowercase;
#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
	configuration_facade_set_use_lowercase_filenames (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp3_);
#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp1_);
#line 20254 "Dialogs.c"
}


static PreferencesDialogPathFormat* preferences_dialog_path_format_construct (GType object_type, const gchar* name, const gchar* pattern) {
	PreferencesDialogPathFormat* self = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = (PreferencesDialogPathFormat*) g_type_create_instance (object_type);
#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = name;
#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->name);
#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->name = _tmp1_;
#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = pattern;
#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->pattern);
#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->pattern = _tmp3_;
#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return self;
#line 20286 "Dialogs.c"
}


static PreferencesDialogPathFormat* preferences_dialog_path_format_new (const gchar* name, const gchar* pattern) {
#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return preferences_dialog_path_format_construct (PREFERENCES_DIALOG_TYPE_PATH_FORMAT, name, pattern);
#line 20293 "Dialogs.c"
}


static void preferences_dialog_value_path_format_init (GValue* value) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	value->data[0].v_pointer = NULL;
#line 20300 "Dialogs.c"
}


static void preferences_dialog_value_path_format_free_value (GValue* value) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (value->data[0].v_pointer) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_path_format_unref (value->data[0].v_pointer);
#line 20309 "Dialogs.c"
	}
}


static void preferences_dialog_value_path_format_copy_value (const GValue* src_value, GValue* dest_value) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (src_value->data[0].v_pointer) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = preferences_dialog_path_format_ref (src_value->data[0].v_pointer);
#line 20319 "Dialogs.c"
	} else {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = NULL;
#line 20323 "Dialogs.c"
	}
}


static gpointer preferences_dialog_value_path_format_peek_pointer (const GValue* value) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 20331 "Dialogs.c"
}


static gchar* preferences_dialog_value_path_format_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (collect_values[0].v_pointer) {
#line 20338 "Dialogs.c"
		PreferencesDialogPathFormat* object;
		object = collect_values[0].v_pointer;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (object->parent_instance.g_class == NULL) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 20345 "Dialogs.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 20349 "Dialogs.c"
		}
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = preferences_dialog_path_format_ref (object);
#line 20353 "Dialogs.c"
	} else {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 20357 "Dialogs.c"
	}
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 20361 "Dialogs.c"
}


static gchar* preferences_dialog_value_path_format_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	PreferencesDialogPathFormat** object_p;
	object_p = collect_values[0].v_pointer;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!object_p) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 20372 "Dialogs.c"
	}
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!value->data[0].v_pointer) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = NULL;
#line 20378 "Dialogs.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = value->data[0].v_pointer;
#line 20382 "Dialogs.c"
	} else {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = preferences_dialog_path_format_ref (value->data[0].v_pointer);
#line 20386 "Dialogs.c"
	}
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 20390 "Dialogs.c"
}


static GParamSpec* preferences_dialog_param_spec_path_format (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	PreferencesDialogParamSpecPathFormat* spec;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (g_type_is_a (object_type, PREFERENCES_DIALOG_TYPE_PATH_FORMAT), NULL);
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return G_PARAM_SPEC (spec);
#line 20404 "Dialogs.c"
}


static gpointer preferences_dialog_value_get_path_format (const GValue* value) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT), NULL);
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 20413 "Dialogs.c"
}


static void preferences_dialog_value_set_path_format (GValue* value, gpointer v_object) {
	PreferencesDialogPathFormat* old;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_path_format_ref (value->data[0].v_pointer);
#line 20433 "Dialogs.c"
	} else {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 20437 "Dialogs.c"
	}
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_path_format_unref (old);
#line 20443 "Dialogs.c"
	}
}


static void preferences_dialog_value_take_path_format (GValue* value, gpointer v_object) {
	PreferencesDialogPathFormat* old;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 20462 "Dialogs.c"
	} else {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 20466 "Dialogs.c"
	}
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_path_format_unref (old);
#line 20472 "Dialogs.c"
	}
}


static void preferences_dialog_path_format_class_init (PreferencesDialogPathFormatClass * klass) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_path_format_parent_class = g_type_class_peek_parent (klass);
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((PreferencesDialogPathFormatClass *) klass)->finalize = preferences_dialog_path_format_finalize;
#line 20482 "Dialogs.c"
}


static void preferences_dialog_path_format_instance_init (PreferencesDialogPathFormat * self) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->ref_count = 1;
#line 20489 "Dialogs.c"
}


static void preferences_dialog_path_format_finalize (PreferencesDialogPathFormat* obj) {
	PreferencesDialogPathFormat * self;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PREFERENCES_DIALOG_TYPE_PATH_FORMAT, PreferencesDialogPathFormat);
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_handlers_destroy (self);
#line 2270 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->name);
#line 2271 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->pattern);
#line 20503 "Dialogs.c"
}


static GType preferences_dialog_path_format_get_type (void) {
	static volatile gsize preferences_dialog_path_format_type_id__volatile = 0;
	if (g_once_init_enter (&preferences_dialog_path_format_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { preferences_dialog_value_path_format_init, preferences_dialog_value_path_format_free_value, preferences_dialog_value_path_format_copy_value, preferences_dialog_value_path_format_peek_pointer, "p", preferences_dialog_value_path_format_collect_value, "p", preferences_dialog_value_path_format_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (PreferencesDialogPathFormatClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) preferences_dialog_path_format_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PreferencesDialogPathFormat), 0, (GInstanceInitFunc) preferences_dialog_path_format_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType preferences_dialog_path_format_type_id;
		preferences_dialog_path_format_type_id = g_type_register_fundamental (g_type_fundamental_next (), "PreferencesDialogPathFormat", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&preferences_dialog_path_format_type_id__volatile, preferences_dialog_path_format_type_id);
	}
	return preferences_dialog_path_format_type_id__volatile;
}


static gpointer preferences_dialog_path_format_ref (gpointer instance) {
	PreferencesDialogPathFormat* self;
	self = instance;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_atomic_int_inc (&self->ref_count);
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return instance;
#line 20528 "Dialogs.c"
}


static void preferences_dialog_path_format_unref (gpointer instance) {
	PreferencesDialogPathFormat* self;
	self = instance;
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		PREFERENCES_DIALOG_PATH_FORMAT_GET_CLASS (self)->finalize (self);
#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 20541 "Dialogs.c"
	}
}


static void value_preferences_dialog_init (GValue* value) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	value->data[0].v_pointer = NULL;
#line 20549 "Dialogs.c"
}


static void value_preferences_dialog_free_value (GValue* value) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (value->data[0].v_pointer) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_unref (value->data[0].v_pointer);
#line 20558 "Dialogs.c"
	}
}


static void value_preferences_dialog_copy_value (const GValue* src_value, GValue* dest_value) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (src_value->data[0].v_pointer) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = preferences_dialog_ref (src_value->data[0].v_pointer);
#line 20568 "Dialogs.c"
	} else {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		dest_value->data[0].v_pointer = NULL;
#line 20572 "Dialogs.c"
	}
}


static gpointer value_preferences_dialog_peek_pointer (const GValue* value) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 20580 "Dialogs.c"
}


static gchar* value_preferences_dialog_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (collect_values[0].v_pointer) {
#line 20587 "Dialogs.c"
		PreferencesDialog* object;
		object = collect_values[0].v_pointer;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (object->parent_instance.g_class == NULL) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 20594 "Dialogs.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 20598 "Dialogs.c"
		}
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = preferences_dialog_ref (object);
#line 20602 "Dialogs.c"
	} else {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 20606 "Dialogs.c"
	}
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 20610 "Dialogs.c"
}


static gchar* value_preferences_dialog_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	PreferencesDialog** object_p;
	object_p = collect_values[0].v_pointer;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!object_p) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 20621 "Dialogs.c"
	}
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!value->data[0].v_pointer) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = NULL;
#line 20627 "Dialogs.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = value->data[0].v_pointer;
#line 20631 "Dialogs.c"
	} else {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		*object_p = preferences_dialog_ref (value->data[0].v_pointer);
#line 20635 "Dialogs.c"
	}
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return NULL;
#line 20639 "Dialogs.c"
}


GParamSpec* param_spec_preferences_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecPreferencesDialog* spec;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_PREFERENCES_DIALOG), NULL);
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return G_PARAM_SPEC (spec);
#line 20653 "Dialogs.c"
}


gpointer value_get_preferences_dialog (const GValue* value) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG), NULL);
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return value->data[0].v_pointer;
#line 20662 "Dialogs.c"
}


void value_set_preferences_dialog (GValue* value, gpointer v_object) {
	PreferencesDialog* old;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG));
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PREFERENCES_DIALOG));
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_ref (value->data[0].v_pointer);
#line 20682 "Dialogs.c"
	} else {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 20686 "Dialogs.c"
	}
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_unref (old);
#line 20692 "Dialogs.c"
	}
}


void value_take_preferences_dialog (GValue* value, gpointer v_object) {
	PreferencesDialog* old;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG));
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	old = value->data[0].v_pointer;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (v_object) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PREFERENCES_DIALOG));
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = v_object;
#line 20711 "Dialogs.c"
	} else {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		value->data[0].v_pointer = NULL;
#line 20715 "Dialogs.c"
	}
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (old) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		preferences_dialog_unref (old);
#line 20721 "Dialogs.c"
	}
}


static void preferences_dialog_class_init (PreferencesDialogClass * klass) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	preferences_dialog_parent_class = g_type_class_peek_parent (klass);
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	((PreferencesDialogClass *) klass)->finalize = preferences_dialog_finalize;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_type_class_add_private (klass, sizeof (PreferencesDialogPrivate));
#line 20733 "Dialogs.c"
}


static void preferences_dialog_instance_init (PreferencesDialog * self) {
	GeeArrayList* _tmp0_ = NULL;
	GDateTime* _tmp1_ = NULL;
	PluginsManifestWidgetMediator* _tmp2_ = NULL;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv = PREFERENCES_DIALOG_GET_PRIVATE (self);
#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->allow_closing = FALSE;
#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->lib_dir = NULL;
#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = gee_array_list_new (PREFERENCES_DIALOG_TYPE_PATH_FORMAT, (GBoxedCopyFunc) preferences_dialog_path_format_ref, (GDestroyNotify) preferences_dialog_path_format_unref, NULL, NULL, NULL);
#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->path_formats = _tmp0_;
#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = g_date_time_new_local (2009, 3, 10, 18, 16, (gdouble) 11);
#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->example_date = _tmp1_;
#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = plugins_manifest_widget_mediator_new ();
#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->priv->plugins_mediator = _tmp2_;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self->ref_count = 1;
#line 20761 "Dialogs.c"
}


static void preferences_dialog_finalize (PreferencesDialog* obj) {
	PreferencesDialog * self;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PREFERENCES_DIALOG, PreferencesDialog);
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_signal_handlers_destroy (self);
#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dialog);
#line 2277 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->builder);
#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->bg_color_adjustment);
#line 2279 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->bg_color_slider);
#line 2280 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->photo_editor_combo);
#line 2281 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->raw_editor_combo);
#line 2282 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->external_raw_apps);
#line 2283 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->external_photo_apps);
#line 2284 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->library_dir_button);
#line 2285 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dir_pattern_combo);
#line 2286 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dir_pattern_entry);
#line 2287 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->dir_pattern_example);
#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (self->priv->lib_dir);
#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->path_formats);
#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_date_time_unref0 (self->priv->example_date);
#line 2292 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->lowercase);
#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_plugins_manifest_widget_mediator_unref0 (self->priv->plugins_mediator);
#line 2294 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (self->priv->default_raw_developer_combo);
#line 20807 "Dialogs.c"
}


GType preferences_dialog_get_type (void) {
	static volatile gsize preferences_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&preferences_dialog_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { value_preferences_dialog_init, value_preferences_dialog_free_value, value_preferences_dialog_copy_value, value_preferences_dialog_peek_pointer, "p", value_preferences_dialog_collect_value, "p", value_preferences_dialog_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (PreferencesDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) preferences_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PreferencesDialog), 0, (GInstanceInitFunc) preferences_dialog_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType preferences_dialog_type_id;
		preferences_dialog_type_id = g_type_register_fundamental (g_type_fundamental_next (), "PreferencesDialog", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&preferences_dialog_type_id__volatile, preferences_dialog_type_id);
	}
	return preferences_dialog_type_id__volatile;
}


gpointer preferences_dialog_ref (gpointer instance) {
	PreferencesDialog* self;
	self = instance;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_atomic_int_inc (&self->ref_count);
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return instance;
#line 20832 "Dialogs.c"
}


void preferences_dialog_unref (gpointer instance) {
	PreferencesDialog* self;
	self = instance;
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		PREFERENCES_DIALOG_GET_CLASS (self)->finalize (self);
#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 20845 "Dialogs.c"
	}
}


GtkResponseType copy_files_dialog (void) {
	GtkResponseType result = 0;
	gchar* msg = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	GtkMessageDialog* dialog = NULL;
	AppWindow* _tmp2_ = NULL;
	AppWindow* _tmp3_ = NULL;
	GtkMessageDialog* _tmp4_ = NULL;
	GtkMessageDialog* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	GtkResponseType _result_ = 0;
	gint _tmp9_ = 0;
#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = _ ("Shotwell can copy the photos into your library folder or it can import" \
" them without copying.");
#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala"
	msg = _tmp1_;
#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = app_window_get_instance ();
#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_CANCEL, "%s", msg);
#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_object_ref_sink (_tmp4_);
#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = _tmp4_;
#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp3_);
#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
	dialog = _tmp5_;
#line 2697 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = _ ("Co_py Photos");
#line 2697 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp6_, (gint) GTK_RESPONSE_ACCEPT);
#line 2698 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _ ("_Import in Place");
#line 2698 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp7_, (gint) GTK_RESPONSE_REJECT);
#line 2699 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp8_ = _ ("Import to Library");
#line 2699 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), _tmp8_);
#line 2701 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
#line 2701 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = (GtkResponseType) _tmp9_;
#line 2703 "/home/jens/Source/shotwell/src/Dialogs.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	result = _result_;
#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (dialog);
#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (msg);
#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 20911 "Dialogs.c"
}


void remove_photos_from_library (GeeCollection* photos) {
	const gchar* _tmp0_ = NULL;
	GeeCollection* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	GeeCollection* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GEE_IS_COLLECTION (photos));
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = photos;
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = gee_collection_get_size (_tmp1_);
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = _tmp2_;
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp3_ == 1) {
#line 20932 "Dialogs.c"
		const gchar* _tmp4_ = NULL;
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp4_ = _ ("Removing Photo From Library");
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp4_;
#line 20938 "Dialogs.c"
	} else {
		const gchar* _tmp5_ = NULL;
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp5_ = _ ("Removing Photos From Library");
#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp0_ = _tmp5_;
#line 20945 "Dialogs.c"
	}
#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = photos;
#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = _ ("Remove From Library");
#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
	remove_from_app (_tmp6_, _tmp7_, _tmp0_);
#line 20953 "Dialogs.c"
}


static gboolean _progress_dialog_monitor_progress_monitor (guint64 current, guint64 total, gboolean do_event_loop, gpointer self) {
	gboolean result;
	result = progress_dialog_monitor ((ProgressDialog*) self, current, total, do_event_loop);
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
	return result;
#line 20962 "Dialogs.c"
}


void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const gchar* progress_dialog_text) {
	GeeCollection* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	GeeArrayList* photos = NULL;
	GeeArrayList* _tmp3_ = NULL;
	GeeArrayList* videos = NULL;
	GeeArrayList* _tmp4_ = NULL;
	GeeCollection* _tmp5_ = NULL;
	GeeArrayList* _tmp6_ = NULL;
	GeeArrayList* _tmp7_ = NULL;
	gchar* user_message = NULL;
	gboolean _tmp8_ = FALSE;
	GeeArrayList* _tmp9_ = NULL;
	gboolean _tmp10_ = FALSE;
	gboolean _tmp11_ = FALSE;
	GtkResponseType _result_ = 0;
	AppWindow* _tmp42_ = NULL;
	AppWindow* _tmp43_ = NULL;
	const gchar* _tmp44_ = NULL;
	const gchar* _tmp45_ = NULL;
	GeeCollection* _tmp46_ = NULL;
	gint _tmp47_ = 0;
	gint _tmp48_ = 0;
	GtkResponseType _tmp49_ = 0;
	GtkResponseType _tmp50_ = 0;
	gboolean _tmp51_ = FALSE;
	GtkResponseType _tmp52_ = 0;
	gboolean delete_backing = FALSE;
	GtkResponseType _tmp54_ = 0;
	AppWindow* _tmp55_ = NULL;
	AppWindow* _tmp56_ = NULL;
	ProgressDialog* progress = NULL;
	ProgressMonitor monitor = NULL;
	void* monitor_target = NULL;
	GDestroyNotify monitor_target_destroy_notify = NULL;
	GeeCollection* _tmp57_ = NULL;
	gint _tmp58_ = 0;
	gint _tmp59_ = 0;
	GeeArrayList* not_removed_photos = NULL;
	GeeArrayList* _tmp65_ = NULL;
	GeeArrayList* not_removed_videos = NULL;
	GeeArrayList* _tmp66_ = NULL;
	LibraryPhotoSourceCollection* _tmp67_ = NULL;
	GeeArrayList* _tmp68_ = NULL;
	gboolean _tmp69_ = FALSE;
	ProgressMonitor _tmp70_ = NULL;
	void* _tmp70__target = NULL;
	GeeArrayList* _tmp71_ = NULL;
	VideoSourceCollection* _tmp72_ = NULL;
	GeeArrayList* _tmp73_ = NULL;
	gboolean _tmp74_ = FALSE;
	ProgressMonitor _tmp75_ = NULL;
	void* _tmp75__target = NULL;
	GeeArrayList* _tmp76_ = NULL;
	gint num_not_removed = 0;
	GeeArrayList* _tmp77_ = NULL;
	gint _tmp78_ = 0;
	gint _tmp79_ = 0;
	GeeArrayList* _tmp80_ = NULL;
	gint _tmp81_ = 0;
	gint _tmp82_ = 0;
	gboolean _tmp83_ = FALSE;
	gboolean _tmp84_ = FALSE;
	ProgressDialog* _tmp122_ = NULL;
	AppWindow* _tmp124_ = NULL;
	AppWindow* _tmp125_ = NULL;
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (GEE_IS_COLLECTION (sources));
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (dialog_title != NULL);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	g_return_if_fail (progress_dialog_text != NULL);
#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp0_ = sources;
#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp1_ = gee_collection_get_size (_tmp0_);
#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp2_ = _tmp1_;
#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp2_ == 0) {
#line 2716 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return;
#line 21049 "Dialogs.c"
	}
#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp3_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala"
	photos = _tmp3_;
#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp4_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala"
	videos = _tmp4_;
#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp5_ = sources;
#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp6_ = photos;
#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp7_ = videos;
#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
	media_source_collection_filter_media (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2722 "/home/jens/Source/shotwell/src/Dialogs.vala"
	user_message = NULL;
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp9_ = photos;
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp10_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp11_ = _tmp10_;
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (!_tmp11_) {
#line 21077 "Dialogs.c"
		GeeArrayList* _tmp12_ = NULL;
		gboolean _tmp13_ = FALSE;
		gboolean _tmp14_ = FALSE;
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp12_ = videos;
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp13_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp14_ = _tmp13_;
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = !_tmp14_;
#line 21089 "Dialogs.c"
	} else {
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp8_ = FALSE;
#line 21093 "Dialogs.c"
	}
#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp8_) {
#line 21097 "Dialogs.c"
		GeeCollection* _tmp15_ = NULL;
		gint _tmp16_ = 0;
		gint _tmp17_ = 0;
		const gchar* _tmp18_ = NULL;
		GeeCollection* _tmp19_ = NULL;
		gint _tmp20_ = 0;
		gint _tmp21_ = 0;
		gchar* _tmp22_ = NULL;
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp15_ = sources;
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp16_ = gee_collection_get_size (_tmp15_);
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp17_ = _tmp16_;
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp18_ = ngettext ("This will remove the photo/video from your Shotwell library. Would you" \
" also like to move the file to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", "This will remove %d photos/videos from your Shotwell library. Would yo" \
"u also like to move the files to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", (gulong) _tmp17_);
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp19_ = sources;
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp20_ = gee_collection_get_size (_tmp19_);
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp21_ = _tmp20_;
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp22_ = g_strdup_printf (_tmp18_, _tmp21_);
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (user_message);
#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
		user_message = _tmp22_;
#line 21126 "Dialogs.c"
	} else {
		GeeArrayList* _tmp23_ = NULL;
		gboolean _tmp24_ = FALSE;
		gboolean _tmp25_ = FALSE;
#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp23_ = videos;
#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp24_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection));
#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp25_ = _tmp24_;
#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (!_tmp25_) {
#line 21139 "Dialogs.c"
			GeeCollection* _tmp26_ = NULL;
			gint _tmp27_ = 0;
			gint _tmp28_ = 0;
			const gchar* _tmp29_ = NULL;
			GeeCollection* _tmp30_ = NULL;
			gint _tmp31_ = 0;
			gint _tmp32_ = 0;
			gchar* _tmp33_ = NULL;
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp26_ = sources;
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp27_ = gee_collection_get_size (_tmp26_);
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp28_ = _tmp27_;
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp29_ = ngettext ("This will remove the video from your Shotwell library. Would you also " \
"like to move the file to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", "This will remove %d videos from your Shotwell library. Would you also " \
"like to move the files to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", (gulong) _tmp28_);
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp30_ = sources;
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp31_ = gee_collection_get_size (_tmp30_);
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp32_ = _tmp31_;
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp33_ = g_strdup_printf (_tmp29_, _tmp32_);
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (user_message);
#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
			user_message = _tmp33_;
#line 21168 "Dialogs.c"
		} else {
			GeeCollection* _tmp34_ = NULL;
			gint _tmp35_ = 0;
			gint _tmp36_ = 0;
			const gchar* _tmp37_ = NULL;
			GeeCollection* _tmp38_ = NULL;
			gint _tmp39_ = 0;
			gint _tmp40_ = 0;
			gchar* _tmp41_ = NULL;
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp34_ = sources;
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp35_ = gee_collection_get_size (_tmp34_);
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp36_ = _tmp35_;
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp37_ = ngettext ("This will remove the photo from your Shotwell library. Would you also " \
"like to move the file to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", "This will remove %d photos from your Shotwell library. Would you also " \
"like to move the files to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", (gulong) _tmp36_);
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp38_ = sources;
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp39_ = gee_collection_get_size (_tmp38_);
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp40_ = _tmp39_;
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp41_ = g_strdup_printf (_tmp37_, _tmp40_);
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_free0 (user_message);
#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
			user_message = _tmp41_;
#line 21198 "Dialogs.c"
		}
	}
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp42_ = app_window_get_instance ();
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp43_ = _tmp42_;
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp44_ = dialog_title;
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp45_ = user_message;
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp46_ = sources;
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp47_ = gee_collection_get_size (_tmp46_);
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp48_ = _tmp47_;
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp49_ = remove_from_library_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_window_get_type (), GtkWindow), _tmp44_, _tmp45_, _tmp48_);
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp50_ = _tmp49_;
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp43_);
#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_result_ = _tmp50_;
#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp52_ = _result_;
#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp52_ != GTK_RESPONSE_YES) {
#line 21227 "Dialogs.c"
		GtkResponseType _tmp53_ = 0;
#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp53_ = _result_;
#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp51_ = _tmp53_ != GTK_RESPONSE_NO;
#line 21233 "Dialogs.c"
	} else {
#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp51_ = FALSE;
#line 21237 "Dialogs.c"
	}
#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp51_) {
#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (user_message);
#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (videos);
#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (photos);
#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
		return;
#line 21249 "Dialogs.c"
	}
#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp54_ = _result_;
#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
	delete_backing = _tmp54_ == GTK_RESPONSE_YES;
#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp55_ = app_window_get_instance ();
#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp56_ = _tmp55_;
#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
	page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, TYPE_PAGE_WINDOW, PageWindow));
#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp56_);
#line 2746 "/home/jens/Source/shotwell/src/Dialogs.vala"
	progress = NULL;
#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
	monitor = NULL;
#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
	monitor_target = NULL;
#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
	monitor_target_destroy_notify = NULL;
#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp57_ = sources;
#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp58_ = gee_collection_get_size (_tmp57_);
#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp59_ = _tmp58_;
#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp59_ >= 20) {
#line 21279 "Dialogs.c"
		AppWindow* _tmp60_ = NULL;
		AppWindow* _tmp61_ = NULL;
		const gchar* _tmp62_ = NULL;
		ProgressDialog* _tmp63_ = NULL;
		ProgressDialog* _tmp64_ = NULL;
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp60_ = app_window_get_instance ();
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp61_ = _tmp60_;
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp62_ = progress_dialog_text;
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp63_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_window_get_type (), GtkWindow), _tmp62_, NULL);
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		g_object_ref_sink (_tmp63_);
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (progress);
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		progress = _tmp63_;
#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp61_);
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp64_ = progress;
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		(monitor_target_destroy_notify == NULL) ? NULL : (monitor_target_destroy_notify (monitor_target), NULL);
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		monitor = NULL;
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		monitor_target = NULL;
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		monitor_target_destroy_notify = NULL;
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		monitor = _progress_dialog_monitor_progress_monitor;
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		monitor_target = g_object_ref (_tmp64_);
#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
		monitor_target_destroy_notify = g_object_unref;
#line 21317 "Dialogs.c"
	}
#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp65_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala"
	not_removed_photos = _tmp65_;
#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp66_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
	not_removed_videos = _tmp66_;
#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp67_ = library_photo_global;
#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp68_ = photos;
#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp69_ = delete_backing;
#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp70_ = monitor;
#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp70__target = monitor_target;
#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp71_ = not_removed_photos;
#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
	media_source_collection_remove_from_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GEE_TYPE_COLLECTION, GeeCollection), _tmp69_, _tmp70_, _tmp70__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, GEE_TYPE_LIST, GeeList));
#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp72_ = video_global;
#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp73_ = videos;
#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp74_ = delete_backing;
#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp75_ = monitor;
#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp75__target = monitor_target;
#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp76_ = not_removed_videos;
#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
	media_source_collection_remove_from_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, GEE_TYPE_COLLECTION, GeeCollection), _tmp74_, _tmp75_, _tmp75__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, GEE_TYPE_LIST, GeeList));
#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp77_ = not_removed_photos;
#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp78_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp79_ = _tmp78_;
#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp80_ = not_removed_videos;
#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp81_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp82_ = _tmp81_;
#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
	num_not_removed = _tmp79_ + _tmp82_;
#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp84_ = delete_backing;
#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp84_) {
#line 21373 "Dialogs.c"
		gint _tmp85_ = 0;
#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp85_ = num_not_removed;
#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp83_ = _tmp85_ > 0;
#line 21379 "Dialogs.c"
	} else {
#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp83_ = FALSE;
#line 21383 "Dialogs.c"
	}
#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp83_) {
#line 21387 "Dialogs.c"
		gchar* not_deleted_message = NULL;
		gint _tmp86_ = 0;
		const gchar* _tmp87_ = NULL;
		gint _tmp88_ = 0;
		gchar* _tmp89_ = NULL;
		GtkResponseType result_delete = 0;
		AppWindow* _tmp90_ = NULL;
		AppWindow* _tmp91_ = NULL;
		const gchar* _tmp92_ = NULL;
		const gchar* _tmp93_ = NULL;
		GtkResponseType _tmp94_ = 0;
		GtkResponseType _tmp95_ = 0;
		GtkResponseType _tmp96_ = 0;
#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp86_ = num_not_removed;
#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp87_ = ngettext ("The photo or video cannot be moved to your desktop trash. Delete this " \
"file?", "%d photos/videos cannot be moved to your desktop trash. Delete these f" \
"iles?", (gulong) _tmp86_);
#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp88_ = num_not_removed;
#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp89_ = g_strdup_printf (_tmp87_, _tmp88_);
#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
		not_deleted_message = _tmp89_;
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp90_ = app_window_get_instance ();
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp91_ = _tmp90_;
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp92_ = dialog_title;
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp93_ = not_deleted_message;
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp94_ = remove_from_filesystem_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, gtk_window_get_type (), GtkWindow), _tmp92_, _tmp93_);
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp95_ = _tmp94_;
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_object_unref0 (_tmp91_);
#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
		result_delete = _tmp95_;
#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp96_ = result_delete;
#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
		if (GTK_RESPONSE_YES == _tmp96_) {
#line 21431 "Dialogs.c"
			GeeArrayList* not_deleted_photos = NULL;
			GeeArrayList* _tmp97_ = NULL;
			GeeArrayList* not_deleted_videos = NULL;
			GeeArrayList* _tmp98_ = NULL;
			LibraryPhotoSourceCollection* _tmp99_ = NULL;
			GeeArrayList* _tmp100_ = NULL;
			ProgressMonitor _tmp101_ = NULL;
			void* _tmp101__target = NULL;
			GeeArrayList* _tmp102_ = NULL;
			VideoSourceCollection* _tmp103_ = NULL;
			GeeArrayList* _tmp104_ = NULL;
			ProgressMonitor _tmp105_ = NULL;
			void* _tmp105__target = NULL;
			GeeArrayList* _tmp106_ = NULL;
			gint num_not_deleted = 0;
			GeeArrayList* _tmp107_ = NULL;
			gint _tmp108_ = 0;
			gint _tmp109_ = 0;
			GeeArrayList* _tmp110_ = NULL;
			gint _tmp111_ = 0;
			gint _tmp112_ = 0;
			gint _tmp113_ = 0;
#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp97_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
			not_deleted_photos = _tmp97_;
#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp98_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
			not_deleted_videos = _tmp98_;
#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp99_ = library_photo_global;
#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp100_ = not_removed_photos;
#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp101_ = monitor;
#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp101__target = monitor_target;
#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp102_ = not_deleted_photos;
#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
			media_source_collection_delete_backing_files (G_TYPE_CHECK_INSTANCE_CAST (_tmp99_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, GEE_TYPE_COLLECTION, GeeCollection), _tmp101_, _tmp101__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp102_, GEE_TYPE_LIST, GeeList));
#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp103_ = video_global;
#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp104_ = not_removed_videos;
#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp105_ = monitor;
#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp105__target = monitor_target;
#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp106_ = not_deleted_videos;
#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
			media_source_collection_delete_backing_files (G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp104_, GEE_TYPE_COLLECTION, GeeCollection), _tmp105_, _tmp105__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp106_, GEE_TYPE_LIST, GeeList));
#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp107_ = not_deleted_photos;
#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp108_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp107_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp109_ = _tmp108_;
#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp110_ = not_deleted_videos;
#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp111_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp112_ = _tmp111_;
#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
			num_not_deleted = _tmp109_ + _tmp112_;
#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_tmp113_ = num_not_deleted;
#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala"
			if (_tmp113_ > 0) {
#line 21504 "Dialogs.c"
				gchar* delete_failed_message = NULL;
				gint _tmp114_ = 0;
				const gchar* _tmp115_ = NULL;
				gint _tmp116_ = 0;
				gchar* _tmp117_ = NULL;
				const gchar* _tmp118_ = NULL;
				const gchar* _tmp119_ = NULL;
				AppWindow* _tmp120_ = NULL;
				AppWindow* _tmp121_ = NULL;
#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp114_ = num_not_deleted;
#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp115_ = ngettext ("The photo or video cannot be deleted.", "%d photos/videos cannot be deleted.", (gulong) _tmp114_);
#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp116_ = num_not_deleted;
#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp117_ = g_strdup_printf (_tmp115_, _tmp116_);
#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
				delete_failed_message = _tmp117_;
#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp118_ = dialog_title;
#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp119_ = delete_failed_message;
#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp120_ = app_window_get_instance ();
#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_tmp121_ = _tmp120_;
#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
				app_window_error_message_with_title (_tmp118_, _tmp119_, G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_window_get_type (), GtkWindow), TRUE);
#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_object_unref0 (_tmp121_);
#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala"
				_g_free0 (delete_failed_message);
#line 21538 "Dialogs.c"
			}
#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (not_deleted_videos);
#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
			_g_object_unref0 (not_deleted_photos);
#line 21544 "Dialogs.c"
		}
#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_g_free0 (not_deleted_message);
#line 21548 "Dialogs.c"
	}
#line 2789 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp122_ = progress;
#line 2789 "/home/jens/Source/shotwell/src/Dialogs.vala"
	if (_tmp122_ != NULL) {
#line 21554 "Dialogs.c"
		ProgressDialog* _tmp123_ = NULL;
#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
		_tmp123_ = progress;
#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
		progress_dialog_close (_tmp123_);
#line 21560 "Dialogs.c"
	}
#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp124_ = app_window_get_instance ();
#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_tmp125_ = _tmp124_;
#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
	page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, TYPE_PAGE_WINDOW, PageWindow));
#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (_tmp125_);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (not_removed_videos);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (not_removed_photos);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	(monitor_target_destroy_notify == NULL) ? NULL : (monitor_target_destroy_notify (monitor_target), NULL);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	monitor = NULL;
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	monitor_target = NULL;
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	monitor_target_destroy_notify = NULL;
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (progress);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_free0 (user_message);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (videos);
#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
	_g_object_unref0 (photos);
#line 21590 "Dialogs.c"
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}