summaryrefslogtreecommitdiff
path: root/src/publishing/PublishingUI.c
blob: a057694b2294c346c8e7cc9778e835966e824178 (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
/* PublishingUI.c generated by valac 0.34.1, the Vala compiler
 * generated from PublishingUI.vala, do not modify */

/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU Lesser General Public License
 * (version 2.1 or later).  See the COPYING file in this distribution.
 */

#include <glib.h>
#include <glib-object.h>
#include "shotwell-plugin-dev-1.0.h"
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include <glib/gi18n-lib.h>
#include <gee.h>
#include <gdk/gdk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>


#define PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE (publishing_ui_concrete_dialog_pane_get_type ())
#define PUBLISHING_UI_CONCRETE_DIALOG_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane))
#define PUBLISHING_UI_CONCRETE_DIALOG_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPaneClass))
#define PUBLISHING_UI_IS_CONCRETE_DIALOG_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE))
#define PUBLISHING_UI_IS_CONCRETE_DIALOG_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE))
#define PUBLISHING_UI_CONCRETE_DIALOG_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPaneClass))

typedef struct _PublishingUIConcreteDialogPane PublishingUIConcreteDialogPane;
typedef struct _PublishingUIConcreteDialogPaneClass PublishingUIConcreteDialogPaneClass;
typedef struct _PublishingUIConcreteDialogPanePrivate PublishingUIConcreteDialogPanePrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE (publishing_ui_static_message_pane_get_type ())
#define PUBLISHING_UI_STATIC_MESSAGE_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, PublishingUIStaticMessagePane))
#define PUBLISHING_UI_STATIC_MESSAGE_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, PublishingUIStaticMessagePaneClass))
#define PUBLISHING_UI_IS_STATIC_MESSAGE_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE))
#define PUBLISHING_UI_IS_STATIC_MESSAGE_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE))
#define PUBLISHING_UI_STATIC_MESSAGE_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, PublishingUIStaticMessagePaneClass))

typedef struct _PublishingUIStaticMessagePane PublishingUIStaticMessagePane;
typedef struct _PublishingUIStaticMessagePaneClass PublishingUIStaticMessagePaneClass;
typedef struct _PublishingUIStaticMessagePanePrivate PublishingUIStaticMessagePanePrivate;

#define PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE (publishing_ui_login_welcome_pane_get_type ())
#define PUBLISHING_UI_LOGIN_WELCOME_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, PublishingUILoginWelcomePane))
#define PUBLISHING_UI_LOGIN_WELCOME_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, PublishingUILoginWelcomePaneClass))
#define PUBLISHING_UI_IS_LOGIN_WELCOME_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE))
#define PUBLISHING_UI_IS_LOGIN_WELCOME_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE))
#define PUBLISHING_UI_LOGIN_WELCOME_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, PublishingUILoginWelcomePaneClass))

typedef struct _PublishingUILoginWelcomePane PublishingUILoginWelcomePane;
typedef struct _PublishingUILoginWelcomePaneClass PublishingUILoginWelcomePaneClass;
typedef struct _PublishingUILoginWelcomePanePrivate PublishingUILoginWelcomePanePrivate;

#define PUBLISHING_UI_TYPE_PROGRESS_PANE (publishing_ui_progress_pane_get_type ())
#define PUBLISHING_UI_PROGRESS_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_PROGRESS_PANE, PublishingUIProgressPane))
#define PUBLISHING_UI_PROGRESS_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_PROGRESS_PANE, PublishingUIProgressPaneClass))
#define PUBLISHING_UI_IS_PROGRESS_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_PROGRESS_PANE))
#define PUBLISHING_UI_IS_PROGRESS_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_PROGRESS_PANE))
#define PUBLISHING_UI_PROGRESS_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_PROGRESS_PANE, PublishingUIProgressPaneClass))

typedef struct _PublishingUIProgressPane PublishingUIProgressPane;
typedef struct _PublishingUIProgressPaneClass PublishingUIProgressPaneClass;
typedef struct _PublishingUIProgressPanePrivate PublishingUIProgressPanePrivate;

#define PUBLISHING_UI_TYPE_SUCCESS_PANE (publishing_ui_success_pane_get_type ())
#define PUBLISHING_UI_SUCCESS_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_SUCCESS_PANE, PublishingUISuccessPane))
#define PUBLISHING_UI_SUCCESS_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_SUCCESS_PANE, PublishingUISuccessPaneClass))
#define PUBLISHING_UI_IS_SUCCESS_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_SUCCESS_PANE))
#define PUBLISHING_UI_IS_SUCCESS_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_SUCCESS_PANE))
#define PUBLISHING_UI_SUCCESS_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_SUCCESS_PANE, PublishingUISuccessPaneClass))

typedef struct _PublishingUISuccessPane PublishingUISuccessPane;
typedef struct _PublishingUISuccessPaneClass PublishingUISuccessPaneClass;
typedef struct _PublishingUISuccessPanePrivate PublishingUISuccessPanePrivate;
#define _g_free0(var) (var = (g_free (var), NULL))

#define PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE (publishing_ui_account_fetch_wait_pane_get_type ())
#define PUBLISHING_UI_ACCOUNT_FETCH_WAIT_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE, PublishingUIAccountFetchWaitPane))
#define PUBLISHING_UI_ACCOUNT_FETCH_WAIT_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE, PublishingUIAccountFetchWaitPaneClass))
#define PUBLISHING_UI_IS_ACCOUNT_FETCH_WAIT_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE))
#define PUBLISHING_UI_IS_ACCOUNT_FETCH_WAIT_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE))
#define PUBLISHING_UI_ACCOUNT_FETCH_WAIT_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE, PublishingUIAccountFetchWaitPaneClass))

typedef struct _PublishingUIAccountFetchWaitPane PublishingUIAccountFetchWaitPane;
typedef struct _PublishingUIAccountFetchWaitPaneClass PublishingUIAccountFetchWaitPaneClass;
typedef struct _PublishingUIAccountFetchWaitPanePrivate PublishingUIAccountFetchWaitPanePrivate;

#define PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE (publishing_ui_login_wait_pane_get_type ())
#define PUBLISHING_UI_LOGIN_WAIT_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE, PublishingUILoginWaitPane))
#define PUBLISHING_UI_LOGIN_WAIT_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE, PublishingUILoginWaitPaneClass))
#define PUBLISHING_UI_IS_LOGIN_WAIT_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE))
#define PUBLISHING_UI_IS_LOGIN_WAIT_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE))
#define PUBLISHING_UI_LOGIN_WAIT_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE, PublishingUILoginWaitPaneClass))

typedef struct _PublishingUILoginWaitPane PublishingUILoginWaitPane;
typedef struct _PublishingUILoginWaitPaneClass PublishingUILoginWaitPaneClass;
typedef struct _PublishingUILoginWaitPanePrivate PublishingUILoginWaitPanePrivate;

#define PUBLISHING_UI_TYPE_PUBLISHING_DIALOG (publishing_ui_publishing_dialog_get_type ())
#define PUBLISHING_UI_PUBLISHING_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_UI_TYPE_PUBLISHING_DIALOG, PublishingUIPublishingDialog))
#define PUBLISHING_UI_PUBLISHING_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_UI_TYPE_PUBLISHING_DIALOG, PublishingUIPublishingDialogClass))
#define PUBLISHING_UI_IS_PUBLISHING_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_UI_TYPE_PUBLISHING_DIALOG))
#define PUBLISHING_UI_IS_PUBLISHING_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_UI_TYPE_PUBLISHING_DIALOG))
#define PUBLISHING_UI_PUBLISHING_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_UI_TYPE_PUBLISHING_DIALOG, PublishingUIPublishingDialogClass))

typedef struct _PublishingUIPublishingDialog PublishingUIPublishingDialog;
typedef struct _PublishingUIPublishingDialogClass PublishingUIPublishingDialogClass;
typedef struct _PublishingUIPublishingDialogPrivate PublishingUIPublishingDialogPrivate;

#define PLUGINS_TYPE_STANDARD_HOST_INTERFACE (plugins_standard_host_interface_get_type ())
#define PLUGINS_STANDARD_HOST_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface))
#define PLUGINS_STANDARD_HOST_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterfaceClass))
#define PLUGINS_IS_STANDARD_HOST_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUGINS_TYPE_STANDARD_HOST_INTERFACE))
#define PLUGINS_IS_STANDARD_HOST_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUGINS_TYPE_STANDARD_HOST_INTERFACE))
#define PLUGINS_STANDARD_HOST_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterfaceClass))

typedef struct _PluginsStandardHostInterface PluginsStandardHostInterface;
typedef struct _PluginsStandardHostInterfaceClass PluginsStandardHostInterfaceClass;

#define SPIT_PUBLISHING_TYPE_CONCRETE_PUBLISHING_HOST (spit_publishing_concrete_publishing_host_get_type ())
#define SPIT_PUBLISHING_CONCRETE_PUBLISHING_HOST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_PUBLISHING_TYPE_CONCRETE_PUBLISHING_HOST, SpitPublishingConcretePublishingHost))
#define SPIT_PUBLISHING_CONCRETE_PUBLISHING_HOST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPIT_PUBLISHING_TYPE_CONCRETE_PUBLISHING_HOST, SpitPublishingConcretePublishingHostClass))
#define SPIT_PUBLISHING_IS_CONCRETE_PUBLISHING_HOST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_PUBLISHING_TYPE_CONCRETE_PUBLISHING_HOST))
#define SPIT_PUBLISHING_IS_CONCRETE_PUBLISHING_HOST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPIT_PUBLISHING_TYPE_CONCRETE_PUBLISHING_HOST))
#define SPIT_PUBLISHING_CONCRETE_PUBLISHING_HOST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPIT_PUBLISHING_TYPE_CONCRETE_PUBLISHING_HOST, SpitPublishingConcretePublishingHostClass))

typedef struct _SpitPublishingConcretePublishingHost SpitPublishingConcretePublishingHost;
typedef struct _SpitPublishingConcretePublishingHostClass SpitPublishingConcretePublishingHostClass;

#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_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 PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER (publishing_glue_media_source_publishable_wrapper_get_type ())
#define PUBLISHING_GLUE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER, PublishingGlueMediaSourcePublishableWrapper))
#define PUBLISHING_GLUE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER, PublishingGlueMediaSourcePublishableWrapperClass))
#define PUBLISHING_GLUE_IS_MEDIA_SOURCE_PUBLISHABLE_WRAPPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER))
#define PUBLISHING_GLUE_IS_MEDIA_SOURCE_PUBLISHABLE_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER))
#define PUBLISHING_GLUE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER, PublishingGlueMediaSourcePublishableWrapperClass))

typedef struct _PublishingGlueMediaSourcePublishableWrapper PublishingGlueMediaSourcePublishableWrapper;
typedef struct _PublishingGlueMediaSourcePublishableWrapperClass PublishingGlueMediaSourcePublishableWrapperClass;

#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 _g_timer_destroy0(var) ((var == NULL) ? NULL : (var = (g_timer_destroy (var), NULL)))

#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_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 _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 _PublishingUIConcreteDialogPane {
	GObject parent_instance;
	PublishingUIConcreteDialogPanePrivate * priv;
	GtkBox* pane_widget;
	GtkBuilder* builder;
};

struct _PublishingUIConcreteDialogPaneClass {
	GObjectClass parent_class;
};

struct _PublishingUIStaticMessagePane {
	PublishingUIConcreteDialogPane parent_instance;
	PublishingUIStaticMessagePanePrivate * priv;
};

struct _PublishingUIStaticMessagePaneClass {
	PublishingUIConcreteDialogPaneClass parent_class;
};

struct _PublishingUIStaticMessagePanePrivate {
	GtkLabel* msg_label;
};

struct _PublishingUILoginWelcomePane {
	PublishingUIConcreteDialogPane parent_instance;
	PublishingUILoginWelcomePanePrivate * priv;
};

struct _PublishingUILoginWelcomePaneClass {
	PublishingUIConcreteDialogPaneClass parent_class;
};

struct _PublishingUILoginWelcomePanePrivate {
	GtkButton* login_button;
	GtkLabel* not_logged_in_label;
};

struct _PublishingUIProgressPane {
	PublishingUIConcreteDialogPane parent_instance;
	PublishingUIProgressPanePrivate * priv;
};

struct _PublishingUIProgressPaneClass {
	PublishingUIConcreteDialogPaneClass parent_class;
};

struct _PublishingUIProgressPanePrivate {
	GtkProgressBar* progress_bar;
};

struct _PublishingUISuccessPane {
	PublishingUIStaticMessagePane parent_instance;
	PublishingUISuccessPanePrivate * priv;
};

struct _PublishingUISuccessPaneClass {
	PublishingUIStaticMessagePaneClass parent_class;
};

struct _PublishingUIAccountFetchWaitPane {
	PublishingUIStaticMessagePane parent_instance;
	PublishingUIAccountFetchWaitPanePrivate * priv;
};

struct _PublishingUIAccountFetchWaitPaneClass {
	PublishingUIStaticMessagePaneClass parent_class;
};

struct _PublishingUILoginWaitPane {
	PublishingUIStaticMessagePane parent_instance;
	PublishingUILoginWaitPanePrivate * priv;
};

struct _PublishingUILoginWaitPaneClass {
	PublishingUIStaticMessagePaneClass parent_class;
};

struct _PublishingUIPublishingDialog {
	GtkDialog parent_instance;
	PublishingUIPublishingDialogPrivate * priv;
};

struct _PublishingUIPublishingDialogClass {
	GtkDialogClass parent_class;
};

struct _PublishingUIPublishingDialogPrivate {
	GtkListStore* service_selector_box_model;
	GtkComboBox* service_selector_box;
	GtkBox* central_area_layouter;
	GtkButton* close_cancel_button;
	SpitPublishingDialogPane* active_pane;
	SpitPublishingPublishable** publishables;
	gint publishables_length1;
	gint _publishables_size_;
	SpitPublishingConcretePublishingHost* host;
	SpitPluggableInfo info;
};


static gpointer publishing_ui_concrete_dialog_pane_parent_class = NULL;
static SpitPublishingDialogPaneIface* publishing_ui_concrete_dialog_pane_spit_publishing_dialog_pane_parent_iface = NULL;
static gpointer publishing_ui_static_message_pane_parent_class = NULL;
static gpointer publishing_ui_login_welcome_pane_parent_class = NULL;
static gpointer publishing_ui_progress_pane_parent_class = NULL;
static gpointer publishing_ui_success_pane_parent_class = NULL;
static gpointer publishing_ui_account_fetch_wait_pane_parent_class = NULL;
static gpointer publishing_ui_login_wait_pane_parent_class = NULL;
static gpointer publishing_ui_publishing_dialog_parent_class = NULL;
static PublishingUIPublishingDialog* publishing_ui_publishing_dialog_active_instance;
static PublishingUIPublishingDialog* publishing_ui_publishing_dialog_active_instance = NULL;
static GTimer* publishing_ui_publishing_dialog_since_last_start;
static GTimer* publishing_ui_publishing_dialog_since_last_start = NULL;
static gboolean publishing_ui_publishing_dialog_elapsed_is_valid;
static gboolean publishing_ui_publishing_dialog_elapsed_is_valid = FALSE;

GType publishing_ui_concrete_dialog_pane_get_type (void) G_GNUC_CONST;
enum  {
	PUBLISHING_UI_CONCRETE_DIALOG_PANE_DUMMY_PROPERTY
};
PublishingUIConcreteDialogPane* publishing_ui_concrete_dialog_pane_new (void);
PublishingUIConcreteDialogPane* publishing_ui_concrete_dialog_pane_construct (GType object_type);
GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user);
static GtkWidget* publishing_ui_concrete_dialog_pane_real_get_widget (SpitPublishingDialogPane* base);
static SpitPublishingDialogPaneGeometryOptions publishing_ui_concrete_dialog_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base);
static void publishing_ui_concrete_dialog_pane_real_on_pane_installed (SpitPublishingDialogPane* base);
static void publishing_ui_concrete_dialog_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base);
static void publishing_ui_concrete_dialog_pane_finalize (GObject* obj);
GType publishing_ui_static_message_pane_get_type (void) G_GNUC_CONST;
#define PUBLISHING_UI_STATIC_MESSAGE_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, PublishingUIStaticMessagePanePrivate))
enum  {
	PUBLISHING_UI_STATIC_MESSAGE_PANE_DUMMY_PROPERTY
};
PublishingUIStaticMessagePane* publishing_ui_static_message_pane_new (const gchar* message_string, gboolean enable_markup);
PublishingUIStaticMessagePane* publishing_ui_static_message_pane_construct (GType object_type, const gchar* message_string, gboolean enable_markup);
static void publishing_ui_static_message_pane_finalize (GObject* obj);
GType publishing_ui_login_welcome_pane_get_type (void) G_GNUC_CONST;
#define PUBLISHING_UI_LOGIN_WELCOME_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, PublishingUILoginWelcomePanePrivate))
enum  {
	PUBLISHING_UI_LOGIN_WELCOME_PANE_DUMMY_PROPERTY
};
PublishingUILoginWelcomePane* publishing_ui_login_welcome_pane_new (const gchar* service_welcome_message);
PublishingUILoginWelcomePane* publishing_ui_login_welcome_pane_construct (GType object_type, const gchar* service_welcome_message);
static void publishing_ui_login_welcome_pane_on_login_clicked (PublishingUILoginWelcomePane* self);
static void _publishing_ui_login_welcome_pane_on_login_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void publishing_ui_login_welcome_pane_finalize (GObject* obj);
GType publishing_ui_progress_pane_get_type (void) G_GNUC_CONST;
#define PUBLISHING_UI_PROGRESS_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_UI_TYPE_PROGRESS_PANE, PublishingUIProgressPanePrivate))
enum  {
	PUBLISHING_UI_PROGRESS_PANE_DUMMY_PROPERTY
};
PublishingUIProgressPane* publishing_ui_progress_pane_new (void);
PublishingUIProgressPane* publishing_ui_progress_pane_construct (GType object_type);
void publishing_ui_progress_pane_set_text (PublishingUIProgressPane* self, const gchar* text);
void publishing_ui_progress_pane_set_progress (PublishingUIProgressPane* self, gdouble progress);
void publishing_ui_progress_pane_set_status (PublishingUIProgressPane* self, const gchar* status_text, gdouble progress);
static void publishing_ui_progress_pane_finalize (GObject* obj);
GType publishing_ui_success_pane_get_type (void) G_GNUC_CONST;
enum  {
	PUBLISHING_UI_SUCCESS_PANE_DUMMY_PROPERTY
};
PublishingUISuccessPane* publishing_ui_success_pane_new (SpitPublishingPublisherMediaType published_media, gint num_uploaded);
PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type, SpitPublishingPublisherMediaType published_media, gint num_uploaded);
GType publishing_ui_account_fetch_wait_pane_get_type (void) G_GNUC_CONST;
enum  {
	PUBLISHING_UI_ACCOUNT_FETCH_WAIT_PANE_DUMMY_PROPERTY
};
PublishingUIAccountFetchWaitPane* publishing_ui_account_fetch_wait_pane_new (void);
PublishingUIAccountFetchWaitPane* publishing_ui_account_fetch_wait_pane_construct (GType object_type);
GType publishing_ui_login_wait_pane_get_type (void) G_GNUC_CONST;
enum  {
	PUBLISHING_UI_LOGIN_WAIT_PANE_DUMMY_PROPERTY
};
PublishingUILoginWaitPane* publishing_ui_login_wait_pane_new (void);
PublishingUILoginWaitPane* publishing_ui_login_wait_pane_construct (GType object_type);
GType publishing_ui_publishing_dialog_get_type (void) G_GNUC_CONST;
GType plugins_standard_host_interface_get_type (void) G_GNUC_CONST;
GType spit_publishing_concrete_publishing_host_get_type (void) G_GNUC_CONST;
#define PUBLISHING_UI_PUBLISHING_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_UI_TYPE_PUBLISHING_DIALOG, PublishingUIPublishingDialogPrivate))
enum  {
	PUBLISHING_UI_PUBLISHING_DIALOG_DUMMY_PROPERTY
};
#define PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_WIDTH 860
#define PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_HEIGHT 688
#define PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_WIDTH 1024
#define PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_HEIGHT 688
#define PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_WIDTH 632
#define PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_HEIGHT 540
#define PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH 16
#define PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT 100
#define PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_CONTENT_LABEL_WIDTH 500
#define PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_ACTION_BUTTON_WIDTH 128
GType data_object_get_type (void) G_GNUC_CONST;
GType data_source_get_type (void) G_GNUC_CONST;
GType thumbnail_source_get_type (void) G_GNUC_CONST;
GType media_source_get_type (void) G_GNUC_CONST;
PublishingUIPublishingDialog* publishing_ui_publishing_dialog_new (GeeCollection* to_publish);
PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType object_type, GeeCollection* to_publish);
static gboolean publishing_ui_publishing_dialog_on_window_close (PublishingUIPublishingDialog* self, GdkEventAny* evt);
static gboolean _publishing_ui_publishing_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
PublishingGlueMediaSourcePublishableWrapper* publishing_glue_media_source_publishable_wrapper_new (MediaSource* to_wrap);
PublishingGlueMediaSourcePublishableWrapper* publishing_glue_media_source_publishable_wrapper_construct (GType object_type, MediaSource* to_wrap);
GType publishing_glue_media_source_publishable_wrapper_get_type (void) G_GNUC_CONST;
static void _vala_array_add55 (SpitPublishingPublishable*** array, int* length, int* size, SpitPublishingPublishable* value);
GType configuration_facade_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
ConfigFacade* config_facade_get_instance (void);
gchar* configuration_facade_get_last_used_service (ConfigurationFacade* self);
static SpitPublishingService** publishing_ui_publishing_dialog_load_services (gboolean has_photos, gboolean has_videos, int* result_length1);
GdkPixbuf* resources_get_icon (const gchar* name, gint scale);
#define RESOURCES_ICON_GENERIC_PLUGIN "generic-plugin.png"
#define RESOURCES_DEFAULT_ICON_SCALE 24
static void publishing_ui_publishing_dialog_on_service_changed (PublishingUIPublishingDialog* self);
static void _publishing_ui_publishing_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
static void publishing_ui_publishing_dialog_on_close_cancel_clicked (PublishingUIPublishingDialog* self);
static void _publishing_ui_publishing_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void publishing_ui_publishing_dialog_set_standard_window_mode (PublishingUIPublishingDialog* self);
static SpitPublishingService** publishing_ui_publishing_dialog_load_all_services (int* result_length1);
GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify, gboolean include_disabled);
gchar* plugins_get_pluggable_module_id (SpitPluggable* needle);
static void _vala_array_add56 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
static gint __lambda15_ (void* a, void* b);
gint utf8_cs_compare (void* a, void* b);
static gint ___lambda15____compar_fn_t (void* key1, void* key2);
static void _vala_array_add57 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
static void _vala_array_add58 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
static void _vala_array_add59 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
void publishing_ui_publishing_dialog_go (GeeCollection* to_publish);
GType photo_source_get_type (void) G_GNUC_CONST;
GType photo_get_type (void) G_GNUC_CONST;
GType library_photo_get_type (void) G_GNUC_CONST;
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 app_window_error_message_with_title (const gchar* title, const gchar* message, GtkWindow* parent, gboolean should_escape);
gint publishing_ui_publishing_dialog_run (PublishingUIPublishingDialog* self);
void configuration_facade_set_last_used_service (ConfigurationFacade* self, const gchar* service_name);
SpitPublishingConcretePublishingHost* spit_publishing_concrete_publishing_host_new (SpitPublishingService* service, PublishingUIPublishingDialog* dialog, SpitPublishingPublishable** publishables, int publishables_length1);
SpitPublishingConcretePublishingHost* spit_publishing_concrete_publishing_host_construct (GType object_type, SpitPublishingService* service, PublishingUIPublishingDialog* dialog, SpitPublishingPublishable** publishables, int publishables_length1);
void spit_publishing_concrete_publishing_host_start_publishing (SpitPublishingConcretePublishingHost* self);
static void publishing_ui_publishing_dialog_set_large_window_mode (PublishingUIPublishingDialog* self);
static void publishing_ui_publishing_dialog_set_colossal_window_mode (PublishingUIPublishingDialog* self);
static void publishing_ui_publishing_dialog_set_free_sizable_window_mode (PublishingUIPublishingDialog* self);
static void publishing_ui_publishing_dialog_clear_free_sizable_window_mode (PublishingUIPublishingDialog* self);
SpitPublishingDialogPane* publishing_ui_publishing_dialog_get_active_pane (PublishingUIPublishingDialog* self);
void publishing_ui_publishing_dialog_set_close_button_mode (PublishingUIPublishingDialog* self);
void publishing_ui_publishing_dialog_set_cancel_button_mode (PublishingUIPublishingDialog* self);
void publishing_ui_publishing_dialog_lock_service (PublishingUIPublishingDialog* self);
void publishing_ui_publishing_dialog_unlock_service (PublishingUIPublishingDialog* self);
void publishing_ui_publishing_dialog_install_pane (PublishingUIPublishingDialog* self, SpitPublishingDialogPane* pane);
static void publishing_ui_publishing_dialog_finalize (GObject* obj);
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);


PublishingUIConcreteDialogPane* publishing_ui_concrete_dialog_pane_construct (GType object_type) {
	PublishingUIConcreteDialogPane * self = NULL;
	GtkBuilder* _tmp0_ = NULL;
#line 13 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUIConcreteDialogPane*) g_object_new (object_type, NULL);
#line 14 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = app_window_create_builder ("shotwell.ui", NULL);
#line 14 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->builder);
#line 14 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->builder = _tmp0_;
#line 13 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 529 "PublishingUI.c"
}


PublishingUIConcreteDialogPane* publishing_ui_concrete_dialog_pane_new (void) {
#line 13 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_concrete_dialog_pane_construct (PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE);
#line 536 "PublishingUI.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 18 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self ? g_object_ref (self) : NULL;
#line 543 "PublishingUI.c"
}


static GtkWidget* publishing_ui_concrete_dialog_pane_real_get_widget (SpitPublishingDialogPane* base) {
	PublishingUIConcreteDialogPane * self;
	GtkWidget* result = NULL;
	GtkBox* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
#line 17 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane);
#line 18 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->pane_widget;
#line 18 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
#line 18 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = _tmp1_;
#line 18 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 562 "PublishingUI.c"
}


static SpitPublishingDialogPaneGeometryOptions publishing_ui_concrete_dialog_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
	PublishingUIConcreteDialogPane * self;
	SpitPublishingDialogPaneGeometryOptions result = 0;
#line 21 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane);
#line 22 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
#line 22 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 575 "PublishingUI.c"
}


static void publishing_ui_concrete_dialog_pane_real_on_pane_installed (SpitPublishingDialogPane* base) {
	PublishingUIConcreteDialogPane * self;
#line 25 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane);
#line 583 "PublishingUI.c"
}


static void publishing_ui_concrete_dialog_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
	PublishingUIConcreteDialogPane * self;
#line 28 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane);
#line 591 "PublishingUI.c"
}


static void publishing_ui_concrete_dialog_pane_class_init (PublishingUIConcreteDialogPaneClass * klass) {
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_concrete_dialog_pane_parent_class = g_type_class_peek_parent (klass);
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (klass)->finalize = publishing_ui_concrete_dialog_pane_finalize;
#line 600 "PublishingUI.c"
}


static void publishing_ui_concrete_dialog_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) {
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_concrete_dialog_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_ui_concrete_dialog_pane_real_get_widget;
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_ui_concrete_dialog_pane_real_get_preferred_geometry;
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_ui_concrete_dialog_pane_real_on_pane_installed;
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_ui_concrete_dialog_pane_real_on_pane_uninstalled;
#line 615 "PublishingUI.c"
}


static void publishing_ui_concrete_dialog_pane_instance_init (PublishingUIConcreteDialogPane * self) {
#line 10 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->pane_widget = NULL;
#line 11 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->builder = NULL;
#line 624 "PublishingUI.c"
}


static void publishing_ui_concrete_dialog_pane_finalize (GObject* obj) {
	PublishingUIConcreteDialogPane * self;
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane);
#line 10 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->pane_widget);
#line 11 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->builder);
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (publishing_ui_concrete_dialog_pane_parent_class)->finalize (obj);
#line 638 "PublishingUI.c"
}


GType publishing_ui_concrete_dialog_pane_get_type (void) {
	static volatile gsize publishing_ui_concrete_dialog_pane_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_concrete_dialog_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUIConcreteDialogPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_concrete_dialog_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUIConcreteDialogPane), 0, (GInstanceInitFunc) publishing_ui_concrete_dialog_pane_instance_init, NULL };
		static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_ui_concrete_dialog_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType publishing_ui_concrete_dialog_pane_type_id;
		publishing_ui_concrete_dialog_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingUIConcreteDialogPane", &g_define_type_info, 0);
		g_type_add_interface_static (publishing_ui_concrete_dialog_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info);
		g_once_init_leave (&publishing_ui_concrete_dialog_pane_type_id__volatile, publishing_ui_concrete_dialog_pane_type_id);
	}
	return publishing_ui_concrete_dialog_pane_type_id__volatile;
}


PublishingUIStaticMessagePane* publishing_ui_static_message_pane_construct (GType object_type, const gchar* message_string, gboolean enable_markup) {
	PublishingUIStaticMessagePane * self = NULL;
	GtkBuilder* _tmp0_ = NULL;
	GObject* _tmp1_ = NULL;
	GtkLabel* _tmp2_ = NULL;
	GtkBuilder* _tmp3_ = NULL;
	GObject* _tmp4_ = NULL;
	GtkBox* _tmp5_ = NULL;
	gboolean _tmp6_ = FALSE;
#line 35 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_val_if_fail (message_string != NULL, NULL);
#line 36 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUIStaticMessagePane*) publishing_ui_concrete_dialog_pane_construct (object_type);
#line 37 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->builder;
#line 37 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = gtk_builder_get_object (_tmp0_, "static_msg_label");
#line 37 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp1_) : NULL);
#line 37 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->msg_label);
#line 37 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->msg_label = _tmp2_;
#line 38 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->builder;
#line 38 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp4_ = gtk_builder_get_object (_tmp3_, "static_msg_pane_widget");
#line 38 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, gtk_box_get_type ()) ? ((GtkBox*) _tmp4_) : NULL);
#line 38 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->pane_widget);
#line 38 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->pane_widget = _tmp5_;
#line 40 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp6_ = enable_markup;
#line 40 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp6_) {
#line 693 "PublishingUI.c"
		GtkLabel* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		GtkLabel* _tmp9_ = NULL;
		GtkLabel* _tmp10_ = NULL;
#line 41 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp7_ = self->priv->msg_label;
#line 41 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp8_ = message_string;
#line 41 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_label_set_markup (_tmp7_, _tmp8_);
#line 42 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp9_ = self->priv->msg_label;
#line 42 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_label_set_line_wrap (_tmp9_, TRUE);
#line 43 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp10_ = self->priv->msg_label;
#line 43 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_label_set_use_markup (_tmp10_, TRUE);
#line 712 "PublishingUI.c"
	} else {
		GtkLabel* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
#line 45 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp11_ = self->priv->msg_label;
#line 45 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp12_ = message_string;
#line 45 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_label_set_label (_tmp11_, _tmp12_);
#line 722 "PublishingUI.c"
	}
#line 35 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 726 "PublishingUI.c"
}


PublishingUIStaticMessagePane* publishing_ui_static_message_pane_new (const gchar* message_string, gboolean enable_markup) {
#line 35 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_static_message_pane_construct (PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, message_string, enable_markup);
#line 733 "PublishingUI.c"
}


static void publishing_ui_static_message_pane_class_init (PublishingUIStaticMessagePaneClass * klass) {
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_static_message_pane_parent_class = g_type_class_peek_parent (klass);
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_type_class_add_private (klass, sizeof (PublishingUIStaticMessagePanePrivate));
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (klass)->finalize = publishing_ui_static_message_pane_finalize;
#line 744 "PublishingUI.c"
}


static void publishing_ui_static_message_pane_instance_init (PublishingUIStaticMessagePane * self) {
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv = PUBLISHING_UI_STATIC_MESSAGE_PANE_GET_PRIVATE (self);
#line 33 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->msg_label = NULL;
#line 753 "PublishingUI.c"
}


static void publishing_ui_static_message_pane_finalize (GObject* obj) {
	PublishingUIStaticMessagePane * self;
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, PublishingUIStaticMessagePane);
#line 33 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->msg_label);
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (publishing_ui_static_message_pane_parent_class)->finalize (obj);
#line 765 "PublishingUI.c"
}


GType publishing_ui_static_message_pane_get_type (void) {
	static volatile gsize publishing_ui_static_message_pane_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_static_message_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUIStaticMessagePaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_static_message_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUIStaticMessagePane), 0, (GInstanceInitFunc) publishing_ui_static_message_pane_instance_init, NULL };
		GType publishing_ui_static_message_pane_type_id;
		publishing_ui_static_message_pane_type_id = g_type_register_static (PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, "PublishingUIStaticMessagePane", &g_define_type_info, 0);
		g_once_init_leave (&publishing_ui_static_message_pane_type_id__volatile, publishing_ui_static_message_pane_type_id);
	}
	return publishing_ui_static_message_pane_type_id__volatile;
}


static void _publishing_ui_login_welcome_pane_on_login_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 62 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_login_welcome_pane_on_login_clicked ((PublishingUILoginWelcomePane*) self);
#line 784 "PublishingUI.c"
}


PublishingUILoginWelcomePane* publishing_ui_login_welcome_pane_construct (GType object_type, const gchar* service_welcome_message) {
	PublishingUILoginWelcomePane * self = NULL;
	GtkBuilder* _tmp0_ = NULL;
	GObject* _tmp1_ = NULL;
	GtkBox* _tmp2_ = NULL;
	GtkBuilder* _tmp3_ = NULL;
	GObject* _tmp4_ = NULL;
	GtkButton* _tmp5_ = NULL;
	GtkBuilder* _tmp6_ = NULL;
	GObject* _tmp7_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	GtkButton* _tmp9_ = NULL;
	GtkLabel* _tmp10_ = NULL;
	GtkLabel* _tmp11_ = NULL;
	const gchar* _tmp12_ = NULL;
#line 56 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_val_if_fail (service_welcome_message != NULL, NULL);
#line 57 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUILoginWelcomePane*) publishing_ui_concrete_dialog_pane_construct (object_type);
#line 58 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->builder;
#line 58 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = gtk_builder_get_object (_tmp0_, "welcome_pane_widget");
#line 58 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_box_get_type ()) ? ((GtkBox*) _tmp1_) : NULL);
#line 58 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->pane_widget);
#line 58 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->pane_widget = _tmp2_;
#line 59 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->builder;
#line 59 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp4_ = gtk_builder_get_object (_tmp3_, "login_button");
#line 59 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, gtk_button_get_type ()) ? ((GtkButton*) _tmp4_) : NULL);
#line 59 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->login_button);
#line 59 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->login_button = _tmp5_;
#line 60 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->builder;
#line 60 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp7_ = gtk_builder_get_object (_tmp6_, "not_logged_in_label");
#line 60 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp7_) : NULL);
#line 60 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->not_logged_in_label);
#line 60 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->not_logged_in_label = _tmp8_;
#line 62 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp9_ = self->priv->login_button;
#line 62 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_signal_connect_object (_tmp9_, "clicked", (GCallback) _publishing_ui_login_welcome_pane_on_login_clicked_gtk_button_clicked, self, 0);
#line 63 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp10_ = self->priv->not_logged_in_label;
#line 63 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_label_set_use_markup (_tmp10_, TRUE);
#line 64 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp11_ = self->priv->not_logged_in_label;
#line 64 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp12_ = service_welcome_message;
#line 64 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_label_set_markup (_tmp11_, _tmp12_);
#line 56 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 853 "PublishingUI.c"
}


PublishingUILoginWelcomePane* publishing_ui_login_welcome_pane_new (const gchar* service_welcome_message) {
#line 56 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_login_welcome_pane_construct (PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, service_welcome_message);
#line 860 "PublishingUI.c"
}


static void publishing_ui_login_welcome_pane_on_login_clicked (PublishingUILoginWelcomePane* self) {
#line 67 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_LOGIN_WELCOME_PANE (self));
#line 68 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_signal_emit_by_name (self, "login-requested");
#line 869 "PublishingUI.c"
}


static void publishing_ui_login_welcome_pane_class_init (PublishingUILoginWelcomePaneClass * klass) {
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_login_welcome_pane_parent_class = g_type_class_peek_parent (klass);
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_type_class_add_private (klass, sizeof (PublishingUILoginWelcomePanePrivate));
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (klass)->finalize = publishing_ui_login_welcome_pane_finalize;
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_signal_new ("login_requested", PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 882 "PublishingUI.c"
}


static void publishing_ui_login_welcome_pane_instance_init (PublishingUILoginWelcomePane * self) {
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv = PUBLISHING_UI_LOGIN_WELCOME_PANE_GET_PRIVATE (self);
#line 51 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->login_button = NULL;
#line 52 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->not_logged_in_label = NULL;
#line 893 "PublishingUI.c"
}


static void publishing_ui_login_welcome_pane_finalize (GObject* obj) {
	PublishingUILoginWelcomePane * self;
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, PublishingUILoginWelcomePane);
#line 51 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->login_button);
#line 52 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->not_logged_in_label);
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (publishing_ui_login_welcome_pane_parent_class)->finalize (obj);
#line 907 "PublishingUI.c"
}


GType publishing_ui_login_welcome_pane_get_type (void) {
	static volatile gsize publishing_ui_login_welcome_pane_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_login_welcome_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUILoginWelcomePaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_login_welcome_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUILoginWelcomePane), 0, (GInstanceInitFunc) publishing_ui_login_welcome_pane_instance_init, NULL };
		GType publishing_ui_login_welcome_pane_type_id;
		publishing_ui_login_welcome_pane_type_id = g_type_register_static (PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, "PublishingUILoginWelcomePane", &g_define_type_info, 0);
		g_once_init_leave (&publishing_ui_login_welcome_pane_type_id__volatile, publishing_ui_login_welcome_pane_type_id);
	}
	return publishing_ui_login_welcome_pane_type_id__volatile;
}


PublishingUIProgressPane* publishing_ui_progress_pane_construct (GType object_type) {
	PublishingUIProgressPane * self = NULL;
	GtkBuilder* _tmp0_ = NULL;
	GObject* _tmp1_ = NULL;
	GtkBox* _tmp2_ = NULL;
	GtkBuilder* _tmp3_ = NULL;
	GObject* _tmp4_ = NULL;
	GtkProgressBar* _tmp5_ = NULL;
#line 76 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUIProgressPane*) publishing_ui_concrete_dialog_pane_construct (object_type);
#line 77 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->builder;
#line 77 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = gtk_builder_get_object (_tmp0_, "progress_pane_widget");
#line 77 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_box_get_type (), GtkBox));
#line 77 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->pane_widget);
#line 77 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->pane_widget = _tmp2_;
#line 78 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane)->builder;
#line 78 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp4_ = gtk_builder_get_object (_tmp3_, "publishing_progress_bar");
#line 78 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_progress_bar_get_type (), GtkProgressBar));
#line 78 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->progress_bar);
#line 78 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->progress_bar = _tmp5_;
#line 75 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 955 "PublishingUI.c"
}


PublishingUIProgressPane* publishing_ui_progress_pane_new (void) {
#line 75 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_progress_pane_construct (PUBLISHING_UI_TYPE_PROGRESS_PANE);
#line 962 "PublishingUI.c"
}


void publishing_ui_progress_pane_set_text (PublishingUIProgressPane* self, const gchar* text) {
	GtkProgressBar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 81 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PROGRESS_PANE (self));
#line 81 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (text != NULL);
#line 82 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->progress_bar;
#line 82 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = text;
#line 82 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_progress_bar_set_text (_tmp0_, _tmp1_);
#line 979 "PublishingUI.c"
}


void publishing_ui_progress_pane_set_progress (PublishingUIProgressPane* self, gdouble progress) {
	GtkProgressBar* _tmp0_ = NULL;
	gdouble _tmp1_ = 0.0;
#line 85 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PROGRESS_PANE (self));
#line 86 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->progress_bar;
#line 86 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = progress;
#line 86 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_progress_bar_set_fraction (_tmp0_, _tmp1_);
#line 994 "PublishingUI.c"
}


void publishing_ui_progress_pane_set_status (PublishingUIProgressPane* self, const gchar* status_text, gdouble progress) {
	const gchar* _tmp0_ = NULL;
	GtkProgressBar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gdouble _tmp5_ = 0.0;
#line 89 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PROGRESS_PANE (self));
#line 89 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (status_text != NULL);
#line 90 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = status_text;
#line 90 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = self->priv->progress_bar;
#line 90 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = gtk_progress_bar_get_text (_tmp1_);
#line 90 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (g_strcmp0 (_tmp0_, _tmp2_) != 0) {
#line 1015 "PublishingUI.c"
		GtkProgressBar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 91 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp3_ = self->priv->progress_bar;
#line 91 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp4_ = status_text;
#line 91 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_progress_bar_set_text (_tmp3_, _tmp4_);
#line 1024 "PublishingUI.c"
	}
#line 93 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp5_ = progress;
#line 93 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_progress_pane_set_progress (self, _tmp5_);
#line 1030 "PublishingUI.c"
}


static void publishing_ui_progress_pane_class_init (PublishingUIProgressPaneClass * klass) {
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_progress_pane_parent_class = g_type_class_peek_parent (klass);
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_type_class_add_private (klass, sizeof (PublishingUIProgressPanePrivate));
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (klass)->finalize = publishing_ui_progress_pane_finalize;
#line 1041 "PublishingUI.c"
}


static void publishing_ui_progress_pane_instance_init (PublishingUIProgressPane * self) {
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv = PUBLISHING_UI_PROGRESS_PANE_GET_PRIVATE (self);
#line 73 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->progress_bar = NULL;
#line 1050 "PublishingUI.c"
}


static void publishing_ui_progress_pane_finalize (GObject* obj) {
	PublishingUIProgressPane * self;
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_UI_TYPE_PROGRESS_PANE, PublishingUIProgressPane);
#line 73 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->progress_bar);
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (publishing_ui_progress_pane_parent_class)->finalize (obj);
#line 1062 "PublishingUI.c"
}


GType publishing_ui_progress_pane_get_type (void) {
	static volatile gsize publishing_ui_progress_pane_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_progress_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUIProgressPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_progress_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUIProgressPane), 0, (GInstanceInitFunc) publishing_ui_progress_pane_instance_init, NULL };
		GType publishing_ui_progress_pane_type_id;
		publishing_ui_progress_pane_type_id = g_type_register_static (PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, "PublishingUIProgressPane", &g_define_type_info, 0);
		g_once_init_leave (&publishing_ui_progress_pane_type_id__volatile, publishing_ui_progress_pane_type_id);
	}
	return publishing_ui_progress_pane_type_id__volatile;
}


PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type, SpitPublishingPublisherMediaType published_media, gint num_uploaded) {
	PublishingUISuccessPane * self = NULL;
	gchar* message_string = NULL;
	gint _tmp0_ = 0;
	const gchar* _tmp14_ = NULL;
#line 99 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	message_string = NULL;
#line 103 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = num_uploaded;
#line 103 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp0_ > 1) {
#line 1089 "PublishingUI.c"
		SpitPublishingPublisherMediaType _tmp1_ = 0;
#line 104 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp1_ = published_media;
#line 104 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		if (_tmp1_ == (SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO | SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO)) {
#line 1095 "PublishingUI.c"
			const gchar* _tmp2_ = NULL;
			gchar* _tmp3_ = NULL;
#line 105 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp2_ = _ ("The selected photos/videos were successfully published.");
#line 105 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp3_ = g_strdup (_tmp2_);
#line 105 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_free0 (message_string);
#line 105 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			message_string = _tmp3_;
#line 1106 "PublishingUI.c"
		} else {
			SpitPublishingPublisherMediaType _tmp4_ = 0;
#line 106 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp4_ = published_media;
#line 106 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			if (_tmp4_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
#line 1113 "PublishingUI.c"
				const gchar* _tmp5_ = NULL;
				gchar* _tmp6_ = NULL;
#line 107 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp5_ = _ ("The selected videos were successfully published.");
#line 107 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp6_ = g_strdup (_tmp5_);
#line 107 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_free0 (message_string);
#line 107 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				message_string = _tmp6_;
#line 1124 "PublishingUI.c"
			} else {
				const gchar* _tmp7_ = NULL;
				gchar* _tmp8_ = NULL;
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp7_ = _ ("The selected photos were successfully published.");
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp8_ = g_strdup (_tmp7_);
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_free0 (message_string);
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				message_string = _tmp8_;
#line 1136 "PublishingUI.c"
			}
		}
	} else {
		SpitPublishingPublisherMediaType _tmp9_ = 0;
#line 111 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp9_ = published_media;
#line 111 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		if (_tmp9_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
#line 1145 "PublishingUI.c"
			const gchar* _tmp10_ = NULL;
			gchar* _tmp11_ = NULL;
#line 112 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp10_ = _ ("The selected video was successfully published.");
#line 112 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp11_ = g_strdup (_tmp10_);
#line 112 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_free0 (message_string);
#line 112 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			message_string = _tmp11_;
#line 1156 "PublishingUI.c"
		} else {
			const gchar* _tmp12_ = NULL;
			gchar* _tmp13_ = NULL;
#line 114 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp12_ = _ ("The selected photo was successfully published.");
#line 114 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp13_ = g_strdup (_tmp12_);
#line 114 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_free0 (message_string);
#line 114 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			message_string = _tmp13_;
#line 1168 "PublishingUI.c"
		}
	}
#line 116 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp14_ = message_string;
#line 116 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUISuccessPane*) publishing_ui_static_message_pane_construct (object_type, _tmp14_, FALSE);
#line 98 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_free0 (message_string);
#line 98 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 1179 "PublishingUI.c"
}


PublishingUISuccessPane* publishing_ui_success_pane_new (SpitPublishingPublisherMediaType published_media, gint num_uploaded) {
#line 98 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_success_pane_construct (PUBLISHING_UI_TYPE_SUCCESS_PANE, published_media, num_uploaded);
#line 1186 "PublishingUI.c"
}


static void publishing_ui_success_pane_class_init (PublishingUISuccessPaneClass * klass) {
#line 97 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_success_pane_parent_class = g_type_class_peek_parent (klass);
#line 1193 "PublishingUI.c"
}


static void publishing_ui_success_pane_instance_init (PublishingUISuccessPane * self) {
}


GType publishing_ui_success_pane_get_type (void) {
	static volatile gsize publishing_ui_success_pane_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_success_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUISuccessPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_success_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUISuccessPane), 0, (GInstanceInitFunc) publishing_ui_success_pane_instance_init, NULL };
		GType publishing_ui_success_pane_type_id;
		publishing_ui_success_pane_type_id = g_type_register_static (PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, "PublishingUISuccessPane", &g_define_type_info, 0);
		g_once_init_leave (&publishing_ui_success_pane_type_id__volatile, publishing_ui_success_pane_type_id);
	}
	return publishing_ui_success_pane_type_id__volatile;
}


PublishingUIAccountFetchWaitPane* publishing_ui_account_fetch_wait_pane_construct (GType object_type) {
	PublishingUIAccountFetchWaitPane * self = NULL;
	const gchar* _tmp0_ = NULL;
#line 122 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = _ ("Fetching account information…");
#line 122 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUIAccountFetchWaitPane*) publishing_ui_static_message_pane_construct (object_type, _tmp0_, FALSE);
#line 121 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 1222 "PublishingUI.c"
}


PublishingUIAccountFetchWaitPane* publishing_ui_account_fetch_wait_pane_new (void) {
#line 121 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_account_fetch_wait_pane_construct (PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE);
#line 1229 "PublishingUI.c"
}


static void publishing_ui_account_fetch_wait_pane_class_init (PublishingUIAccountFetchWaitPaneClass * klass) {
#line 120 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_account_fetch_wait_pane_parent_class = g_type_class_peek_parent (klass);
#line 1236 "PublishingUI.c"
}


static void publishing_ui_account_fetch_wait_pane_instance_init (PublishingUIAccountFetchWaitPane * self) {
}


GType publishing_ui_account_fetch_wait_pane_get_type (void) {
	static volatile gsize publishing_ui_account_fetch_wait_pane_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_account_fetch_wait_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUIAccountFetchWaitPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_account_fetch_wait_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUIAccountFetchWaitPane), 0, (GInstanceInitFunc) publishing_ui_account_fetch_wait_pane_instance_init, NULL };
		GType publishing_ui_account_fetch_wait_pane_type_id;
		publishing_ui_account_fetch_wait_pane_type_id = g_type_register_static (PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, "PublishingUIAccountFetchWaitPane", &g_define_type_info, 0);
		g_once_init_leave (&publishing_ui_account_fetch_wait_pane_type_id__volatile, publishing_ui_account_fetch_wait_pane_type_id);
	}
	return publishing_ui_account_fetch_wait_pane_type_id__volatile;
}


PublishingUILoginWaitPane* publishing_ui_login_wait_pane_construct (GType object_type) {
	PublishingUILoginWaitPane * self = NULL;
	const gchar* _tmp0_ = NULL;
#line 128 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = _ ("Logging in…");
#line 128 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUILoginWaitPane*) publishing_ui_static_message_pane_construct (object_type, _tmp0_, FALSE);
#line 127 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 1265 "PublishingUI.c"
}


PublishingUILoginWaitPane* publishing_ui_login_wait_pane_new (void) {
#line 127 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_login_wait_pane_construct (PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE);
#line 1272 "PublishingUI.c"
}


static void publishing_ui_login_wait_pane_class_init (PublishingUILoginWaitPaneClass * klass) {
#line 126 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_login_wait_pane_parent_class = g_type_class_peek_parent (klass);
#line 1279 "PublishingUI.c"
}


static void publishing_ui_login_wait_pane_instance_init (PublishingUILoginWaitPane * self) {
}


GType publishing_ui_login_wait_pane_get_type (void) {
	static volatile gsize publishing_ui_login_wait_pane_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_login_wait_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUILoginWaitPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_login_wait_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUILoginWaitPane), 0, (GInstanceInitFunc) publishing_ui_login_wait_pane_instance_init, NULL };
		GType publishing_ui_login_wait_pane_type_id;
		publishing_ui_login_wait_pane_type_id = g_type_register_static (PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, "PublishingUILoginWaitPane", &g_define_type_info, 0);
		g_once_init_leave (&publishing_ui_login_wait_pane_type_id__volatile, publishing_ui_login_wait_pane_type_id);
	}
	return publishing_ui_login_wait_pane_type_id__volatile;
}


static gboolean _publishing_ui_publishing_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
	gboolean result;
	result = publishing_ui_publishing_dialog_on_window_close ((PublishingUIPublishingDialog*) self, event);
#line 166 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 1304 "PublishingUI.c"
}


static void _vala_array_add55 (SpitPublishingPublishable*** array, int* length, int* size, SpitPublishingPublishable* value) {
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if ((*length) == (*size)) {
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*array = g_renew (SpitPublishingPublishable*, *array, (*size) + 1);
#line 1315 "PublishingUI.c"
	}
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[(*length)++] = value;
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[*length] = NULL;
#line 1321 "PublishingUI.c"
}


static void _publishing_ui_publishing_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 247 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_on_service_changed ((PublishingUIPublishingDialog*) self);
#line 1328 "PublishingUI.c"
}


static void _publishing_ui_publishing_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 285 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_on_close_cancel_clicked ((PublishingUIPublishingDialog*) self);
#line 1335 "PublishingUI.c"
}


PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType object_type, GeeCollection* to_publish) {
	PublishingUIPublishingDialog * self = NULL;
	GeeCollection* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	gboolean use_header = FALSE;
	GtkSettings* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	SpitPublishingPublishable** _tmp8_ = NULL;
	gboolean has_photos = FALSE;
	gboolean has_videos = FALSE;
	gchar* title = NULL;
	gchar* label = NULL;
	gboolean _tmp24_ = FALSE;
	gboolean _tmp25_ = FALSE;
	const gchar* _tmp42_ = NULL;
	GtkListStore* _tmp43_ = NULL;
	GtkListStore* _tmp44_ = NULL;
	GtkComboBox* _tmp45_ = NULL;
	GtkCellRendererPixbuf* renderer_pix = NULL;
	GtkCellRendererPixbuf* _tmp46_ = NULL;
	GtkComboBox* _tmp47_ = NULL;
	GtkCellRendererPixbuf* _tmp48_ = NULL;
	GtkComboBox* _tmp49_ = NULL;
	GtkCellRendererPixbuf* _tmp50_ = NULL;
	GtkCellRendererText* renderer_text = NULL;
	GtkCellRendererText* _tmp51_ = NULL;
	GtkComboBox* _tmp52_ = NULL;
	GtkCellRendererText* _tmp53_ = NULL;
	GtkComboBox* _tmp54_ = NULL;
	GtkCellRendererText* _tmp55_ = NULL;
	GtkComboBox* _tmp56_ = NULL;
	gchar* last_used_service = NULL;
	ConfigFacade* _tmp57_ = NULL;
	ConfigFacade* _tmp58_ = NULL;
	gchar* _tmp59_ = NULL;
	gchar* _tmp60_ = NULL;
	SpitPublishingService** loaded_services = NULL;
	gboolean _tmp61_ = FALSE;
	gboolean _tmp62_ = FALSE;
	gint _tmp63_ = 0;
	SpitPublishingService** _tmp64_ = NULL;
	gint loaded_services_length1 = 0;
	gint _loaded_services_size_ = 0;
	GtkTreeIter iter = {0};
	SpitPublishingService** _tmp65_ = NULL;
	gint _tmp65__length1 = 0;
	GtkComboBox* _tmp103_ = NULL;
	gboolean _tmp104_ = FALSE;
	GtkBox* _tmp130_ = NULL;
	GtkBox* _tmp131_ = NULL;
	GtkBox* _tmp132_ = NULL;
	GtkButton* _tmp133_ = NULL;
	GtkButton* _tmp134_ = NULL;
	GtkButton* _tmp135_ = NULL;
	gboolean _tmp136_ = FALSE;
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_val_if_fail (GEE_IS_COLLECTION (to_publish), NULL);
#line 157 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = to_publish;
#line 157 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = gee_collection_get_size (_tmp0_);
#line 157 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = _tmp1_;
#line 157 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_vala_assert (_tmp2_ > 0, "to_publish.size > 0");
#line 160 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = gtk_settings_get_default ();
#line 160 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp5_ = use_header;
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp5_) {
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp4_ = 1;
#line 1417 "PublishingUI.c"
	} else {
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp4_ = 0;
#line 1421 "PublishingUI.c"
	}
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = (PublishingUIPublishingDialog*) g_object_new (object_type, "use-header-bar", _tmp4_, NULL);
#line 162 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp6_ = use_header;
#line 162 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp6_) {
#line 1429 "PublishingUI.c"
		GtkWidget* _tmp7_ = NULL;
#line 163 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp7_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 163 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_header_bar_set_show_close_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_header_bar_get_type (), GtkHeaderBar), FALSE);
#line 1435 "PublishingUI.c"
	}
#line 165 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 166 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _publishing_ui_publishing_dialog_on_window_close_gtk_widget_delete_event, self, 0);
#line 168 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp8_ = g_new0 (SpitPublishingPublishable*, 0 + 1);
#line 168 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL);
#line 168 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->publishables = _tmp8_;
#line 168 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->publishables_length1 = 0;
#line 168 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->_publishables_size_ = self->priv->publishables_length1;
#line 169 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	has_photos = FALSE;
#line 170 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	has_videos = FALSE;
#line 1455 "PublishingUI.c"
	{
		GeeIterator* _media_it = NULL;
		GeeCollection* _tmp9_ = NULL;
		GeeIterator* _tmp10_ = NULL;
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp9_ = to_publish;
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp10_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ITERABLE, GeeIterable));
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_media_it = _tmp10_;
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		while (TRUE) {
#line 1468 "PublishingUI.c"
			GeeIterator* _tmp11_ = NULL;
			gboolean _tmp12_ = FALSE;
			MediaSource* media = NULL;
			GeeIterator* _tmp13_ = NULL;
			gpointer _tmp14_ = NULL;
			SpitPublishingPublishable* publishable = NULL;
			MediaSource* _tmp15_ = NULL;
			PublishingGlueMediaSourcePublishableWrapper* _tmp16_ = NULL;
			SpitPublishingPublishable* _tmp17_ = NULL;
			SpitPublishingPublisherMediaType _tmp18_ = 0;
			SpitPublishingPublishable** _tmp21_ = NULL;
			gint _tmp21__length1 = 0;
			SpitPublishingPublishable* _tmp22_ = NULL;
			SpitPublishingPublishable* _tmp23_ = NULL;
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp11_ = _media_it;
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp12_ = gee_iterator_next (_tmp11_);
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			if (!_tmp12_) {
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				break;
#line 1491 "PublishingUI.c"
			}
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp13_ = _media_it;
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp14_ = gee_iterator_get (_tmp13_);
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			media = (MediaSource*) _tmp14_;
#line 172 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp15_ = media;
#line 172 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp16_ = publishing_glue_media_source_publishable_wrapper_new (_tmp15_);
#line 172 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			publishable = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, SPIT_PUBLISHING_TYPE_PUBLISHABLE, SpitPublishingPublishable);
#line 174 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp17_ = publishable;
#line 174 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp18_ = spit_publishing_publishable_get_media_type (_tmp17_);
#line 174 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			if (_tmp18_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) {
#line 175 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				has_photos = TRUE;
#line 1513 "PublishingUI.c"
			} else {
				SpitPublishingPublishable* _tmp19_ = NULL;
				SpitPublishingPublisherMediaType _tmp20_ = 0;
#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp19_ = publishable;
#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp20_ = spit_publishing_publishable_get_media_type (_tmp19_);
#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				if (_tmp20_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
#line 177 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					has_videos = TRUE;
#line 1525 "PublishingUI.c"
				} else {
#line 179 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					g_assert_not_reached ();
#line 1529 "PublishingUI.c"
				}
			}
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp21_ = self->priv->publishables;
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp21__length1 = self->priv->publishables_length1;
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp22_ = publishable;
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp23_ = _g_object_ref0 (_tmp22_);
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_vala_array_add55 (&self->priv->publishables, &self->priv->publishables_length1, &self->priv->_publishables_size_, _tmp23_);
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_object_unref0 (publishable);
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_object_unref0 (media);
#line 1546 "PublishingUI.c"
		}
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (_media_it);
#line 1550 "PublishingUI.c"
	}
#line 184 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	title = NULL;
#line 185 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	label = NULL;
#line 187 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp25_ = has_photos;
#line 187 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp25_) {
#line 1560 "PublishingUI.c"
		gboolean _tmp26_ = FALSE;
#line 187 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp26_ = has_videos;
#line 187 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp24_ = !_tmp26_;
#line 1566 "PublishingUI.c"
	} else {
#line 187 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp24_ = FALSE;
#line 1570 "PublishingUI.c"
	}
#line 187 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp24_) {
#line 1574 "PublishingUI.c"
		const gchar* _tmp27_ = NULL;
		gchar* _tmp28_ = NULL;
		const gchar* _tmp29_ = NULL;
		gchar* _tmp30_ = NULL;
#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp27_ = _ ("Publish Photos");
#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp28_ = g_strdup (_tmp27_);
#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_free0 (title);
#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		title = _tmp28_;
#line 189 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp29_ = _ ("Publish photos _to:");
#line 189 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp30_ = g_strdup (_tmp29_);
#line 189 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_free0 (label);
#line 189 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		label = _tmp30_;
#line 1595 "PublishingUI.c"
	} else {
		gboolean _tmp31_ = FALSE;
		gboolean _tmp32_ = FALSE;
#line 190 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp32_ = has_photos;
#line 190 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		if (!_tmp32_) {
#line 1603 "PublishingUI.c"
			gboolean _tmp33_ = FALSE;
#line 190 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp33_ = has_videos;
#line 190 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp31_ = _tmp33_;
#line 1609 "PublishingUI.c"
		} else {
#line 190 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp31_ = FALSE;
#line 1613 "PublishingUI.c"
		}
#line 190 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		if (_tmp31_) {
#line 1617 "PublishingUI.c"
			const gchar* _tmp34_ = NULL;
			gchar* _tmp35_ = NULL;
			const gchar* _tmp36_ = NULL;
			gchar* _tmp37_ = NULL;
#line 191 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp34_ = _ ("Publish Videos");
#line 191 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp35_ = g_strdup (_tmp34_);
#line 191 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_free0 (title);
#line 191 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			title = _tmp35_;
#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp36_ = _ ("Publish videos _to");
#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp37_ = g_strdup (_tmp36_);
#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_free0 (label);
#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			label = _tmp37_;
#line 1638 "PublishingUI.c"
		} else {
			const gchar* _tmp38_ = NULL;
			gchar* _tmp39_ = NULL;
			const gchar* _tmp40_ = NULL;
			gchar* _tmp41_ = NULL;
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp38_ = _ ("Publish Photos and Videos");
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp39_ = g_strdup (_tmp38_);
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_free0 (title);
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			title = _tmp39_;
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp40_ = _ ("Publish photos and videos _to");
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp41_ = g_strdup (_tmp40_);
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_free0 (label);
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			label = _tmp41_;
#line 1660 "PublishingUI.c"
		}
	}
#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp42_ = title;
#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp42_);
#line 199 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp43_ = gtk_list_store_new (2, GDK_TYPE_PIXBUF, G_TYPE_STRING, -1);
#line 199 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->service_selector_box_model);
#line 199 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->service_selector_box_model = _tmp43_;
#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp44_ = self->priv->service_selector_box_model;
#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp45_ = (GtkComboBox*) gtk_combo_box_new_with_model (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_object_ref_sink (_tmp45_);
#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->service_selector_box);
#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->service_selector_box = _tmp45_;
#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp46_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_object_ref_sink (_tmp46_);
#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	renderer_pix = _tmp46_;
#line 203 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp47_ = self->priv->service_selector_box;
#line 203 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp48_ = renderer_pix;
#line 203 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp49_ = self->priv->service_selector_box;
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp50_ = renderer_pix;
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", 0);
#line 206 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp51_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 206 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_object_ref_sink (_tmp51_);
#line 206 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	renderer_text = _tmp51_;
#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp52_ = self->priv->service_selector_box;
#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp53_ = renderer_text;
#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
#line 208 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp54_ = self->priv->service_selector_box;
#line 208 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp55_ = renderer_text;
#line 208 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", 1);
#line 210 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp56_ = self->priv->service_selector_box;
#line 210 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_combo_box_set_active (_tmp56_, 0);
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp57_ = config_facade_get_instance ();
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp58_ = _tmp57_;
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp59_ = configuration_facade_get_last_used_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp60_ = _tmp59_;
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (_tmp58_);
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	last_used_service = _tmp60_;
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp61_ = has_photos;
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp62_ = has_videos;
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp64_ = publishing_ui_publishing_dialog_load_services (_tmp61_, _tmp62_, &_tmp63_);
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	loaded_services = _tmp64_;
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	loaded_services_length1 = _tmp63_;
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_loaded_services_size_ = loaded_services_length1;
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp65_ = loaded_services;
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp65__length1 = loaded_services_length1;
#line 1751 "PublishingUI.c"
	{
		SpitPublishingService** service_collection = NULL;
		gint service_collection_length1 = 0;
		gint _service_collection_size_ = 0;
		gint service_it = 0;
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_collection = _tmp65_;
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_collection_length1 = _tmp65__length1;
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		for (service_it = 0; service_it < _tmp65__length1; service_it = service_it + 1) {
#line 1763 "PublishingUI.c"
			SpitPublishingService* _tmp66_ = NULL;
			SpitPublishingService* service = NULL;
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp66_ = _g_object_ref0 (service_collection[service_it]);
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			service = _tmp66_;
#line 1770 "PublishingUI.c"
			{
				GtkListStore* _tmp67_ = NULL;
				GtkTreeIter _tmp68_ = {0};
				gchar* curr_service_id = NULL;
				SpitPublishingService* _tmp69_ = NULL;
				const gchar* _tmp70_ = NULL;
				gchar* _tmp71_ = NULL;
				SpitPublishingService* _tmp72_ = NULL;
				gboolean _tmp73_ = FALSE;
				SpitPluggableInfo _tmp74_ = {0};
				GdkPixbuf** _tmp75_ = NULL;
				gint _tmp75__length1 = 0;
				const gchar* _tmp93_ = NULL;
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp67_ = self->priv->service_selector_box_model;
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				gtk_list_store_append (_tmp67_, &_tmp68_);
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				iter = _tmp68_;
#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp69_ = service;
#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp70_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp71_ = g_strdup (_tmp70_);
#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				curr_service_id = _tmp71_;
#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp72_ = service;
#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				spit_pluggable_get_info (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, SPIT_TYPE_PLUGGABLE, SpitPluggable), &self->priv->info);
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp74_ = self->priv->info;
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp75_ = _tmp74_.icons;
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp75__length1 = _tmp74_.icons_length1;
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				if (NULL != _tmp75_) {
#line 1810 "PublishingUI.c"
					SpitPluggableInfo _tmp76_ = {0};
					GdkPixbuf** _tmp77_ = NULL;
					gint _tmp77__length1 = 0;
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp76_ = self->priv->info;
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp77_ = _tmp76_.icons;
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp77__length1 = _tmp76_.icons_length1;
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp73_ = 0 < _tmp77__length1;
#line 1822 "PublishingUI.c"
				} else {
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp73_ = FALSE;
#line 1826 "PublishingUI.c"
				}
#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				if (_tmp73_) {
#line 1830 "PublishingUI.c"
					GtkListStore* _tmp78_ = NULL;
					GtkTreeIter _tmp79_ = {0};
					SpitPluggableInfo _tmp80_ = {0};
					GdkPixbuf** _tmp81_ = NULL;
					gint _tmp81__length1 = 0;
					GdkPixbuf* _tmp82_ = NULL;
					SpitPublishingService* _tmp83_ = NULL;
					const gchar* _tmp84_ = NULL;
					GdkPixbuf* _tmp85_ = NULL;
					GdkPixbuf* _tmp86_ = NULL;
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp78_ = self->priv->service_selector_box_model;
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp79_ = iter;
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp80_ = self->priv->info;
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp81_ = _tmp80_.icons;
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp81__length1 = _tmp80_.icons_length1;
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp82_ = _tmp81_[0];
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp83_ = service;
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp84_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 228 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					gtk_list_store_set (_tmp78_, &_tmp79_, 0, _tmp82_, 1, _tmp84_, -1);
#line 232 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp85_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
#line 232 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_g_object_unref0 (self->priv->info.icons[0]);
#line 232 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					self->priv->info.icons[0] = _tmp85_;
#line 232 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp86_ = self->priv->info.icons[0];
#line 1867 "PublishingUI.c"
				} else {
					GtkListStore* _tmp87_ = NULL;
					GtkTreeIter _tmp88_ = {0};
					GdkPixbuf* _tmp89_ = NULL;
					GdkPixbuf* _tmp90_ = NULL;
					SpitPublishingService* _tmp91_ = NULL;
					const gchar* _tmp92_ = NULL;
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp87_ = self->priv->service_selector_box_model;
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp88_ = iter;
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp89_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp90_ = _tmp89_;
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp91_ = service;
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp92_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					gtk_list_store_set (_tmp87_, &_tmp88_, 0, _tmp90_, 1, _tmp92_, -1);
#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_g_object_unref0 (_tmp90_);
#line 1891 "PublishingUI.c"
				}
#line 239 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp93_ = last_used_service;
#line 239 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				if (_tmp93_ == NULL) {
#line 1897 "PublishingUI.c"
					GtkComboBox* _tmp94_ = NULL;
					GtkTreeIter _tmp95_ = {0};
					SpitPublishingService* _tmp96_ = NULL;
					const gchar* _tmp97_ = NULL;
					gchar* _tmp98_ = NULL;
#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp94_ = self->priv->service_selector_box;
#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp95_ = iter;
#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					gtk_combo_box_set_active_iter (_tmp94_, &_tmp95_);
#line 241 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp96_ = service;
#line 241 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp97_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp96_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 241 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp98_ = g_strdup (_tmp97_);
#line 241 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_g_free0 (last_used_service);
#line 241 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					last_used_service = _tmp98_;
#line 1919 "PublishingUI.c"
				} else {
					const gchar* _tmp99_ = NULL;
					const gchar* _tmp100_ = NULL;
#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp99_ = last_used_service;
#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp100_ = curr_service_id;
#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					if (g_strcmp0 (_tmp99_, _tmp100_) == 0) {
#line 1929 "PublishingUI.c"
						GtkComboBox* _tmp101_ = NULL;
						GtkTreeIter _tmp102_ = {0};
#line 243 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp101_ = self->priv->service_selector_box;
#line 243 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp102_ = iter;
#line 243 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						gtk_combo_box_set_active_iter (_tmp101_, &_tmp102_);
#line 1938 "PublishingUI.c"
					}
				}
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_free0 (curr_service_id);
#line 219 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_object_unref0 (service);
#line 1945 "PublishingUI.c"
			}
		}
	}
#line 247 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp103_ = self->priv->service_selector_box;
#line 247 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_signal_connect_object (_tmp103_, "changed", (GCallback) _publishing_ui_publishing_dialog_on_service_changed_gtk_combo_box_changed, self, 0);
#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp104_ = use_header;
#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (!_tmp104_) {
#line 1957 "PublishingUI.c"
		GtkLabel* service_selector_box_label = NULL;
		const gchar* _tmp105_ = NULL;
		GtkLabel* _tmp106_ = NULL;
		GtkLabel* _tmp107_ = NULL;
		GtkComboBox* _tmp108_ = NULL;
		GtkLabel* _tmp109_ = NULL;
		GtkAlignment* service_selector_box_wrapper = NULL;
		GtkAlignment* _tmp110_ = NULL;
		GtkAlignment* _tmp111_ = NULL;
		GtkComboBox* _tmp112_ = NULL;
		GtkBox* service_selector_layouter = NULL;
		GtkBox* _tmp113_ = NULL;
		GtkBox* _tmp114_ = NULL;
		GtkBox* _tmp115_ = NULL;
		GtkLabel* _tmp116_ = NULL;
		GtkBox* _tmp117_ = NULL;
		GtkAlignment* _tmp118_ = NULL;
		GtkBox* service_area_layouter = NULL;
		GtkBox* _tmp119_ = NULL;
		GtkBox* _tmp120_ = NULL;
		GtkBox* _tmp121_ = NULL;
		GtkBox* _tmp122_ = NULL;
		GtkSeparator* _tmp123_ = NULL;
		GtkSeparator* _tmp124_ = NULL;
		GtkAlignment* service_area_wrapper = NULL;
		GtkAlignment* _tmp125_ = NULL;
		GtkAlignment* _tmp126_ = NULL;
		GtkBox* _tmp127_ = NULL;
		GtkBox* _tmp128_ = NULL;
		GtkAlignment* _tmp129_ = NULL;
#line 251 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp105_ = label;
#line 251 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp106_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp105_);
#line 251 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_object_ref_sink (_tmp106_);
#line 251 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_selector_box_label = _tmp106_;
#line 252 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp107_ = service_selector_box_label;
#line 252 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp108_ = self->priv->service_selector_box;
#line 252 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_label_set_mnemonic_widget (_tmp107_, G_TYPE_CHECK_INSTANCE_CAST (_tmp108_, gtk_widget_get_type (), GtkWidget));
#line 253 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp109_ = service_selector_box_label;
#line 253 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp109_, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f);
#line 259 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp110_ = (GtkAlignment*) gtk_alignment_new (1.0f, 0.5f, 0.0f, 0.0f);
#line 259 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_object_ref_sink (_tmp110_);
#line 259 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_selector_box_wrapper = _tmp110_;
#line 260 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp111_ = service_selector_box_wrapper;
#line 260 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp112_ = self->priv->service_selector_box;
#line 260 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp111_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, gtk_widget_get_type (), GtkWidget));
#line 262 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp113_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
#line 262 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_object_ref_sink (_tmp113_);
#line 262 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_selector_layouter = _tmp113_;
#line 263 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp114_ = service_selector_layouter;
#line 263 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, gtk_container_get_type (), GtkContainer), (guint) 12);
#line 264 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp115_ = service_selector_layouter;
#line 264 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp116_ = service_selector_box_label;
#line 264 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp115_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp116_, gtk_widget_get_type (), GtkWidget));
#line 265 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp117_ = service_selector_layouter;
#line 265 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp118_ = service_selector_box_wrapper;
#line 265 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_box_pack_start (_tmp117_, G_TYPE_CHECK_INSTANCE_CAST (_tmp118_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 269 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp119_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 269 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_object_ref_sink (_tmp119_);
#line 269 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_area_layouter = _tmp119_;
#line 270 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp120_ = service_area_layouter;
#line 270 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp121_ = service_selector_layouter;
#line 270 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp120_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_widget_get_type (), GtkWidget));
#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp122_ = service_area_layouter;
#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp123_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_object_ref_sink (_tmp123_);
#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp124_ = _tmp123_;
#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp122_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp124_, gtk_widget_get_type (), GtkWidget));
#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (_tmp124_);
#line 273 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp125_ = (GtkAlignment*) gtk_alignment_new (0.0f, 0.0f, 1.0f, 0.0f);
#line 273 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_object_ref_sink (_tmp125_);
#line 273 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_area_wrapper = _tmp125_;
#line 274 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp126_ = service_area_wrapper;
#line 274 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp127_ = service_area_layouter;
#line 274 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp126_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp127_, gtk_widget_get_type (), GtkWidget));
#line 276 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp128_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 276 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp129_ = service_area_wrapper;
#line 276 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_box_pack_start (_tmp128_, G_TYPE_CHECK_INSTANCE_CAST (_tmp129_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (service_area_wrapper);
#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (service_area_layouter);
#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (service_selector_layouter);
#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (service_selector_box_wrapper);
#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (service_selector_box_label);
#line 2092 "PublishingUI.c"
	}
#line 279 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp130_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 279 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_object_ref_sink (_tmp130_);
#line 279 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->central_area_layouter);
#line 279 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->central_area_layouter = _tmp130_;
#line 281 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp131_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 281 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp132_ = self->priv->central_area_layouter;
#line 281 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_box_pack_start (_tmp131_, G_TYPE_CHECK_INSTANCE_CAST (_tmp132_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 283 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp133_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel");
#line 283 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_object_ref_sink (_tmp133_);
#line 283 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->close_cancel_button);
#line 283 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->close_cancel_button = _tmp133_;
#line 284 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp134_ = self->priv->close_cancel_button;
#line 284 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 285 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp135_ = self->priv->close_cancel_button;
#line 285 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_signal_connect_object (_tmp135_, "clicked", (GCallback) _publishing_ui_publishing_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0);
#line 286 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp136_ = use_header;
#line 286 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp136_) {
#line 2128 "PublishingUI.c"
		GtkWidget* _tmp137_ = NULL;
		GtkButton* _tmp138_ = NULL;
		GtkWidget* _tmp139_ = NULL;
		GtkComboBox* _tmp140_ = NULL;
#line 287 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp137_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 287 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp138_ = self->priv->close_cancel_button;
#line 287 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp137_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp138_, gtk_widget_get_type (), GtkWidget));
#line 288 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp139_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 288 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp140_ = self->priv->service_selector_box;
#line 288 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp139_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp140_, gtk_widget_get_type (), GtkWidget));
#line 2145 "PublishingUI.c"
	} else {
		GtkWidget* _tmp141_ = NULL;
		GtkButton* _tmp142_ = NULL;
#line 291 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp141_ = gtk_dialog_get_action_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 291 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp142_ = self->priv->close_cancel_button;
#line 291 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp141_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, gtk_widget_get_type (), GtkWidget));
#line 2155 "PublishingUI.c"
	}
#line 293 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_set_standard_window_mode (self);
#line 295 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	loaded_services = (_vala_array_free (loaded_services, loaded_services_length1, (GDestroyNotify) g_object_unref), NULL);
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_free0 (last_used_service);
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (renderer_text);
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (renderer_pix);
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_free0 (label);
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_free0 (title);
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return self;
#line 2175 "PublishingUI.c"
}


PublishingUIPublishingDialog* publishing_ui_publishing_dialog_new (GeeCollection* to_publish) {
#line 156 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return publishing_ui_publishing_dialog_construct (PUBLISHING_UI_TYPE_PUBLISHING_DIALOG, to_publish);
#line 2182 "PublishingUI.c"
}


static void _vala_array_add56 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if ((*length) == (*size)) {
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
#line 2193 "PublishingUI.c"
	}
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[(*length)++] = value;
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[*length] = NULL;
#line 2199 "PublishingUI.c"
}


static gint __lambda15_ (void* a, void* b) {
	gint result = 0;
	void* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	void* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gint _tmp4_ = 0;
#line 328 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = a;
#line 328 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (*((SpitPublishingService**) _tmp0_), SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 328 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = b;
#line 328 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (*((SpitPublishingService**) _tmp2_), SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 328 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp4_ = utf8_cs_compare (_tmp1_, _tmp3_);
#line 328 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = _tmp4_;
#line 328 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 2224 "PublishingUI.c"
}


static gint ___lambda15____compar_fn_t (void* key1, void* key2) {
	gint result;
	result = __lambda15_ (key1, key2);
#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 2233 "PublishingUI.c"
}


static SpitPublishingService** publishing_ui_publishing_dialog_load_all_services (int* result_length1) {
	SpitPublishingService** result = NULL;
	SpitPublishingService** loaded_services = NULL;
	SpitPublishingService** _tmp0_ = NULL;
	gint loaded_services_length1 = 0;
	gint _loaded_services_size_ = 0;
	GeeCollection* pluggables = NULL;
	GeeCollection* _tmp1_ = NULL;
	GeeCollection* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	SpitPublishingService** _tmp25_ = NULL;
	gint _tmp25__length1 = 0;
	SpitPublishingService** _tmp26_ = NULL;
	gint _tmp26__length1 = 0;
	SpitPublishingService** _tmp27_ = NULL;
	gint _tmp27__length1 = 0;
#line 299 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = g_new0 (SpitPublishingService*, 0 + 1);
#line 299 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	loaded_services = _tmp0_;
#line 299 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	loaded_services_length1 = 0;
#line 299 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_loaded_services_size_ = loaded_services_length1;
#line 302 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = plugins_get_pluggables_for_type (SPIT_PUBLISHING_TYPE_SERVICE, NULL, NULL, NULL, FALSE);
#line 302 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	pluggables = _tmp1_;
#line 305 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = pluggables;
#line 305 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = gee_collection_get_size (_tmp2_);
#line 305 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp4_ = _tmp3_;
#line 305 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_debug ("PublishingUI.vala:305: PublisingDialog: discovered %d pluggable publis" \
"hing services.", _tmp4_);
#line 2274 "PublishingUI.c"
	{
		GeeIterator* _pluggable_it = NULL;
		GeeCollection* _tmp5_ = NULL;
		GeeIterator* _tmp6_ = NULL;
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp5_ = pluggables;
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp6_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ITERABLE, GeeIterable));
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_pluggable_it = _tmp6_;
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		while (TRUE) {
#line 2287 "PublishingUI.c"
			GeeIterator* _tmp7_ = NULL;
			gboolean _tmp8_ = FALSE;
			SpitPluggable* pluggable = NULL;
			GeeIterator* _tmp9_ = NULL;
			gpointer _tmp10_ = NULL;
			gint pluggable_interface = 0;
			SpitPluggable* _tmp11_ = NULL;
			gint _tmp12_ = 0;
			gint _tmp13_ = 0;
			SpitPublishingService* service = NULL;
			SpitPluggable* _tmp18_ = NULL;
			SpitPublishingService* _tmp19_ = NULL;
			SpitPublishingService* _tmp20_ = NULL;
			const gchar* _tmp21_ = NULL;
			SpitPublishingService** _tmp22_ = NULL;
			gint _tmp22__length1 = 0;
			SpitPublishingService* _tmp23_ = NULL;
			SpitPublishingService* _tmp24_ = NULL;
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp7_ = _pluggable_it;
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp8_ = gee_iterator_next (_tmp7_);
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			if (!_tmp8_) {
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				break;
#line 2314 "PublishingUI.c"
			}
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp9_ = _pluggable_it;
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp10_ = gee_iterator_get (_tmp9_);
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			pluggable = (SpitPluggable*) _tmp10_;
#line 308 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp11_ = pluggable;
#line 308 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp12_ = spit_pluggable_get_pluggable_interface (_tmp11_, SPIT_PUBLISHING_CURRENT_INTERFACE, SPIT_PUBLISHING_CURRENT_INTERFACE);
#line 308 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			pluggable_interface = _tmp12_;
#line 310 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp13_ = pluggable_interface;
#line 310 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			if (_tmp13_ != SPIT_PUBLISHING_CURRENT_INTERFACE) {
#line 2332 "PublishingUI.c"
				SpitPluggable* _tmp14_ = NULL;
				gchar* _tmp15_ = NULL;
				gchar* _tmp16_ = NULL;
				gint _tmp17_ = 0;
#line 311 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp14_ = pluggable;
#line 311 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp15_ = plugins_get_pluggable_module_id (_tmp14_);
#line 311 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp16_ = _tmp15_;
#line 311 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp17_ = pluggable_interface;
#line 311 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				g_warning ("PublishingUI.vala:311: Unable to load publisher %s: reported interface" \
" %d.", _tmp16_, _tmp17_);
#line 311 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_free0 (_tmp16_);
#line 314 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_object_unref0 (pluggable);
#line 314 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				continue;
#line 2353 "PublishingUI.c"
			}
#line 317 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp18_ = pluggable;
#line 317 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SPIT_PUBLISHING_TYPE_SERVICE, SpitPublishingService));
#line 317 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			service = _tmp19_;
#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp20_ = service;
#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp21_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			g_debug ("PublishingUI.vala:320: PublishingDialog: discovered pluggable publishi" \
"ng service '%s'.", _tmp21_);
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp22_ = loaded_services;
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp22__length1 = loaded_services_length1;
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp23_ = service;
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp24_ = _g_object_ref0 (_tmp23_);
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_vala_array_add56 (&loaded_services, &loaded_services_length1, &_loaded_services_size_, _tmp24_);
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_object_unref0 (service);
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_g_object_unref0 (pluggable);
#line 2381 "PublishingUI.c"
		}
#line 307 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (_pluggable_it);
#line 2385 "PublishingUI.c"
	}
#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp25_ = loaded_services;
#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp25__length1 = loaded_services_length1;
#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp26_ = loaded_services;
#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp26__length1 = loaded_services_length1;
#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	qsort (_tmp25_, (gsize) _tmp26__length1, (gsize) sizeof (SpitPublishingService*), ___lambda15____compar_fn_t);
#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp27_ = loaded_services;
#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp27__length1 = loaded_services_length1;
#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (result_length1) {
#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*result_length1 = _tmp27__length1;
#line 2405 "PublishingUI.c"
	}
#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = _tmp27_;
#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (pluggables);
#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 2413 "PublishingUI.c"
}


static void _vala_array_add57 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if ((*length) == (*size)) {
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
#line 2424 "PublishingUI.c"
	}
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[(*length)++] = value;
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[*length] = NULL;
#line 2430 "PublishingUI.c"
}


static void _vala_array_add58 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if ((*length) == (*size)) {
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
#line 2441 "PublishingUI.c"
	}
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[(*length)++] = value;
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[*length] = NULL;
#line 2447 "PublishingUI.c"
}


static void _vala_array_add59 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if ((*length) == (*size)) {
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
#line 2458 "PublishingUI.c"
	}
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[(*length)++] = value;
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	(*array)[*length] = NULL;
#line 2464 "PublishingUI.c"
}


static SpitPublishingService** publishing_ui_publishing_dialog_load_services (gboolean has_photos, gboolean has_videos, int* result_length1) {
	SpitPublishingService** result = NULL;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	SpitPublishingService** filtered_services = NULL;
	SpitPublishingService** _tmp3_ = NULL;
	gint filtered_services_length1 = 0;
	gint _filtered_services_size_ = 0;
	SpitPublishingService** all_services = NULL;
	gint _tmp4_ = 0;
	SpitPublishingService** _tmp5_ = NULL;
	gint all_services_length1 = 0;
	gint _all_services_size_ = 0;
	SpitPublishingService** _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	SpitPublishingService** _tmp32_ = NULL;
	gint _tmp32__length1 = 0;
#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = has_photos;
#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp1_) {
#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp0_ = TRUE;
#line 2491 "PublishingUI.c"
	} else {
		gboolean _tmp2_ = FALSE;
#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp2_ = has_videos;
#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp0_ = _tmp2_;
#line 2498 "PublishingUI.c"
	}
#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_vala_assert (_tmp0_, "has_photos || has_videos");
#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = g_new0 (SpitPublishingService*, 0 + 1);
#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	filtered_services = _tmp3_;
#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	filtered_services_length1 = 0;
#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_filtered_services_size_ = filtered_services_length1;
#line 339 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp5_ = publishing_ui_publishing_dialog_load_all_services (&_tmp4_);
#line 339 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	all_services = _tmp5_;
#line 339 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	all_services_length1 = _tmp4_;
#line 339 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_all_services_size_ = all_services_length1;
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp6_ = all_services;
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp6__length1 = all_services_length1;
#line 2522 "PublishingUI.c"
	{
		SpitPublishingService** service_collection = NULL;
		gint service_collection_length1 = 0;
		gint _service_collection_size_ = 0;
		gint service_it = 0;
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_collection = _tmp6_;
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_collection_length1 = _tmp6__length1;
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		for (service_it = 0; service_it < _tmp6__length1; service_it = service_it + 1) {
#line 2534 "PublishingUI.c"
			SpitPublishingService* _tmp7_ = NULL;
			SpitPublishingService* service = NULL;
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp7_ = _g_object_ref0 (service_collection[service_it]);
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			service = _tmp7_;
#line 2541 "PublishingUI.c"
			{
				gboolean _tmp8_ = FALSE;
				gboolean _tmp9_ = FALSE;
#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp9_ = has_photos;
#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				if (_tmp9_) {
#line 2549 "PublishingUI.c"
					gboolean _tmp10_ = FALSE;
#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp10_ = has_videos;
#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp8_ = !_tmp10_;
#line 2555 "PublishingUI.c"
				} else {
#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp8_ = FALSE;
#line 2559 "PublishingUI.c"
				}
#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				if (_tmp8_) {
#line 2563 "PublishingUI.c"
					SpitPublishingService* _tmp11_ = NULL;
					SpitPublishingPublisherMediaType _tmp12_ = 0;
#line 344 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp11_ = service;
#line 344 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp12_ = spit_publishing_service_get_supported_media (_tmp11_);
#line 344 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					if ((_tmp12_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0) {
#line 2572 "PublishingUI.c"
						SpitPublishingService** _tmp13_ = NULL;
						gint _tmp13__length1 = 0;
						SpitPublishingService* _tmp14_ = NULL;
						SpitPublishingService* _tmp15_ = NULL;
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp13_ = filtered_services;
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp13__length1 = filtered_services_length1;
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp14_ = service;
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp15_ = _g_object_ref0 (_tmp14_);
#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_vala_array_add57 (&filtered_services, &filtered_services_length1, &_filtered_services_size_, _tmp15_);
#line 2587 "PublishingUI.c"
					}
				} else {
					gboolean _tmp16_ = FALSE;
					gboolean _tmp17_ = FALSE;
#line 346 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp17_ = has_photos;
#line 346 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					if (!_tmp17_) {
#line 2596 "PublishingUI.c"
						gboolean _tmp18_ = FALSE;
#line 346 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp18_ = has_videos;
#line 346 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp16_ = _tmp18_;
#line 2602 "PublishingUI.c"
					} else {
#line 346 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp16_ = FALSE;
#line 2606 "PublishingUI.c"
					}
#line 346 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					if (_tmp16_) {
#line 2610 "PublishingUI.c"
						SpitPublishingService* _tmp19_ = NULL;
						SpitPublishingPublisherMediaType _tmp20_ = 0;
#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp19_ = service;
#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp20_ = spit_publishing_service_get_supported_media (_tmp19_);
#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						if ((_tmp20_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) != 0) {
#line 2619 "PublishingUI.c"
							SpitPublishingService** _tmp21_ = NULL;
							gint _tmp21__length1 = 0;
							SpitPublishingService* _tmp22_ = NULL;
							SpitPublishingService* _tmp23_ = NULL;
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp21_ = filtered_services;
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp21__length1 = filtered_services_length1;
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp22_ = service;
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp23_ = _g_object_ref0 (_tmp22_);
#line 348 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_vala_array_add58 (&filtered_services, &filtered_services_length1, &_filtered_services_size_, _tmp23_);
#line 2634 "PublishingUI.c"
						}
					} else {
						gboolean _tmp24_ = FALSE;
						SpitPublishingService* _tmp25_ = NULL;
						SpitPublishingPublisherMediaType _tmp26_ = 0;
#line 350 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp25_ = service;
#line 350 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						_tmp26_ = spit_publishing_service_get_supported_media (_tmp25_);
#line 350 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						if ((_tmp26_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0) {
#line 2646 "PublishingUI.c"
							SpitPublishingService* _tmp27_ = NULL;
							SpitPublishingPublisherMediaType _tmp28_ = 0;
#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp27_ = service;
#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp28_ = spit_publishing_service_get_supported_media (_tmp27_);
#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp24_ = (_tmp28_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) != 0;
#line 2655 "PublishingUI.c"
						} else {
#line 350 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp24_ = FALSE;
#line 2659 "PublishingUI.c"
						}
#line 350 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
						if (_tmp24_) {
#line 2663 "PublishingUI.c"
							SpitPublishingService** _tmp29_ = NULL;
							gint _tmp29__length1 = 0;
							SpitPublishingService* _tmp30_ = NULL;
							SpitPublishingService* _tmp31_ = NULL;
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp29_ = filtered_services;
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp29__length1 = filtered_services_length1;
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp30_ = service;
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_tmp31_ = _g_object_ref0 (_tmp30_);
#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
							_vala_array_add59 (&filtered_services, &filtered_services_length1, &_filtered_services_size_, _tmp31_);
#line 2678 "PublishingUI.c"
						}
					}
				}
#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_object_unref0 (service);
#line 2684 "PublishingUI.c"
			}
		}
	}
#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp32_ = filtered_services;
#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp32__length1 = filtered_services_length1;
#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (result_length1) {
#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		*result_length1 = _tmp32__length1;
#line 2696 "PublishingUI.c"
	}
#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = _tmp32_;
#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	all_services = (_vala_array_free (all_services, all_services_length1, (GDestroyNotify) g_object_unref), NULL);
#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 2704 "PublishingUI.c"
}


void publishing_ui_publishing_dialog_go (GeeCollection* to_publish) {
	PublishingUIPublishingDialog* _tmp0_ = NULL;
	GTimer* _tmp1_ = NULL;
	GeeArrayList* photos = NULL;
	GeeArrayList* _tmp10_ = NULL;
	GeeArrayList* videos = NULL;
	GeeArrayList* _tmp11_ = NULL;
	GeeCollection* _tmp12_ = NULL;
	GeeArrayList* _tmp13_ = NULL;
	GeeArrayList* _tmp14_ = NULL;
	SpitPublishingService** avail_services = NULL;
	GeeArrayList* _tmp15_ = NULL;
	gint _tmp16_ = 0;
	gint _tmp17_ = 0;
	GeeArrayList* _tmp18_ = NULL;
	gint _tmp19_ = 0;
	gint _tmp20_ = 0;
	gint _tmp21_ = 0;
	SpitPublishingService** _tmp22_ = NULL;
	gint avail_services_length1 = 0;
	gint _avail_services_size_ = 0;
	SpitPublishingService** _tmp23_ = NULL;
	gint _tmp23__length1 = 0;
	GeeCollection* _tmp28_ = NULL;
	PublishingUIPublishingDialog* _tmp29_ = NULL;
	PublishingUIPublishingDialog* _tmp30_ = NULL;
	GTimer* _tmp31_ = NULL;
#line 370 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (GEE_IS_COLLECTION (to_publish));
#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = publishing_ui_publishing_dialog_active_instance;
#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp0_ != NULL) {
#line 372 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		return;
#line 2743 "PublishingUI.c"
	}
#line 374 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = publishing_ui_publishing_dialog_since_last_start;
#line 374 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp1_ == NULL) {
#line 2749 "PublishingUI.c"
		GTimer* _tmp2_ = NULL;
		GTimer* _tmp3_ = NULL;
		GTimer* _tmp4_ = NULL;
#line 377 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp2_ = g_timer_new ();
#line 377 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_timer_destroy0 (publishing_ui_publishing_dialog_since_last_start);
#line 377 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		publishing_ui_publishing_dialog_since_last_start = _tmp2_;
#line 378 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp3_ = publishing_ui_publishing_dialog_since_last_start;
#line 378 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_timer_stop (_tmp3_);
#line 379 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp4_ = publishing_ui_publishing_dialog_since_last_start;
#line 379 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_timer_reset (_tmp4_);
#line 380 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		publishing_ui_publishing_dialog_elapsed_is_valid = FALSE;
#line 2769 "PublishingUI.c"
	} else {
		gdouble elapsed = 0.0;
		GTimer* _tmp5_ = NULL;
		gdouble _tmp6_ = 0.0;
		gboolean _tmp7_ = FALSE;
		gdouble _tmp8_ = 0.0;
#line 382 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp5_ = publishing_ui_publishing_dialog_since_last_start;
#line 382 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp6_ = g_timer_elapsed (_tmp5_, NULL);
#line 382 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		elapsed = _tmp6_;
#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp8_ = elapsed;
#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		if (_tmp8_ < 0.05) {
#line 2786 "PublishingUI.c"
			gboolean _tmp9_ = FALSE;
#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp9_ = publishing_ui_publishing_dialog_elapsed_is_valid;
#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp7_ = _tmp9_;
#line 2792 "PublishingUI.c"
		} else {
#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp7_ = FALSE;
#line 2796 "PublishingUI.c"
		}
#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		if (_tmp7_) {
#line 384 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			return;
#line 2802 "PublishingUI.c"
		}
	}
#line 387 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp10_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 387 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	photos = _tmp10_;
#line 388 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp11_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 388 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	videos = _tmp11_;
#line 389 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp12_ = to_publish;
#line 389 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp13_ = photos;
#line 389 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp14_ = videos;
#line 389 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	media_source_collection_filter_media (_tmp12_, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection));
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp15_ = photos;
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp16_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_COLLECTION, GeeCollection));
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp17_ = _tmp16_;
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp18_ = videos;
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp19_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection));
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp20_ = _tmp19_;
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp22_ = publishing_ui_publishing_dialog_load_services (_tmp17_ > 0, _tmp20_ > 0, &_tmp21_);
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	avail_services = _tmp22_;
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	avail_services_length1 = _tmp21_;
#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_avail_services_size_ = avail_services_length1;
#line 394 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp23_ = avail_services;
#line 394 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp23__length1 = avail_services_length1;
#line 394 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp23__length1 == 0) {
#line 2847 "PublishingUI.c"
		const gchar* _tmp24_ = NULL;
		const gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
		gchar* _tmp27_ = NULL;
#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp24_ = _ ("Unable to publish");
#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp25_ = _ ("Shotwell cannot publish the selected items because you do not have a c" \
"ompatible publishing plugin enabled. To correct this, choose <b>Edit %" \
"s Preferences</b> and enable one or more of the publishing plugins on " \
"the <b>Plugins</b> tab.");
#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp26_ = g_strdup_printf (_tmp25_, "▸");
#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp27_ = _tmp26_;
#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		app_window_error_message_with_title (_tmp24_, _tmp27_, NULL, FALSE);
#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_free0 (_tmp27_);
#line 401 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		avail_services = (_vala_array_free (avail_services, avail_services_length1, (GDestroyNotify) g_object_unref), NULL);
#line 401 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (videos);
#line 401 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (photos);
#line 401 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		return;
#line 2872 "PublishingUI.c"
	}
#line 407 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_debug ("PublishingUI.vala:407: PublishingDialog.go( )");
#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp28_ = to_publish;
#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp29_ = publishing_ui_publishing_dialog_new (_tmp28_);
#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_object_ref_sink (_tmp29_);
#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (publishing_ui_publishing_dialog_active_instance);
#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_active_instance = _tmp29_;
#line 411 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp30_ = publishing_ui_publishing_dialog_active_instance;
#line 411 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_run (_tmp30_);
#line 413 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (publishing_ui_publishing_dialog_active_instance);
#line 413 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_active_instance = NULL;
#line 416 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp31_ = publishing_ui_publishing_dialog_since_last_start;
#line 416 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_timer_start (_tmp31_);
#line 417 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_elapsed_is_valid = TRUE;
#line 370 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	avail_services = (_vala_array_free (avail_services, avail_services_length1, (GDestroyNotify) g_object_unref), NULL);
#line 370 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (videos);
#line 370 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (photos);
#line 2906 "PublishingUI.c"
}


static gboolean publishing_ui_publishing_dialog_on_window_close (PublishingUIPublishingDialog* self, GdkEventAny* evt) {
	gboolean result = FALSE;
	SpitPublishingConcretePublishingHost* _tmp0_ = NULL;
#line 420 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_val_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self), FALSE);
#line 420 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_val_if_fail (evt != NULL, FALSE);
#line 421 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->host;
#line 421 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	spit_publishing_plugin_host_stop_publishing (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_PUBLISHING_TYPE_PLUGIN_HOST, SpitPublishingPluginHost));
#line 422 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->host);
#line 422 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->host = NULL;
#line 423 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 424 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 426 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = TRUE;
#line 426 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 2933 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_on_service_changed (PublishingUIPublishingDialog* self) {
	GtkTreeIter iter = {0};
	gboolean have_active_iter = FALSE;
	GtkComboBox* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GValue service_name_val = {0};
	GtkListStore* _tmp7_ = NULL;
	GtkTreeIter _tmp8_ = {0};
	GValue _tmp9_ = {0};
	gchar* service_name = NULL;
	GValue _tmp10_ = {0};
	gchar* _tmp11_ = NULL;
	SpitPublishingService* selected_service = NULL;
	SpitPublishingService** services = NULL;
	gint _tmp12_ = 0;
	SpitPublishingService** _tmp13_ = NULL;
	gint services_length1 = 0;
	gint _services_size_ = 0;
	SpitPublishingService** _tmp14_ = NULL;
	gint _tmp14__length1 = 0;
	SpitPublishingService* _tmp21_ = NULL;
	ConfigFacade* _tmp22_ = NULL;
	ConfigFacade* _tmp23_ = NULL;
	SpitPublishingService* _tmp24_ = NULL;
	const gchar* _tmp25_ = NULL;
	SpitPublishingService* _tmp26_ = NULL;
	SpitPublishingPublishable** _tmp27_ = NULL;
	gint _tmp27__length1 = 0;
	SpitPublishingConcretePublishingHost* _tmp28_ = NULL;
	SpitPublishingConcretePublishingHost* _tmp29_ = NULL;
#line 429 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 431 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	have_active_iter = FALSE;
#line 432 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->service_selector_box;
#line 432 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = gtk_combo_box_get_active_iter (_tmp0_, &_tmp1_);
#line 432 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	iter = _tmp1_;
#line 432 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	have_active_iter = _tmp2_;
#line 435 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp3_ = have_active_iter;
#line 435 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (!_tmp3_) {
#line 2985 "PublishingUI.c"
		GtkComboBox* _tmp4_ = NULL;
		GtkComboBox* _tmp5_ = NULL;
		GtkTreeIter _tmp6_ = {0};
#line 437 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp4_ = self->priv->service_selector_box;
#line 437 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_combo_box_set_active (_tmp4_, 0);
#line 440 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp5_ = self->priv->service_selector_box;
#line 440 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_combo_box_get_active_iter (_tmp5_, &_tmp6_);
#line 440 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		iter = _tmp6_;
#line 2999 "PublishingUI.c"
	}
#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp7_ = self->priv->service_selector_box_model;
#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp8_ = iter;
#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_tree_model_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GTK_TYPE_TREE_MODEL, GtkTreeModel), &_tmp8_, 1, &_tmp9_);
#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_IS_VALUE (&service_name_val) ? (g_value_unset (&service_name_val), NULL) : NULL;
#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	service_name_val = _tmp9_;
#line 446 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp10_ = service_name_val;
#line 446 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp11_ = g_strdup (g_value_get_string (&_tmp10_));
#line 446 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	service_name = _tmp11_;
#line 448 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	selected_service = NULL;
#line 449 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp13_ = publishing_ui_publishing_dialog_load_all_services (&_tmp12_);
#line 449 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	services = _tmp13_;
#line 449 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	services_length1 = _tmp12_;
#line 449 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_services_size_ = services_length1;
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp14_ = services;
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp14__length1 = services_length1;
#line 3031 "PublishingUI.c"
	{
		SpitPublishingService** service_collection = NULL;
		gint service_collection_length1 = 0;
		gint _service_collection_size_ = 0;
		gint service_it = 0;
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_collection = _tmp14_;
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		service_collection_length1 = _tmp14__length1;
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		for (service_it = 0; service_it < _tmp14__length1; service_it = service_it + 1) {
#line 3043 "PublishingUI.c"
			SpitPublishingService* _tmp15_ = NULL;
			SpitPublishingService* service = NULL;
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			_tmp15_ = _g_object_ref0 (service_collection[service_it]);
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			service = _tmp15_;
#line 3050 "PublishingUI.c"
			{
				SpitPublishingService* _tmp16_ = NULL;
				const gchar* _tmp17_ = NULL;
				const gchar* _tmp18_ = NULL;
#line 451 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp16_ = service;
#line 451 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp17_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 451 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_tmp18_ = service_name;
#line 451 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				if (g_strcmp0 (_tmp17_, _tmp18_) == 0) {
#line 3063 "PublishingUI.c"
					SpitPublishingService* _tmp19_ = NULL;
					SpitPublishingService* _tmp20_ = NULL;
#line 452 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp19_ = service;
#line 452 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_tmp20_ = _g_object_ref0 (_tmp19_);
#line 452 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_g_object_unref0 (selected_service);
#line 452 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					selected_service = _tmp20_;
#line 453 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					_g_object_unref0 (service);
#line 453 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
					break;
#line 3078 "PublishingUI.c"
				}
#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
				_g_object_unref0 (service);
#line 3082 "PublishingUI.c"
			}
		}
	}
#line 456 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp21_ = selected_service;
#line 456 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_vala_assert (_tmp21_ != NULL, "selected_service != null");
#line 458 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp22_ = config_facade_get_instance ();
#line 458 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp23_ = _tmp22_;
#line 458 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp24_ = selected_service;
#line 458 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp25_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 458 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	configuration_facade_set_last_used_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp25_);
#line 458 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (_tmp23_);
#line 460 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp26_ = selected_service;
#line 460 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp27_ = self->priv->publishables;
#line 460 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp27__length1 = self->priv->publishables_length1;
#line 460 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp28_ = spit_publishing_concrete_publishing_host_new (_tmp26_, self, _tmp27_, _tmp27__length1);
#line 460 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->host);
#line 460 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->host = _tmp28_;
#line 461 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp29_ = self->priv->host;
#line 461 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	spit_publishing_concrete_publishing_host_start_publishing (_tmp29_);
#line 429 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	services = (_vala_array_free (services, services_length1, (GDestroyNotify) g_object_unref), NULL);
#line 429 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (selected_service);
#line 429 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_free0 (service_name);
#line 429 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_IS_VALUE (&service_name_val) ? (g_value_unset (&service_name_val), NULL) : NULL;
#line 3126 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_on_close_cancel_clicked (PublishingUIPublishingDialog* self) {
	SpitPublishingConcretePublishingHost* _tmp0_ = NULL;
#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_debug ("PublishingUI.vala:465: PublishingDialog: on_close_cancel_clicked( ): i" \
"nvoked.");
#line 467 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->host;
#line 467 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	spit_publishing_plugin_host_stop_publishing (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_PUBLISHING_TYPE_PLUGIN_HOST, SpitPublishingPluginHost));
#line 468 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->host);
#line 468 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->host = NULL;
#line 469 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 470 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 3148 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_set_large_window_mode (PublishingUIPublishingDialog* self) {
	GtkBox* _tmp0_ = NULL;
#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 474 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_HEIGHT);
#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->central_area_layouter;
#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
#line 477 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 3164 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_set_colossal_window_mode (PublishingUIPublishingDialog* self) {
	GtkBox* _tmp0_ = NULL;
#line 480 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 481 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_HEIGHT);
#line 482 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->central_area_layouter;
#line 482 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
#line 484 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 3180 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_set_standard_window_mode (PublishingUIPublishingDialog* self) {
	GtkBox* _tmp0_ = NULL;
#line 487 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 488 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_HEIGHT);
#line 489 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->central_area_layouter;
#line 489 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
#line 491 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 3196 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_set_free_sizable_window_mode (PublishingUIPublishingDialog* self) {
#line 494 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 495 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 3205 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_clear_free_sizable_window_mode (PublishingUIPublishingDialog* self) {
#line 498 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 499 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 3214 "PublishingUI.c"
}


SpitPublishingDialogPane* publishing_ui_publishing_dialog_get_active_pane (PublishingUIPublishingDialog* self) {
	SpitPublishingDialogPane* result = NULL;
	SpitPublishingDialogPane* _tmp0_ = NULL;
	SpitPublishingDialogPane* _tmp1_ = NULL;
#line 502 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_val_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self), NULL);
#line 503 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->active_pane;
#line 503 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 503 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = _tmp1_;
#line 503 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 3232 "PublishingUI.c"
}


void publishing_ui_publishing_dialog_set_close_button_mode (PublishingUIPublishingDialog* self) {
	GtkButton* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkButton* _tmp2_ = NULL;
#line 506 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 507 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->close_cancel_button;
#line 507 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = _ ("_Close");
#line 507 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_button_set_label (_tmp0_, _tmp1_);
#line 508 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp2_ = self->priv->close_cancel_button;
#line 508 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
#line 3252 "PublishingUI.c"
}


void publishing_ui_publishing_dialog_set_cancel_button_mode (PublishingUIPublishingDialog* self) {
	GtkButton* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 511 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 512 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->close_cancel_button;
#line 512 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp1_ = _ ("_Cancel");
#line 512 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_button_set_label (_tmp0_, _tmp1_);
#line 3267 "PublishingUI.c"
}


void publishing_ui_publishing_dialog_lock_service (PublishingUIPublishingDialog* self) {
	GtkComboBox* _tmp0_ = NULL;
#line 515 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 516 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->service_selector_box;
#line 516 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 3279 "PublishingUI.c"
}


void publishing_ui_publishing_dialog_unlock_service (PublishingUIPublishingDialog* self) {
	GtkComboBox* _tmp0_ = NULL;
#line 519 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 520 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->service_selector_box;
#line 520 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 3291 "PublishingUI.c"
}


void publishing_ui_publishing_dialog_install_pane (PublishingUIPublishingDialog* self, SpitPublishingDialogPane* pane) {
	SpitPublishingDialogPane* _tmp0_ = NULL;
	GtkBox* _tmp6_ = NULL;
	SpitPublishingDialogPane* _tmp7_ = NULL;
	GtkWidget* _tmp8_ = NULL;
	GtkWidget* _tmp9_ = NULL;
	SpitPublishingDialogPaneGeometryOptions geometry_options = 0;
	SpitPublishingDialogPane* _tmp10_ = NULL;
	SpitPublishingDialogPaneGeometryOptions _tmp11_ = 0;
	SpitPublishingDialogPaneGeometryOptions _tmp12_ = 0;
	SpitPublishingDialogPaneGeometryOptions _tmp14_ = 0;
	SpitPublishingDialogPane* _tmp15_ = NULL;
	SpitPublishingDialogPane* _tmp16_ = NULL;
	SpitPublishingDialogPane* _tmp17_ = NULL;
#line 523 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 523 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (pane));
#line 524 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_debug ("PublishingUI.vala:524: PublishingDialog: install_pane( ): invoked.");
#line 526 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = self->priv->active_pane;
#line 526 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if (_tmp0_ != NULL) {
#line 3319 "PublishingUI.c"
		SpitPublishingDialogPane* _tmp1_ = NULL;
		GtkBox* _tmp2_ = NULL;
		SpitPublishingDialogPane* _tmp3_ = NULL;
		GtkWidget* _tmp4_ = NULL;
		GtkWidget* _tmp5_ = NULL;
#line 527 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		g_debug ("PublishingUI.vala:527: PublishingDialog: install_pane( ): a pane is al" \
"ready installed; removing it.");
#line 529 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp1_ = self->priv->active_pane;
#line 529 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		spit_publishing_dialog_pane_on_pane_uninstalled (_tmp1_);
#line 530 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp2_ = self->priv->central_area_layouter;
#line 530 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp3_ = self->priv->active_pane;
#line 530 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp4_ = spit_publishing_dialog_pane_get_widget (_tmp3_);
#line 530 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp5_ = _tmp4_;
#line 530 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_container_get_type (), GtkContainer), _tmp5_);
#line 530 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_g_object_unref0 (_tmp5_);
#line 3343 "PublishingUI.c"
	}
#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp6_ = self->priv->central_area_layouter;
#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp7_ = pane;
#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp8_ = spit_publishing_dialog_pane_get_widget (_tmp7_);
#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp9_ = _tmp8_;
#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_box_pack_start (_tmp6_, _tmp9_, TRUE, TRUE, (guint) 0);
#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (_tmp9_);
#line 534 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 536 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp10_ = pane;
#line 536 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp11_ = spit_publishing_dialog_pane_get_preferred_geometry (_tmp10_);
#line 536 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	geometry_options = _tmp11_;
#line 538 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp12_ = geometry_options;
#line 538 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if ((_tmp12_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE) != 0) {
#line 539 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		publishing_ui_publishing_dialog_set_large_window_mode (self);
#line 3371 "PublishingUI.c"
	} else {
		SpitPublishingDialogPaneGeometryOptions _tmp13_ = 0;
#line 540 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		_tmp13_ = geometry_options;
#line 540 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		if ((_tmp13_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE) != 0) {
#line 541 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			publishing_ui_publishing_dialog_set_colossal_window_mode (self);
#line 3380 "PublishingUI.c"
		} else {
#line 543 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
			publishing_ui_publishing_dialog_set_standard_window_mode (self);
#line 3384 "PublishingUI.c"
		}
	}
#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp14_ = geometry_options;
#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	if ((_tmp14_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE) != 0) {
#line 546 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		publishing_ui_publishing_dialog_set_free_sizable_window_mode (self);
#line 3393 "PublishingUI.c"
	} else {
#line 548 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
		publishing_ui_publishing_dialog_clear_free_sizable_window_mode (self);
#line 3397 "PublishingUI.c"
	}
#line 550 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp15_ = pane;
#line 550 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp16_ = _g_object_ref0 (_tmp15_);
#line 550 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->active_pane);
#line 550 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->active_pane = _tmp16_;
#line 551 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp17_ = pane;
#line 551 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	spit_publishing_dialog_pane_on_pane_installed (_tmp17_);
#line 3411 "PublishingUI.c"
}


gint publishing_ui_publishing_dialog_run (PublishingUIPublishingDialog* self) {
	gint result = 0;
	gint _result_ = 0;
	gint _tmp0_ = 0;
#line 554 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_return_val_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self), 0);
#line 555 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_on_service_changed (self);
#line 557 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 557 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_result_ = _tmp0_;
#line 559 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->host);
#line 559 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->host = NULL;
#line 561 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	result = _result_;
#line 561 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	return result;
#line 3435 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_class_init (PublishingUIPublishingDialogClass * klass) {
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	publishing_ui_publishing_dialog_parent_class = g_type_class_peek_parent (klass);
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	g_type_class_add_private (klass, sizeof (PublishingUIPublishingDialogPrivate));
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (klass)->finalize = publishing_ui_publishing_dialog_finalize;
#line 3446 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_instance_init (PublishingUIPublishingDialog * self) {
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv = PUBLISHING_UI_PUBLISHING_DIALOG_GET_PRIVATE (self);
#line 3453 "PublishingUI.c"
}


static void publishing_ui_publishing_dialog_finalize (GObject* obj) {
	PublishingUIPublishingDialog * self;
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_UI_TYPE_PUBLISHING_DIALOG, PublishingUIPublishingDialog);
#line 147 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->service_selector_box_model);
#line 148 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->service_selector_box);
#line 149 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->central_area_layouter);
#line 150 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->close_cancel_button);
#line 151 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->active_pane);
#line 152 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL);
#line 153 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	_g_object_unref0 (self->priv->host);
#line 154 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	spit_pluggable_info_destroy (&self->priv->info);
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
	G_OBJECT_CLASS (publishing_ui_publishing_dialog_parent_class)->finalize (obj);
#line 3479 "PublishingUI.c"
}


GType publishing_ui_publishing_dialog_get_type (void) {
	static volatile gsize publishing_ui_publishing_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&publishing_ui_publishing_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PublishingUIPublishingDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_ui_publishing_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingUIPublishingDialog), 0, (GInstanceInitFunc) publishing_ui_publishing_dialog_instance_init, NULL };
		GType publishing_ui_publishing_dialog_type_id;
		publishing_ui_publishing_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "PublishingUIPublishingDialog", &g_define_type_info, 0);
		g_once_init_leave (&publishing_ui_publishing_dialog_type_id__volatile, publishing_ui_publishing_dialog_type_id);
	}
	return publishing_ui_publishing_dialog_type_id__volatile;
}


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);
}