Fix resize grip drawing in GtkAssistant

Chain up in the draw() implementation of GtkAssistant to let
GtkWindow draw the resize grip. This avoids black resize grips
in GtkAssistant windows.
This commit is contained in:
Matthias Clasen 2010-10-08 01:08:24 -04:00
parent f6347baf64
commit f9265ea3b8

View File

@ -1444,6 +1444,9 @@ gtk_assistant_draw (GtkWidget *widget,
GtkAssistantPrivate *priv = assistant->priv; GtkAssistantPrivate *priv = assistant->priv;
GtkContainer *container = GTK_CONTAINER (widget); GtkContainer *container = GTK_CONTAINER (widget);
if (GTK_WIDGET_CLASS (gtk_assistant_parent_class)->draw)
GTK_WIDGET_CLASS (gtk_assistant_parent_class)->draw (widget, cr);
assistant_paint_colored_box (widget, cr); assistant_paint_colored_box (widget, cr);
gtk_container_propagate_draw (container, priv->header_image, cr); gtk_container_propagate_draw (container, priv->header_image, cr);