forked from enlightenment/efl
edje edit - clarify src a bit better (change no logic)
This commit is contained in:
parent
3eb9e586ef
commit
6682add15d
|
@ -3801,13 +3801,13 @@ edje_edit_part_source_set(Evas_Object *obj, const char *part, const char *source
|
|||
// this fall through case is intentional
|
||||
case EDJE_PART_TYPE_TEXTBLOCK:
|
||||
_edje_if_string_free(ed, rp->part->source);
|
||||
if (source)
|
||||
rp->part->source = eina_stringshare_add(source);
|
||||
else
|
||||
rp->part->source = NULL;
|
||||
if (source) rp->part->source = eina_stringshare_add(source);
|
||||
else rp->part->source = NULL;
|
||||
return EINA_TRUE;
|
||||
case EDJE_PART_TYPE_EXTERNAL: //EXTERNAL part has source property but it cannot be changed
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue