From cbc943cde006fade0de1290b4191bd402d9d0e1d Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 29 Nov 2021 14:58:48 -0500 Subject: [PATCH] cleanup --- examples/gtklauncher/main.rs | 7 ++----- examples/gtklauncher/window/mod.rs | 4 ---- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/examples/gtklauncher/main.rs b/examples/gtklauncher/main.rs index 9dfc8173..584e1897 100644 --- a/examples/gtklauncher/main.rs +++ b/examples/gtklauncher/main.rs @@ -1,12 +1,9 @@ +mod application_row; mod window; -use gtk4 as gtk; -mod application_row; -use application_row::ApplicationRow; use gtk::gdk::Display; use gtk::prelude::*; -use gtk::{gio, glib}; -use libcosmic::x; +use gtk4 as gtk; use window::Window; diff --git a/examples/gtklauncher/window/mod.rs b/examples/gtklauncher/window/mod.rs index a3b5441c..b5a530cb 100644 --- a/examples/gtklauncher/window/mod.rs +++ b/examples/gtklauncher/window/mod.rs @@ -210,7 +210,6 @@ impl Window { if !win.is_active() { win.close(); } - println!("active or not lets find out..."); }); } @@ -228,9 +227,6 @@ impl Window { .unwrap() .downcast::() .unwrap(); - println!("position: {}", &list_item.position()); - println!("{}", app_info.name()); - // println!("{}", app_info.description()); let child = list_item .child()