GLeaker

GLeaker Commit Details

Date:2013-04-17 09:38:49 (5 years 4 days ago)
Author:Nicola Fontana
Branch:master
Commit:a1ccdbe5e4075661b428002ead25421664e1d897
Parents: 700c2234907ef8b874bef7f02bc8051c68410612
Message:Cosmetic refactoring

Changes:
Msrc/gleaker.c (2 diffs)

File differences

src/gleaker.c
177177
178178
179179
180
180
181181
182
183
182
183
184184
185185
186186
187187
188188
189189
190
190
191191
192
193
194
195
192
193
196194
197195
198196
......
202200
203201
204202
205
203
206204
207205
208206
static void
adjustment_changed(GtkAdjustment *adjustment, gdouble *value)
value_changed(GtkAdjustment *adjustment, gdouble *p_value)
{
if (value != NULL) {
*value = gtk_adjustment_get_value(adjustment);
if (p_value != NULL) {
*p_value = gtk_adjustment_get_value(adjustment);
}
default_setup_changed();
}
static void
flag_toggled(GtkToggleButton *toggle_button, gboolean *value)
flag_toggled(GtkToggleButton *toggle_button, gboolean *p_flag)
{
GleakerSetup *setup;
if (value != NULL) {
*value = gtk_toggle_button_get_active(toggle_button);
if (p_flag != NULL) {
*p_flag = gtk_toggle_button_get_active(toggle_button);
}
default_setup_changed();
G_STMT_START{ \
GObject *object = gtk_builder_get_object(builder, (widget)); \
g_signal_connect(object, "value-changed", \
G_CALLBACK(adjustment_changed), \
G_CALLBACK(value_changed), \
variable); \
}G_STMT_END

Archive Download the corresponding diff file

Branches