GLeaker

GLeaker Commit Details

Date:2013-05-22 15:24:26 (7 years 1 month ago)
Author:Nicola Fontana
Branch:master
Commit:bafdbd106dab05792762b9c70869f906a59a1440
Parents: dd44f0f816792b2ab8b75f312fb056f83ac26636
Message:Default setup is now G_GNUC_CONST

Changes:
Msrc/gleaker.c (7 diffs)

File differences

src/gleaker.c
9696
9797
9898
99
99100
100101
101102
......
111112
112113
113114
115
116
117
114118
115119
116120
......
130134
131135
132136
137
138
139
140
141
142
143
144
145
146
147
148
133149
134150
135151
......
153169
154170
155171
156
157
158
159
160
161
162
163
164
165
166
167
168172
169173
170174
171175
172176
173
177
174178
175179
176180
......
223227
224228
225229
226
230
227231
228232
229233
......
241245
242246
243247
248
244249
245250
246251
......
278283
279284
280285
286
281287
282288
283289
return GTK_WIDGET(object);
}
typedef struct _GleakerSetup GleakerSetup;
struct _GleakerSetup {
gdouble drain_delay;
};
static GleakerSetup *gleaker_setup_default(void) G_GNUC_CONST;
static GleakerSetup *
gleaker_setup_new(void)
{
return setup;
}
static GleakerSetup *
gleaker_setup_default()
{
static GleakerSetup *setup = NULL;
if (G_UNLIKELY(setup == NULL)) {
setup = gleaker_setup_new();
}
return setup;
}
static void
gleaker_setup_dump(const GleakerSetup *setup)
{
}
static GleakerSetup *
default_setup(void)
{
static GleakerSetup *setup = NULL;
if (G_UNLIKELY(setup == NULL)) {
setup = gleaker_setup_new();
}
return setup;
}
static void
default_setup_changed(void)
{
GleakerSetup *setup;
setup = default_setup();
setup = gleaker_setup_default();
setup->changed = TRUE;
gleaker_setup_dump(setup);
}
return NULL;
/* Bind GleakerSetup to the user interface widgets */
setup = default_setup();
setup = gleaker_setup_default();
SETUP_VALUE(& setup->min_pressure, "adjMinPressure");
SETUP_VALUE(& setup->max_pressure, "adjMaxPressure");
SETUP_VALUE(& setup->immission_time, "adjImmissionTime");
return window;
}
static gint
gleaker_init(gint argc, gchar **argv)
{
libgoffice_shutdown();
}
gint
main(gint argc, gchar **argv)
{

Archive Download the corresponding diff file

Branches