Commit df887df0 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

window: Use the new gtk apis

parent 890fbdf8
......@@ -28,8 +28,7 @@ mod imp {
type ParentType = adw::ApplicationWindow;
fn class_init(klass: &mut Self::Class) {
ImagePageWidget::static_type();
Self::bind_template(klass);
klass.bind_template();
}
fn instance_init(obj: &glib::subclass::InitializingObject<Self>) {
......
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