diff --git a/src/application.rs b/src/application.rs index a2f1509..da1d5ac 100644 --- a/src/application.rs +++ b/src/application.rs @@ -39,11 +39,17 @@ glib::wrapper! { @implements gio::ActionGroup, gio::ActionMap; } -impl Application { - pub fn new() -> Self { - glib::Object::builder() +impl Default for Application { + fn default() -> Self { + glib::Object::builder::() .property("application-id", "eu.callcc.audrey") .property("flags", gio::ApplicationFlags::default()) .build() } } + +impl Application { + pub fn new() -> Self { + Self::default() + } +}