From dc27ca1364b3c54cb92218810aa9c342187655a2 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Wed, 26 Oct 2011 16:06:25 +0000 Subject: [PATCH] Unused code --- ede-panel/applets/system-tray/Tray.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ede-panel/applets/system-tray/Tray.cpp b/ede-panel/applets/system-tray/Tray.cpp index 227bae9..9a742b7 100644 --- a/ede-panel/applets/system-tray/Tray.cpp +++ b/ede-panel/applets/system-tray/Tray.cpp @@ -96,15 +96,6 @@ void Tray::register_notification_area(void) { Fl::add_handler(handle_xevent); } -static int get_parent(Window id, Window *parent) { - Window root, *children = 0; - unsigned int nchildren; - int s = XQueryTree(fl_display, id, &root, parent, &children, &nchildren); - if(s && children); - XFree(children); - return s; -} - void Tray::embed_window(Window id) { TrayWindow *win = new TrayWindow(25, 25); win->end();