summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-09-13 16:09:37 +0000
committerManish Singh <yosh@src.gnome.org>2004-09-13 16:09:37 +0000
commit150ac78106717e2fa5ccccd1d653d61416d90600 (patch)
treed0738b9f211f9d105520872b24b23dd391adcf37 /gtk/gtkrange.c
parente0ac74f4973e2da79c2bbb29c57611e9af362600 (diff)
downloadgtk+-150ac78106717e2fa5ccccd1d653d61416d90600.tar.gz
fix gtk_range_real_change_value args. Addresses part of #152518.
Mon Sep 13 09:11:53 2004 Manish Singh <yosh@gimp.org> * gtk/gtkrange.c: fix gtk_range_real_change_value args. Addresses part of #152518.
Diffstat (limited to 'gtk/gtkrange.c')
-rw-r--r--gtk/gtkrange.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 7fbae052cf..ad32d1191a 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -174,10 +174,9 @@ static void gtk_range_reset_update_timer (GtkRange *range);
static void gtk_range_remove_update_timer (GtkRange *range);
static GdkRectangle* get_area (GtkRange *range,
MouseLocation location);
-static gboolean gtk_range_real_change_value (GtkRange *range,
- GtkScrollType scroll,
- gdouble value,
- gpointer data);
+static gboolean gtk_range_real_change_value (GtkRange *range,
+ GtkScrollType scroll,
+ gdouble value);
static void gtk_range_update_value (GtkRange *range);
@@ -2385,8 +2384,7 @@ get_area (GtkRange *range,
static gboolean
gtk_range_real_change_value (GtkRange *range,
GtkScrollType scroll,
- gdouble value,
- gpointer data)
+ gdouble value)
{
/* potentially adjust the bounds _before we clamp */
g_signal_emit (range, signals[ADJUST_BOUNDS], 0, value);