[gtk+] window: don't call gtk_style_context_set_background()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: don't call gtk_style_context_set_background()
- Date: Wed, 1 Jul 2015 23:11:19 +0000 (UTC)
commit 74f2d9448f24bbfdaf32ae6b328ed3e126700afe
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Jun 27 22:54:42 2015 -0700
window: don't call gtk_style_context_set_background()
gtk/gtkwindow.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 9c42d23..cacb266 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -7136,12 +7136,6 @@ gtk_window_realize (GtkWidget *widget)
gtk_widget_register_window (widget, gdk_window);
gtk_widget_set_realized (widget, TRUE);
- /* We don't need to set a background on the GdkWindow; with decorations
- * we draw the background ourself
- */
- if (!priv->client_decorated && !gtk_widget_get_app_paintable (widget))
- gtk_style_context_set_background (gtk_widget_get_style_context (widget), gdk_window);
-
attributes.x = allocation.x;
attributes.y = allocation.y;
attributes.width = allocation.width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]