summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-10-08 01:08:24 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-10-08 02:14:19 -0400
commitf9265ea3b8e1283f61e2d38db6d46879b8dc5ca2 (patch)
tree071bfb64522e053e7ffbc4d1a0b6a075539f2f85 /gtk/gtkassistant.c
parentf6347baf648fb5b7486354fd800b28bdf571f731 (diff)
downloadgtk+-f9265ea3b8e1283f61e2d38db6d46879b8dc5ca2.tar.gz
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.
Diffstat (limited to 'gtk/gtkassistant.c')
-rw-r--r--gtk/gtkassistant.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index ce3d8d0a6a..ba9c06ba77 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -1444,6 +1444,9 @@ gtk_assistant_draw (GtkWidget *widget,
GtkAssistantPrivate *priv = assistant->priv;
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);
gtk_container_propagate_draw (container, priv->header_image, cr);