Fix a bug that causes a segfault by not being to find a path for thumbing.

SVN revision: 56683
This commit is contained in:
titan 2011-02-03 19:41:55 +00:00 committed by titan
parent 6a5164fae8
commit 504a0babcf
1 changed files with 4 additions and 1 deletions

View File

@ -110,10 +110,13 @@ ephoto_thumb_browser_show(void)
void
ephoto_thumb_browser_thumb_append(const char *file)
{
char *f;
const Elm_Gengrid_Item_Class *egic;
f = strdup(file);
egic = &_ephoto_thumbnail_class;
elm_gengrid_item_append(etb->grid, egic, file, NULL, NULL);
elm_gengrid_item_append(etb->grid, egic, f, NULL, NULL);
}
static Evas_Object *