[gtk+/rendering-cleanup-next: 95/155] window: Remove hack to set background
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup-next: 95/155] window: Remove hack to set background
- Date: Wed, 15 Sep 2010 03:04:54 +0000 (UTC)
commit 938b1f04d1459eec1252a7f313e947f4195fa425
Author: Benjamin Otte <otte redhat com>
Date: Wed Sep 8 16:08:46 2010 +0200
window: Remove hack to set background
I can't see this having any effect in current code, but who knows...
gtk/gtkwindow.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 7cfa399..2b693d8 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4773,9 +4773,6 @@ gtk_window_realize (GtkWidget *widget)
if (priv->frame)
gtk_style_set_background (style, priv->frame, GTK_STATE_NORMAL);
- /* This is a bad hack to set the window background. */
- gtk_window_paint (widget, NULL);
-
if (priv->transient_parent &&
gtk_widget_get_realized (GTK_WIDGET (priv->transient_parent)))
gdk_window_set_transient_for (gdk_window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]