aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-int.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-int.c')
-rw-r--r--filter/filter-int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter-int.c b/filter/filter-int.c
index 4378204b92..a6e3fb4a74 100644
--- a/filter/filter-int.c
+++ b/filter/filter-int.c
@@ -134,7 +134,7 @@ filter_int_new_type (const char *type, int min, int max)
fi->min = min;
fi->max = max;
- return o;
+ return fi;
}
void
@@ -234,7 +234,7 @@ get_widget (FilterElement *fe)
if (fs->val)
gtk_spin_button_set_value (GTK_SPIN_BUTTON (spin), (gfloat) fs->val);
- g_signal_connect (spin, "changed", spin_changed, fe);
+ g_signal_connect (spin, "changed", GTK_SIGNAL_FUNC (spin_changed), fe);
return spin;
}