don't use ethumb if no path was set yet.

SVN revision: 53235
This commit is contained in:
Gustavo Sverzut Barbieri 2010-10-09 18:43:03 +00:00
parent 6f8f4d7a00
commit 6a10964414
1 changed files with 2 additions and 0 deletions

View File

@ -251,6 +251,8 @@ _thumb_apply(Widget_Data *wd)
wd->thumb.id = -1;
}
if (!wd->file) return;
ethumb_client_file_set(_elm_ethumb_client, wd->file, wd->key);
if (ethumb_client_thumb_exists(_elm_ethumb_client))
{