[gtk/wip/ebassi/constraint-layout: 67/69] Mark the layout as changed



commit 035baa092c893842232e1c56a2de5c342fc02f9c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 29 22:51:28 2019 +0000

    Mark the layout as changed
    
    We should mark the layout as changed when
    constraints are added or removed.

 gtk/gtkconstraintlayout.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkconstraintlayout.c b/gtk/gtkconstraintlayout.c
index 52c6f86bfa..658298d35e 100644
--- a/gtk/gtkconstraintlayout.c
+++ b/gtk/gtkconstraintlayout.c
@@ -1408,6 +1408,8 @@ gtk_constraint_layout_add_constraints_from_descriptionv (GtkConstraintLayout *la
 
   gtk_constraint_vfl_parser_free (parser);
 
+  gtk_layout_manager_layout_changed (GTK_LAYOUT_MANAGER (layout));
+
   return res;
 }
 


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