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/gtkwidget.h | |
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/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 1d5d4bee85..b6a8032ff6 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -260,7 +260,7 @@ struct _GtkWidgetClass GtkTextDirection previous_direction); /* accelerators */ - gint (* add_accelerator) (GtkWidget *widget, + void (* add_accelerator) (GtkWidget *widget, guint accel_signal_id, GtkAccelGroup *accel_group, guint accel_key, @@ -279,60 +279,60 @@ struct _GtkWidgetClass void (* grab_focus) (GtkWidget *widget); /* events */ - gint (* event) (GtkWidget *widget, - GdkEvent *event); - gint (* button_press_event) (GtkWidget *widget, - GdkEventButton *event); - gint (* button_release_event) (GtkWidget *widget, - GdkEventButton *event); - gint (* scroll_event) (GtkWidget *widget, - GdkEventScroll *event); - gint (* motion_notify_event) (GtkWidget *widget, - GdkEventMotion *event); - gint (* delete_event) (GtkWidget *widget, - GdkEventAny *event); - gint (* destroy_event) (GtkWidget *widget, - GdkEventAny *event); - gint (* expose_event) (GtkWidget *widget, - GdkEventExpose *event); - gint (* key_press_event) (GtkWidget *widget, - GdkEventKey *event); - gint (* key_release_event) (GtkWidget *widget, - GdkEventKey *event); - gint (* enter_notify_event) (GtkWidget *widget, - GdkEventCrossing *event); - gint (* leave_notify_event) (GtkWidget *widget, - GdkEventCrossing *event); - gint (* configure_event) (GtkWidget *widget, - GdkEventConfigure *event); - gint (* focus_in_event) (GtkWidget *widget, - GdkEventFocus *event); - gint (* focus_out_event) (GtkWidget *widget, - GdkEventFocus *event); - gint (* map_event) (GtkWidget *widget, - GdkEventAny *event); - gint (* unmap_event) (GtkWidget *widget, - GdkEventAny *event); - gint (* property_notify_event) (GtkWidget *widget, - GdkEventProperty *event); - gint (* selection_clear_event) (GtkWidget *widget, - GdkEventSelection *event); - gint (* selection_request_event) (GtkWidget *widget, - GdkEventSelection *event); - gint (* selection_notify_event) (GtkWidget *widget, - GdkEventSelection *event); - gint (* proximity_in_event) (GtkWidget *widget, - GdkEventProximity *event); - gint (* proximity_out_event) (GtkWidget *widget, - GdkEventProximity *event); - gint (* visibility_notify_event) (GtkWidget *widget, - GdkEventVisibility *event); - gint (* client_event) (GtkWidget *widget, - GdkEventClient *event); - gint (* no_expose_event) (GtkWidget *widget, - GdkEventAny *event); - gint (* window_state_event) (GtkWidget *widget, - GdkEventWindowState *event); + gboolean (* event) (GtkWidget *widget, + GdkEvent *event); + gboolean (* button_press_event) (GtkWidget *widget, + GdkEventButton *event); + gboolean (* button_release_event) (GtkWidget *widget, + GdkEventButton *event); + gboolean (* scroll_event) (GtkWidget *widget, + GdkEventScroll *event); + gboolean (* motion_notify_event) (GtkWidget *widget, + GdkEventMotion *event); + gboolean (* delete_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* destroy_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* expose_event) (GtkWidget *widget, + GdkEventExpose *event); + gboolean (* key_press_event) (GtkWidget *widget, + GdkEventKey *event); + gboolean (* key_release_event) (GtkWidget *widget, + GdkEventKey *event); + gboolean (* enter_notify_event) (GtkWidget *widget, + GdkEventCrossing *event); + gboolean (* leave_notify_event) (GtkWidget *widget, + GdkEventCrossing *event); + gboolean (* configure_event) (GtkWidget *widget, + GdkEventConfigure *event); + gboolean (* focus_in_event) (GtkWidget *widget, + GdkEventFocus *event); + gboolean (* focus_out_event) (GtkWidget *widget, + GdkEventFocus *event); + gboolean (* map_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* unmap_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* property_notify_event) (GtkWidget *widget, + GdkEventProperty *event); + gboolean (* selection_clear_event) (GtkWidget *widget, + GdkEventSelection *event); + gboolean (* selection_request_event) (GtkWidget *widget, + GdkEventSelection *event); + gboolean (* selection_notify_event) (GtkWidget *widget, + GdkEventSelection *event); + gboolean (* proximity_in_event) (GtkWidget *widget, + GdkEventProximity *event); + gboolean (* proximity_out_event) (GtkWidget *widget, + GdkEventProximity *event); + gboolean (* visibility_notify_event) (GtkWidget *widget, + GdkEventVisibility *event); + gboolean (* client_event) (GtkWidget *widget, + GdkEventClient *event); + gboolean (* no_expose_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* window_state_event) (GtkWidget *widget, + GdkEventWindowState *event); /* selection */ void (* selection_get) (GtkWidget *widget, |