summaryrefslogtreecommitdiff
path: root/src/modules/battery
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-05-13 19:40:12 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-05-13 19:40:12 +0000
commit37227823534734761358d658c3411e5defc048d7 (patch)
treef45afa93c907005993c4e637c442508bb3ad1a03 /src/modules/battery
parent818ce4694ad626f35012d12328e24cd707dbfb58 (diff)
downloadenlightenment-37227823534734761358d658c3411e5defc048d7.tar.gz
battery: stringshare string
SVN revision: 48814
Diffstat (limited to 'src/modules/battery')
-rw-r--r--src/modules/battery/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c
index 57f36d7bf3..2adab7f608 100644
--- a/src/modules/battery/e_mod_main.c
+++ b/src/modules/battery/e_mod_main.c
@@ -605,7 +605,7 @@ _battery_dbus_ac_adapter_props(void *data, void *reply_data, DBusError *error __
str = e_ukit_property_string_get(ret, s, &err); \
if (str) \
{ \
- hac->val = str; \
+ hac->val = eina_stringshare_add(str); \
}
GET_BOOL(present, "IsPresent");