diff --git a/hammond-gtk/src/widgets/episode.rs b/hammond-gtk/src/widgets/episode.rs index 9773b05..4ec1162 100644 --- a/hammond-gtk/src/widgets/episode.rs +++ b/hammond-gtk/src/widgets/episode.rs @@ -51,6 +51,12 @@ struct Title { state: S, } +impl Title { + fn set_title(&self, s: &str) { + self.title.set_text(s); + } +} + impl Title { fn new(title: gtk::Label) -> Self { Title { @@ -58,16 +64,6 @@ impl Title { state: Normal {}, } } - - fn set_title(&self, s: &str) { - self.title.set_text(s); - } -} - -impl Title { - fn set_title(&self, s: &str) { - self.title.set_text(s); - } } impl From> for Title {