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

View File

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