removed unnecessary module definitions
This commit is contained in:
@@ -1,23 +1,18 @@
|
||||
pub mod wrapper_module {
|
||||
use gtk4 as gtk;
|
||||
|
||||
use gtk4 as gtk;
|
||||
use gtk::{Orientation, builders::BoxBuilder, Box};
|
||||
|
||||
use gtk::{Orientation, builders::BoxBuilder, Box};
|
||||
#[allow(dead_code)]
|
||||
pub struct Wrapper;
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct Wrapper;
|
||||
|
||||
impl Wrapper{
|
||||
|
||||
pub fn row_builder() -> BoxBuilder {
|
||||
Box::builder().orientation(Orientation::Vertical)
|
||||
}
|
||||
|
||||
pub fn col_builder() -> BoxBuilder {
|
||||
Box::builder().orientation(Orientation::Horizontal)
|
||||
}
|
||||
impl Wrapper{
|
||||
|
||||
pub fn row_builder() -> BoxBuilder {
|
||||
Box::builder().orientation(Orientation::Vertical)
|
||||
}
|
||||
|
||||
}
|
||||
pub fn col_builder() -> BoxBuilder {
|
||||
Box::builder().orientation(Orientation::Horizontal)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user