projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09e917
)
e: use stringshare_replace in window_border_set
author
Boris Faure
<billiob@gmail.com>
Wed, 16 Feb 2011 09:07:44 +0000
(09:07 +0000)
committer
Boris Faure
<billiob@gmail.com>
Wed, 16 Feb 2011 09:07:44 +0000
(09:07 +0000)
SVN revision: 57077
src/bin/e_actions.c
patch
|
blob
|
history
diff --git
a/src/bin/e_actions.c
b/src/bin/e_actions.c
index
fa20197
..
28ac1bb
100644
(file)
--- a/
src/bin/e_actions.c
+++ b/
src/bin/e_actions.c
@@
-781,8
+781,9
@@
ACT_FN_GO(window_border_set, __UNUSED__)
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;
}