From: Enlightenment S. <no-...@en...> - 2011-02-16 09:07:52
|
Log: e: use stringshare_replace in window_border_set Author: billiob Date: 2011-02-16 01:07:44 -0800 (Wed, 16 Feb 2011) New Revision: 57077 Trac: http://trac.enlightenment.org/e/changeset/57077 Modified: trunk/e/src/bin/e_actions.c Modified: trunk/e/src/bin/e_actions.c =================================================================== --- trunk/e/src/bin/e_actions.c 2011-02-16 05:44:01 UTC (rev 57076) +++ trunk/e/src/bin/e_actions.c 2011-02-16 09:07:44 UTC (rev 57077) @@ -781,8 +781,9 @@ if (bd && params) { if (bd->bordername) - eina_stringshare_del(bd->bordername); - bd->bordername = eina_stringshare_add(params); + eina_stringshare_replace(&bd->bordername, params); + else + bd->bordername = eina_stringshare_add(params); bd->client.border.changed = 1; bd->changed = 1; } |