rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=56772b5310d37d93c78a67cbfb927cd092c6fa51

commit 56772b5310d37d93c78a67cbfb927cd092c6fa51
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Tue Jan 5 11:54:05 2016 +0200

    property_group: fix incorrect stringshare deletion
---
 src/bin/ui/property_group.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/property_group.c b/src/bin/ui/property_group.c
index 5372775..6ebb3cf 100644
--- a/src/bin/ui/property_group.c
+++ b/src/bin/ui/property_group.c
@@ -3300,7 +3300,10 @@ prop_state_image_update(Group_Prop_Data *pd)
    const char *value;
    value = edje_edit_state_image_get(pd->group->edit_object STATE_ARGS);
    if (!strcmp(value, EFLETE_DUMMY_IMAGE_NAME))
-     value = _("None");
+     {
+        edje_edit_string_free(value);
+        value = eina_stringshare_add(_("None"));
+     }
    char *text = elm_entry_utf8_to_markup(value);
    if (strcmp(text, elm_entry_entry_get(pd->attributes.state_image.image)))
      elm_entry_entry_set(pd->attributes.state_image.image, text);

-- 


Reply via email to