Chain up enter and leave notify handlers

svn path=/trunk/; revision=21781
This commit is contained in:
Matthias Clasen 2008-11-11 18:10:20 +00:00
parent 8121c60d3d
commit c2d48cfc91
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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;
}