return uncovered struct

This commit is contained in:
yggverse 2024-09-26 00:07:49 +03:00
parent 01a3e57a09
commit a1d477ddce

View File

@ -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,
})
}
}
}