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