diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-03-28 04:01:21 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-03-28 04:01:21 +0000 |
commit | a7f29c4efc91ef0cc2c585af1d6fbf529bbb0074 (patch) | |
tree | b311b522b77ae8ea3578a101e97a6c179ccd9b04 /gtk/gtkhscrollbar.c | |
parent | 6e7b8a6722a743c14d3300a29bf8ba438ed8bd55 (diff) | |
download | gtk+-a7f29c4efc91ef0cc2c585af1d6fbf529bbb0074.tar.gz |
Apply patch from Nils Barth fixing event return values. (#51041)
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
Nils Barth fixing event return values. (#51041)
* gtk/gtkwidget.c: Fix some return values for default
functions.
* gtk/gtk[vh]scrollbar.c gtk/gtk[vh]range.c: Fix
return values for trough_keys functions.
* gtk/gtkwidget.h (struct _GtkWidgetClass): Fix return
value for add_accelerator (shoudl have been a void
return.)
* gtk/gtkcellrenderer.[ch]: gtkcellrenderertoggle.h:
Fix return type of EVENT.
* gtk/gtkmarshal.list gtk/gtktexttag.c: Make EVENT
signal return a boolean.
Diffstat (limited to 'gtk/gtkhscrollbar.c')
-rw-r--r-- | gtk/gtkhscrollbar.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/gtk/gtkhscrollbar.c b/gtk/gtkhscrollbar.c index af806cd0d8..b66a688362 100644 --- a/gtk/gtkhscrollbar.c +++ b/gtk/gtkhscrollbar.c @@ -38,25 +38,25 @@ enum { ARG_ADJUSTMENT }; -static void gtk_hscrollbar_class_init (GtkHScrollbarClass *klass); -static void gtk_hscrollbar_init (GtkHScrollbar *hscrollbar); -static void gtk_hscrollbar_set_arg (GtkObject *object, - GtkArg *arg, - guint arg_id); -static void gtk_hscrollbar_get_arg (GtkObject *object, - GtkArg *arg, - guint arg_id); -static void gtk_hscrollbar_realize (GtkWidget *widget); -static void gtk_hscrollbar_size_allocate (GtkWidget *widget, - GtkAllocation *allocation); -static void gtk_hscrollbar_draw_step_forw (GtkRange *range); -static void gtk_hscrollbar_draw_step_back (GtkRange *range); -static void gtk_hscrollbar_slider_update (GtkRange *range); -static void gtk_hscrollbar_calc_slider_size (GtkHScrollbar *hscrollbar); -static gint gtk_hscrollbar_trough_keys (GtkRange *range, - GdkEventKey *key, - GtkScrollType *scroll, - GtkTroughType *pos); +static void gtk_hscrollbar_class_init (GtkHScrollbarClass *klass); +static void gtk_hscrollbar_init (GtkHScrollbar *hscrollbar); +static void gtk_hscrollbar_set_arg (GtkObject *object, + GtkArg *arg, + guint arg_id); +static void gtk_hscrollbar_get_arg (GtkObject *object, + GtkArg *arg, + guint arg_id); +static void gtk_hscrollbar_realize (GtkWidget *widget); +static void gtk_hscrollbar_size_allocate (GtkWidget *widget, + GtkAllocation *allocation); +static void gtk_hscrollbar_draw_step_forw (GtkRange *range); +static void gtk_hscrollbar_draw_step_back (GtkRange *range); +static void gtk_hscrollbar_slider_update (GtkRange *range); +static void gtk_hscrollbar_calc_slider_size (GtkHScrollbar *hscrollbar); +static gboolean gtk_hscrollbar_trough_keys (GtkRange *range, + GdkEventKey *key, + GtkScrollType *scroll, + GtkTroughType *pos); GtkType @@ -425,7 +425,7 @@ gtk_hscrollbar_calc_slider_size (GtkHScrollbar *hscrollbar) } } -static gint +static gboolean gtk_hscrollbar_trough_keys(GtkRange *range, GdkEventKey *key, GtkScrollType *scroll, |