e/gadman: cf->style should always be stringshared

SVN revision: 67298
This commit is contained in:
Sebastian Dransfeld 2012-01-18 22:10:54 +00:00
parent 96a38b7b0d
commit 0bd4ef0855
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ _gadman_gadget_add(const E_Gadcon_Client_Class *cc, Gadman_Layer_Type layer, E_C
}
else
{
cf->style = strdup(src_cf->style);
cf->style = eina_stringshare_add(src_cf->style);
cf->geom.pos_x = src_cf->geom.pos_x;
cf->geom.pos_y = src_cf->geom.pos_y;
cf->geom.size_w = src_cf->geom.size_w;