From 24a2c54ec840eb34db6bef060e80a0172b90c8bd Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 15 Oct 2014 21:26:38 +0100 Subject: There's no reason to connect thumbnails with windows. --- monkey/thumbnail.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'monkey/thumbnail.c') diff --git a/monkey/thumbnail.c b/monkey/thumbnail.c index e558c2b31..bc78aca2d 100644 --- a/monkey/thumbnail.c +++ b/monkey/thumbnail.c @@ -22,11 +22,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, nsurl *url) { - struct gui_window *win = monkey_find_window_by_content(content); - if (win == NULL) { - fprintf(stdout, "GENERIC THUMBNAIL URL %s\n", nsurl_access(url)); - } else { - fprintf(stdout, "WINDOW THUMBNAIL WIN %u URL %s\n", win->win_num, nsurl_access(url)); - } + fprintf(stdout, "GENERIC THUMBNAIL URL %s\n", nsurl_access(url)); return false; } -- cgit v1.2.3