[gtk+/rendering-cleanup-next: 65/203] viewport: Don't paint stuff in realize handler
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup-next: 65/203] viewport: Don't paint stuff in realize handler
- Date: Thu, 23 Sep 2010 10:36:34 +0000 (UTC)
commit 5a70ef6447bee773ed6c5c9fd92baaf7ed044b0f
Author: Benjamin Otte <otte redhat com>
Date: Tue Sep 7 16:37:27 2010 +0200
viewport: Don't paint stuff in realize handler
gtk/gtkviewport.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c
index 30cd9a6..4d115ad 100644
--- a/gtk/gtkviewport.c
+++ b/gtk/gtkviewport.c
@@ -744,13 +744,6 @@ gtk_viewport_realize (GtkWidget *widget)
gtk_style_set_background (style, window, GTK_STATE_NORMAL);
gtk_style_set_background (style, priv->bin_window, GTK_STATE_NORMAL);
- /* Call paint here to allow a theme to set the background without flashing
- */
- gtk_paint_flat_box(style, priv->bin_window, GTK_STATE_NORMAL,
- GTK_SHADOW_NONE,
- NULL, widget, "viewportbin",
- 0, 0, -1, -1);
-
gdk_window_show (priv->bin_window);
gdk_window_show (priv->view_window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]