On Thu, Apr 1, 2010 at 10:48 AM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > Use item->label in places where we can. I don't know how this was > overlooked all this time. This fixes a bug where getting item->label > was always returning NULL. > > Can someone please check the eina_stringshare usage here ? Thanks :) > + if (si) > + { > + if (si->label) eina_stringshare_del(si->label); > + si->label = eina_stringshare_add(label); > + edje_object_part_text_set(si->o_base, "e.text.label", label); > + }
if (eina_stringshare_replace(&si->label, label)) edje_object_part_text_set(si->o_base, "e.text.label", label); -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel