Commit 32c01173 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

Use flags setters

parent 55d2d973
...@@ -67,7 +67,7 @@ mod imp { ...@@ -67,7 +67,7 @@ mod imp {
.margin_top(36) .margin_top(36)
.build(); .build();
obj.bind_property("head", &head_label, "label") obj.bind_property("head", &head_label, "label")
.flags(glib::BindingFlags::SYNC_CREATE) .sync_create()
.build(); .build();
head_label.add_css_class("title-1"); head_label.add_css_class("title-1");
...@@ -81,7 +81,7 @@ mod imp { ...@@ -81,7 +81,7 @@ mod imp {
.margin_top(12) .margin_top(12)
.build(); .build();
obj.bind_property("body", &body_label, "label") obj.bind_property("body", &body_label, "label")
.flags(glib::BindingFlags::SYNC_CREATE) .sync_create()
.build(); .build();
container.append(&body_label); container.append(&body_label);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment