rename container constructors

This commit is contained in:
yggverse 2024-10-08 06:38:37 +03:00
parent e514312f84
commit 0a0d7b0481
8 changed files with 12 additions and 11 deletions

View file

@ -10,7 +10,7 @@ pub struct Widget {
impl Widget {
// Construct
pub fn new(name: GString, pin: &Image, title: &Label) -> Arc<Self> {
pub fn new_arc(name: GString, pin: &Image, title: &Label) -> Arc<Self> {
let gobject = Box::builder()
.orientation(Orientation::Horizontal)
.halign(Align::Center)