From d1719e58363a554bc6c2f8437a2a356ed8775273 Mon Sep 17 00:00:00 2001 From: rootiest Date: Mon, 3 Aug 2026 21:42:55 -0400 Subject: [PATCH] fix: clean up unused variables and imports --- src/ui/editor.rs | 1 - src/ui/picker.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ui/editor.rs b/src/ui/editor.rs index 58c5353..899620d 100644 --- a/src/ui/editor.rs +++ b/src/ui/editor.rs @@ -120,7 +120,6 @@ pub fn build_editor_page( let composite = Rc::clone(&composite); let swatches_box = swatches_box.clone(); let refresh_preview = refresh_preview.clone(); - let rebuild_swatches_for_closure = Rc::clone(&rebuild_swatches); let build_fn = move || { while let Some(child) = swatches_box.first_child() { diff --git a/src/ui/picker.rs b/src/ui/picker.rs index 945360d..f013ad6 100644 --- a/src/ui/picker.rs +++ b/src/ui/picker.rs @@ -1,5 +1,4 @@ use crate::icon_index::{filter_icons, list_svg_icons}; -use gtk::glib; use gtk::prelude::*; use gtk::{Box as GtkBox, FlowBox, Label, Orientation, Picture, ScrolledWindow, SearchEntry}; use std::cell::RefCell;