mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
return uncovered struct
This commit is contained in:
parent
01a3e57a09
commit
a1d477ddce
1 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
use gtk::glib::GString;
|
||||
use std::cell::RefCell;
|
||||
|
||||
pub enum Mime {
|
||||
Undefined,
|
||||
|
|
@ -15,12 +14,12 @@ pub struct Meta {
|
|||
}
|
||||
|
||||
impl Meta {
|
||||
pub fn new() -> RefCell<Meta> {
|
||||
RefCell::new(Self {
|
||||
pub fn new() -> Meta {
|
||||
Self {
|
||||
title: GString::new(),
|
||||
description: GString::new(),
|
||||
mime: Mime::Undefined,
|
||||
progress_fraction: 0.0,
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue