mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
return Self implementation
This commit is contained in:
parent
bdad712690
commit
003486e3ed
22 changed files with 22 additions and 22 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue