remove extra dependencies

This commit is contained in:
yggverse 2024-12-16 12:58:43 +02:00
parent 93602322a4
commit 16d5daa1e1
2 changed files with 0 additions and 5 deletions

View File

@ -317,7 +317,6 @@ impl Reader {
// Init widget
let widget = Rc::new(Widget::new(
&window_action,
&buffer,
&primary_button_controller,
&middle_button_controller,

View File

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