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/gtkvscale.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/gtkvscale.c')
-rw-r--r-- | gtk/gtkvscale.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/gtk/gtkvscale.c b/gtk/gtkvscale.c index 75dd23d796..8747455093 100644 --- a/gtk/gtkvscale.c +++ b/gtk/gtkvscale.c @@ -38,36 +38,36 @@ enum { ARG_ADJUSTMENT }; -static void gtk_vscale_class_init (GtkVScaleClass *klass); -static void gtk_vscale_init (GtkVScale *vscale); -static void gtk_vscale_set_arg (GtkObject *object, - GtkArg *arg, - guint arg_id); -static void gtk_vscale_get_arg (GtkObject *object, - GtkArg *arg, - guint arg_id); -static void gtk_vscale_realize (GtkWidget *widget); -static void gtk_vscale_size_request (GtkWidget *widget, - GtkRequisition *requisition); -static void gtk_vscale_size_allocate (GtkWidget *widget, - GtkAllocation *allocation); -static void gtk_vscale_pos_trough (GtkVScale *vscale, - gint *x, - gint *y, - gint *w, - gint *h); -static void gtk_vscale_pos_background (GtkVScale *vscale, - gint *x, - gint *y, - gint *w, - gint *h); -static void gtk_vscale_draw_slider (GtkRange *range); -static void gtk_vscale_draw_value (GtkScale *scale); -static gint gtk_vscale_trough_keys (GtkRange *range, - GdkEventKey *key, - GtkScrollType *scroll, - GtkTroughType *pos); -static void gtk_vscale_clear_background (GtkRange *range); +static void gtk_vscale_class_init (GtkVScaleClass *klass); +static void gtk_vscale_init (GtkVScale *vscale); +static void gtk_vscale_set_arg (GtkObject *object, + GtkArg *arg, + guint arg_id); +static void gtk_vscale_get_arg (GtkObject *object, + GtkArg *arg, + guint arg_id); +static void gtk_vscale_realize (GtkWidget *widget); +static void gtk_vscale_size_request (GtkWidget *widget, + GtkRequisition *requisition); +static void gtk_vscale_size_allocate (GtkWidget *widget, + GtkAllocation *allocation); +static void gtk_vscale_pos_trough (GtkVScale *vscale, + gint *x, + gint *y, + gint *w, + gint *h); +static void gtk_vscale_pos_background (GtkVScale *vscale, + gint *x, + gint *y, + gint *w, + gint *h); +static void gtk_vscale_draw_slider (GtkRange *range); +static void gtk_vscale_draw_value (GtkScale *scale); +static gboolean gtk_vscale_trough_keys (GtkRange *range, + GdkEventKey *key, + GtkScrollType *scroll, + GtkTroughType *pos); +static void gtk_vscale_clear_background (GtkRange *range); GtkType gtk_vscale_get_type (void) @@ -543,7 +543,7 @@ gtk_vscale_draw_value (GtkScale *scale) } } -static gint +static gboolean gtk_vscale_trough_keys (GtkRange *range, GdkEventKey *key, GtkScrollType *scroll, |