mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
events return gboolean not gint. Change misnamed
2008-09-04 Michael Natterer <mitch@imendio.com> * gtk/gtkhandlebox.c: events return gboolean not gint. Change misnamed gtk_handle_box_button_changed() to gtk_handle_box_button_press(). Reindent static prototypes. svn path=/trunk/; revision=21286
This commit is contained in:
parent
5e25a5c7ca
commit
eb81ee53a7
@ -1,3 +1,9 @@
|
||||
2008-09-04 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkhandlebox.c: events return gboolean not gint.
|
||||
Change misnamed gtk_handle_box_button_changed() to
|
||||
gtk_handle_box_button_press(). Reindent static prototypes.
|
||||
|
||||
2008-09-04 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): when extending
|
||||
|
@ -131,13 +131,13 @@ static void gtk_handle_box_draw_ghost (GtkHandleBox *hb);
|
||||
static void gtk_handle_box_paint (GtkWidget *widget,
|
||||
GdkEventExpose *event,
|
||||
GdkRectangle *area);
|
||||
static gint gtk_handle_box_expose (GtkWidget *widget,
|
||||
static gboolean gtk_handle_box_expose (GtkWidget *widget,
|
||||
GdkEventExpose *event);
|
||||
static gint gtk_handle_box_button_changed (GtkWidget *widget,
|
||||
static gboolean gtk_handle_box_button_press (GtkWidget *widget,
|
||||
GdkEventButton *event);
|
||||
static gint gtk_handle_box_motion (GtkWidget *widget,
|
||||
static gboolean gtk_handle_box_motion (GtkWidget *widget,
|
||||
GdkEventMotion *event);
|
||||
static gint gtk_handle_box_delete_event (GtkWidget *widget,
|
||||
static gboolean gtk_handle_box_delete_event (GtkWidget *widget,
|
||||
GdkEventAny *event);
|
||||
static void gtk_handle_box_reattach (GtkHandleBox *hb);
|
||||
static void gtk_handle_box_end_drag (GtkHandleBox *hb,
|
||||
@ -219,7 +219,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
|
||||
widget_class->size_request = gtk_handle_box_size_request;
|
||||
widget_class->size_allocate = gtk_handle_box_size_allocate;
|
||||
widget_class->expose_event = gtk_handle_box_expose;
|
||||
widget_class->button_press_event = gtk_handle_box_button_changed;
|
||||
widget_class->button_press_event = gtk_handle_box_button_press;
|
||||
widget_class->delete_event = gtk_handle_box_delete_event;
|
||||
|
||||
container_class->add = gtk_handle_box_add;
|
||||
@ -869,7 +869,6 @@ gtk_handle_box_get_child_detached (GtkHandleBox *handle_box)
|
||||
|
||||
static void
|
||||
gtk_handle_box_paint (GtkWidget *widget,
|
||||
|
||||
GdkEventExpose *event,
|
||||
GdkRectangle *area)
|
||||
{
|
||||
@ -956,7 +955,7 @@ gtk_handle_box_paint (GtkWidget *widget,
|
||||
GTK_WIDGET_CLASS (gtk_handle_box_parent_class)->expose_event (widget, event);
|
||||
}
|
||||
|
||||
static gint
|
||||
static gboolean
|
||||
gtk_handle_box_expose (GtkWidget *widget,
|
||||
GdkEventExpose *event)
|
||||
{
|
||||
@ -1018,8 +1017,8 @@ gtk_handle_box_grab_event (GtkWidget *widget,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static gint
|
||||
gtk_handle_box_button_changed (GtkWidget *widget,
|
||||
static gboolean
|
||||
gtk_handle_box_button_press (GtkWidget *widget,
|
||||
GdkEventButton *event)
|
||||
{
|
||||
GtkHandleBox *hb;
|
||||
@ -1146,7 +1145,7 @@ gtk_handle_box_button_changed (GtkWidget *widget,
|
||||
return event_handled;
|
||||
}
|
||||
|
||||
static gint
|
||||
static gboolean
|
||||
gtk_handle_box_motion (GtkWidget *widget,
|
||||
GdkEventMotion *event)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user