return Self implementation

This commit is contained in:
yggverse 2024-09-26 01:14:33 +03:00
parent bdad712690
commit 003486e3ed
22 changed files with 22 additions and 22 deletions

View file

@ -8,7 +8,7 @@ pub struct Title {
impl Title {
// Construct
pub fn new() -> Title {
pub fn new() -> Self {
let widget = gtk::Label::builder()
.css_classes(["title"])
.single_line_mode(true)