There's no reason to connect thumbnails with windows.

This commit is contained in:
Michael Drake 2014-10-15 21:26:38 +01:00
parent b2242c57e1
commit 24a2c54ec8

View File

@ -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;
}