forked from AuroraMiddleware/gtk
Chain up enter and leave notify handlers
svn path=/trunk/; revision=21781
This commit is contained in:
parent
8121c60d3d
commit
c2d48cfc91
@ -1,3 +1,7 @@
|
||||
2008-11-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.
|
||||
|
||||
2008-11-11 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
Bug 553765 – Add orientation API to GtkRange
|
||||
|
@ -915,7 +915,10 @@ gtk_spin_button_enter_notify (GtkWidget *widget,
|
||||
|
||||
gtk_widget_queue_draw (GTK_WIDGET (spin));
|
||||
}
|
||||
|
||||
|
||||
if (GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->enter_notify_event)
|
||||
return GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->enter_notify_event (widget, event);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -927,7 +930,10 @@ gtk_spin_button_leave_notify (GtkWidget *widget,
|
||||
|
||||
spin->in_child = NO_ARROW;
|
||||
gtk_widget_queue_draw (GTK_WIDGET (spin));
|
||||
|
||||
|
||||
if (GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->leave_notify_event)
|
||||
return GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->leave_notify_event (widget, event);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user