Unused code

This commit is contained in:
Sanel Zukan 2011-10-26 16:06:25 +00:00
parent 706ef69bfa
commit dc27ca1364

View File

@ -96,15 +96,6 @@ void Tray::register_notification_area(void) {
Fl::add_handler(handle_xevent); 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) { void Tray::embed_window(Window id) {
TrayWindow *win = new TrayWindow(25, 25); TrayWindow *win = new TrayWindow(25, 25);
win->end(); win->end();