From 6548f753a5bfe5d47c901c76dee8750f3fa7f615 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 15 Oct 2014 21:28:40 +0100 Subject: Don't need content to window conversion. --- monkey/browser.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/monkey/browser.c b/monkey/browser.c index 0e488c578..c0154b6bb 100644 --- a/monkey/browser.c +++ b/monkey/browser.c @@ -49,21 +49,6 @@ monkey_find_window_by_num(uint32_t win_num) return ret; } -struct gui_window * -monkey_find_window_by_content(hlcache_handle *content) -{ - struct gui_window *ret = NULL; - - RING_ITERATE_START(struct gui_window, gw_ring, c_ring) { - if (c_ring->bw->current_content == content) { - ret = c_ring; - RING_ITERATE_STOP(gw_ring, c_ring); - } - } RING_ITERATE_END(gw_ring, c_ring); - - return ret; -} - /** * callback from core to reformat a window. -- cgit v1.2.3