mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra members
This commit is contained in:
parent
70dfac115f
commit
6d84ee5cfe
2 changed files with 2 additions and 7 deletions
|
|
@ -215,7 +215,7 @@ impl Reader {
|
|||
.wrap_mode(WrapMode::Word)
|
||||
.build();
|
||||
|
||||
if !tag.add(&a) {
|
||||
if !tag.text_tag_table.add(&a) {
|
||||
panic!() // @TODO handle
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ use list::List;
|
|||
use quote::Quote;
|
||||
use title::Title;
|
||||
|
||||
use gtk::{TextTag, TextTagTable};
|
||||
use gtk::TextTagTable;
|
||||
|
||||
pub struct Tag {
|
||||
pub text_tag_table: TextTagTable,
|
||||
|
|
@ -63,9 +63,4 @@ impl Tag {
|
|||
title,
|
||||
}
|
||||
}
|
||||
|
||||
// Actions
|
||||
pub fn add(&self, text_tag: &TextTag) -> bool {
|
||||
self.text_tag_table.add(text_tag)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue