[gtk/constraint-editor: 1/5] Mark the layout as changed



commit 30d5e94368a81624ec065e334f334a61694929ba
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 44554f33f4..191a145b62 100644
--- a/gtk/gtkconstraintlayout.c
+++ b/gtk/gtkconstraintlayout.c
@@ -1801,6 +1801,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 TRUE;
 }
 


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