ensure gadcon class is populated before trying to create a client for it

SVN revision: 74507
This commit is contained in:
Mike Blumenkrantz 2012-07-27 15:30:36 +00:00
parent adfa2b1db1
commit 4ffafd3313
1 changed files with 8 additions and 0 deletions

View File

@ -506,6 +506,14 @@ e_gadcon_populate(E_Gadcon *gc)
if (!cf_gcc->name) continue;
cc = eina_hash_find(providers, cf_gcc->name);
if (cc)
{
if (!eina_list_data_find(gc->populated_classes, cc))
{
_e_gadcon_provider_populate_request(gc, cc);
cc = NULL;
}
}
if (cc)
{
ret = _e_gadcon_client_populate(gc, cc, cf_gcc);