summaryrefslogtreecommitdiff
path: root/monkey/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'monkey/browser.c')
-rw-r--r--monkey/browser.c15
1 files changed, 0 insertions, 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.