[gtk/wip/baedert/single-node-window: 19/24] widget: Remove GtkWindow special case in create_render_node()
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/single-node-window: 19/24] widget: Remove GtkWindow special case in create_render_node()
- Date: Tue, 19 May 2020 06:40:40 +0000 (UTC)
commit c1154b7a7fdc69beb4ba710bd4f0ac5769a4f482
Author: Timm Bäder <mail baedert org>
Date: Sat May 2 07:50:30 2020 +0200
widget: Remove GtkWindow special case in create_render_node()
gtk/gtkwidget.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 54c45644bc..509bfe860c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11579,11 +11579,8 @@ gtk_widget_create_render_node (GtkWidget *widget,
if (opacity < 1.0)
gtk_snapshot_push_opacity (snapshot, opacity);
- if (!GTK_IS_WINDOW (widget))
- {
- gtk_css_style_snapshot_background (&boxes, snapshot);
- gtk_css_style_snapshot_border (&boxes, snapshot);
- }
+ gtk_css_style_snapshot_background (&boxes, snapshot);
+ gtk_css_style_snapshot_border (&boxes, snapshot);
if (priv->overflow == GTK_OVERFLOW_HIDDEN)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]