summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.h
diff options
context:
space:
mode:
authorTim Janik <timj@gimp.org>1998-03-10 04:37:26 +0000
committerTim Janik <timj@src.gnome.org>1998-03-10 04:37:26 +0000
commit8532799aaa7b7df04c4b4aa01c6cb5653515d907 (patch)
tree52588acdf6c50a459dd106310651a05d7c7a3012 /gtk/gtkrange.h
parent2f50a3044ed8bf7783e8362d956b6f77010795cd (diff)
downloadgtk+-8532799aaa7b7df04c4b4aa01c6cb5653515d907.tar.gz
changed gtk_range_trough_click() to take an additional jump_perc arg,
Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org> * gtk/gtkrange.h: * gtk/gtkrange.c: changed gtk_range_trough_click() to take an additional jump_perc arg, class method and callers changed. Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org> * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz which fixes a memory leak.
Diffstat (limited to 'gtk/gtkrange.h')
-rw-r--r--gtk/gtkrange.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h
index ef7b36dea2..ad68af94ac 100644
--- a/gtk/gtkrange.h
+++ b/gtk/gtkrange.h
@@ -89,7 +89,8 @@ struct _GtkRangeClass
void (* slider_update) (GtkRange *range);
gint (* trough_click) (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
gint (* trough_keys) (GtkRange *range,
GdkEventKey *key,
GtkScrollType *scroll,
@@ -116,16 +117,19 @@ void gtk_range_draw_step_back (GtkRange *range);
void gtk_range_slider_update (GtkRange *range);
gint gtk_range_trough_click (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
void gtk_range_default_hslider_update (GtkRange *range);
void gtk_range_default_vslider_update (GtkRange *range);
gint gtk_range_default_htrough_click (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
gint gtk_range_default_vtrough_click (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
void gtk_range_default_hmotion (GtkRange *range,
gint xdelta,
gint ydelta);