mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-28 12:04:13 +00:00
remove extra dependencies
This commit is contained in:
parent
93602322a4
commit
16d5daa1e1
@ -317,7 +317,6 @@ impl Reader {
|
||||
|
||||
// Init widget
|
||||
let widget = Rc::new(Widget::new(
|
||||
&window_action,
|
||||
&buffer,
|
||||
&primary_button_controller,
|
||||
&middle_button_controller,
|
||||
|
@ -1,6 +1,3 @@
|
||||
use std::rc::Rc;
|
||||
|
||||
use super::WindowAction;
|
||||
use gtk::{
|
||||
prelude::WidgetExt, EventControllerMotion, GestureClick, TextBuffer, TextView, WrapMode,
|
||||
};
|
||||
@ -16,7 +13,6 @@ impl Widget {
|
||||
|
||||
/// Create new `Self`
|
||||
pub fn new(
|
||||
action: &WindowAction,
|
||||
buffer: &TextBuffer,
|
||||
primary_button_controller: &GestureClick,
|
||||
middle_button_controller: &GestureClick,
|
||||
|
Loading…
x
Reference in New Issue
Block a user