summaryrefslogtreecommitdiff
path: root/gtk/gtkconstraintlayout.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-06-29 22:51:28 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2019-07-01 00:10:11 +0100
commit035baa092c893842232e1c56a2de5c342fc02f9c (patch)
tree3537fba2f35a24899dff3bd2c686a89372e580c4 /gtk/gtkconstraintlayout.c
parent499738c903e1ae688636264664bd1a38a2fbd9ca (diff)
downloadgtk+-035baa092c893842232e1c56a2de5c342fc02f9c.tar.gz
Mark the layout as changed
We should mark the layout as changed when constraints are added or removed.
Diffstat (limited to 'gtk/gtkconstraintlayout.c')
-rw-r--r--gtk/gtkconstraintlayout.c2
1 files changed, 2 insertions, 0 deletions
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;
}