theme: Check the return value of _elm_theme_group_file_find() and do not
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Mon, 23 Dec 2013 05:49:50 +0000 (14:49 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Mon, 23 Dec 2013 05:50:15 +0000 (14:50 +0900)
commit44e97a3bfa4df727ca360e359f2b4f0372f12f6b
treed7a0b4e4c49d6113393ff53b10e173415efe0450
parenta0a03743ef94e82c23405c5c5d0d76f505657115
theme: Check the return value of _elm_theme_group_file_find() and do not
pass NULL to eina_file_filename_get().

eina_file_filename_get() spits unnecessary eina error when the parameter
is null. In this case, we need to check the return of
_elm_theme_group_file_find() and do not call eina_file_filename_get()
when the return is null. One should check the return of
elm_theme_group_path_find().
Thank zmike for pointing this out.
src/lib/elm_theme.c