diff options
| author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-06-28 05:54:42 (GMT) |
|---|---|---|
| committer | Cosimo Cecchi <cosimoc@gnome.org> | 2015-07-01 23:09:23 (GMT) |
| commit | 74f2d9448f24bbfdaf32ae6b328ed3e126700afe (patch) | |
| tree | 1a7aed2972df89841d75949c0de2d824bf5bb918 | |
| parent | 88326488466cb74a05a96acfc5b4bc51961d692c (diff) | |
| download | gtk+-74f2d9448f24bbfdaf32ae6b328ed3e126700afe.zip gtk+-74f2d9448f24bbfdaf32ae6b328ed3e126700afe.tar.xz | |
window: don't call gtk_style_context_set_background()
| -rw-r--r-- | 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; |
