revert stringshare code for e_hal

SVN revision: 48673
This commit is contained in:
Sebastian Dransfeld 2010-05-07 18:07:11 +00:00
parent c5109d9b59
commit 6c19119975
1 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@ _battery_dbus_battery_props(void *data, void *reply_data, DBusError *error __UNU
str = e_hal_property_string_get(ret, s, &err); \
if (str) \
{ \
hbat->val = str; \
hbat->val = eina_stringshare_add(str); \
}
GET_BOOL(present, "battery.present");
@ -613,7 +613,7 @@ _battery_dbus_ac_adapter_props(void *data, void *reply_data, DBusError *error __
str = e_hal_property_string_get(ret, s, &err); \
if (str) \
{ \
hac->val = str; \
hac->val = eina_stringshare_add(str); \
}
GET_BOOL(present, "ac_adapter.present");