[gtk/wip/baedert/for-master: 19/27] window: Remove dead code
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 19/27] window: Remove dead code
- Date: Fri, 12 Jun 2020 03:51:26 +0000 (UTC)
commit 79866920130406b9dd6b0e9d70e8cbe6dd58e189
Author: Timm Bäder <mail baedert org>
Date: Sun Jun 7 08:19:14 2020 +0200
window: Remove dead code
There is no decoration node anymore.
gtk/gtkwindow.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 2ca244f77c..8f2778f23a 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -7149,12 +7149,6 @@ gtk_window_set_child (GtkWindow *window,
if (child)
{
- /* Insert the child's css node now at the end so the order wrt.
- * decoration_node is correct
- */
- gtk_css_node_insert_before (gtk_widget_get_css_node (GTK_WIDGET (window)),
- gtk_widget_get_css_node (child),
- NULL);
priv->child = child;
gtk_widget_set_parent (child, GTK_WIDGET (window));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]