[gtk/wip/baedert/for-master] window: Remove dead code



commit c14d469bff74e7421ad20215735a735528e8dc9f
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 4e687fa680..26c709808f 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]