[gtk+] Fix resize grip drawing in GtkAssistant
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix resize grip drawing in GtkAssistant
- Date: Fri, 8 Oct 2010 06:20:20 +0000 (UTC)
commit f9265ea3b8e1283f61e2d38db6d46879b8dc5ca2
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 8 01:08:24 2010 -0400
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.
gtk/gtkassistant.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index ce3d8d0..ba9c06b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]