elm_thumb - Fix always false on elm_thumb_ethumb_client_get

When ethumb_client_init is called in elm_need_ethumb, the ethumb client needs to be set in order to use
elm_thumb_ethumb_client_get after calling elm_need_ethumb. spank spank raster for removing? :)
This commit is contained in:
Stephen Houston 2013-08-04 16:40:29 -05:00
parent 77c08692d9
commit e3484dcac4
1 changed files with 2 additions and 1 deletions

View File

@ -566,7 +566,8 @@ elm_need_ethumb(void)
ELM_ECORE_EVENT_ETHUMB_CONNECT = ecore_event_type_new();
ethumb_client_init();
if (!_elm_ethumb_client)
_elm_ethumb_client = ethumb_client_connect(_connect_cb, NULL, NULL);
return EINA_TRUE;
#else
return EINA_FALSE;