[gtk/matthiasc/for-master] layoutmanager: Fix the child-widget property




commit 865b29500c3c4cf3ab2f9bcef7253c182226d95d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 21 14:29:14 2020 -0400

    layoutmanager: Fix the child-widget property
    
    We were setting the child-widget property to the parent.
    Oops.

 gtk/gtklayoutmanager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklayoutmanager.c b/gtk/gtklayoutmanager.c
index 547c76bbdf..d0e4037b2f 100644
--- a/gtk/gtklayoutmanager.c
+++ b/gtk/gtklayoutmanager.c
@@ -195,7 +195,7 @@ gtk_layout_manager_real_create_layout_child (GtkLayoutManager *manager,
 
   return g_object_new (manager_class->layout_child_type,
                        "layout-manager", manager,
-                       "child-widget", widget,
+                       "child-widget", child,
                        NULL);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]