[gtk+] window: Remove hack to set background
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: Remove hack to set background
- Date: Sun, 26 Sep 2010 13:39:24 +0000 (UTC)
commit 15f48a818dcc5fb3e94be9f558971431a5a06abd
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 8bf4bea..56518cf 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4774,9 +4774,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]