forked from AuroraMiddleware/gtk
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:
parent
f6347baf64
commit
f9265ea3b8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user