blob: 1031b9a4358fff602325c8c6c71ad87b5da350fc (
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
|
/* _DirectInternals.c generated by valac 0.36.6, the Vala compiler
* generated from _DirectInternals.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.
*
* Auto-generated file. Do not modify!
*/
#include <glib.h>
#include <glib-object.h>
extern gint direct__unit_init_count;
gint direct__unit_init_count = 0;
void direct_init_entry (GError** error);
void unit_init_entry (GError** error);
void db_init_entry (GError** error);
void util_init_entry (GError** error);
void photos_init_entry (GError** error);
void slideshow_init_entry (GError** error);
void core_init_entry (GError** error);
void direct_init (GError** error);
void direct_terminate_entry (void);
void direct_terminate (void);
void unit_terminate_entry (void);
void db_terminate_entry (void);
void util_terminate_entry (void);
void photos_terminate_entry (void);
void slideshow_terminate_entry (void);
void core_terminate_entry (void);
void direct_init_entry (GError** error) {
gint _tmp0_;
GError * _inner_error_ = NULL;
#line 14 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
_tmp0_ = direct__unit_init_count;
#line 14 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
direct__unit_init_count = _tmp0_ + 1;
#line 14 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (_tmp0_ != 0) {
#line 15 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 50 "_DirectInternals.c"
}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
unit_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 60 "_DirectInternals.c"
}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
db_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 70 "_DirectInternals.c"
}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
util_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 80 "_DirectInternals.c"
}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
photos_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 90 "_DirectInternals.c"
}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
slideshow_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 100 "_DirectInternals.c"
}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
core_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 110 "_DirectInternals.c"
}
#line 19 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
direct_init (&_inner_error_);
#line 19 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 19 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
g_propagate_error (error, _inner_error_);
#line 19 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 120 "_DirectInternals.c"
}
}
void direct_terminate_entry (void) {
gboolean _tmp0_ = FALSE;
gint _tmp1_;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
_tmp1_ = direct__unit_init_count;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (_tmp1_ == 0) {
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
_tmp0_ = TRUE;
#line 134 "_DirectInternals.c"
} else {
gint _tmp2_;
gint _tmp3_;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
_tmp2_ = direct__unit_init_count;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
direct__unit_init_count = _tmp2_ - 1;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
_tmp3_ = direct__unit_init_count;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
_tmp0_ = _tmp3_ != 0;
#line 146 "_DirectInternals.c"
}
#line 23 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
if (_tmp0_) {
#line 24 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
return;
#line 152 "_DirectInternals.c"
}
#line 26 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
direct_terminate ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
unit_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
db_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
util_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
photos_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
slideshow_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_DirectInternals.vala"
core_terminate_entry ();
#line 168 "_DirectInternals.c"
}
|