migration: fix part_content_set problem in floating button
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 5 Jun 2018 10:01:33 +0000 (19:01 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 5 Jun 2018 10:07:18 +0000 (19:07 +0900)
part_content_set did not work because of efl_part_get in floating button.
This patch replaces efl_part with efl_part_get to apply
3a167f4ced8b20e31d55df422d9252b3ba11bfe1

Change-Id: I8a4f6c9ffe6948d2f7d0068c3768cdea1006f85c

src/mobile/eext_floatingbutton.c

index 7166f6e3c63786ea6a3f11546cb39fea1a0d7a80..12ad9e82a61ff02bbe0f0a1949fd1e149a898d47 100644 (file)
@@ -814,7 +814,7 @@ EOLIAN Eo *
 _eext_floatingbutton_efl_part_part_get(const Eo *obj, Eext_Floatingbutton_Data *sd EINA_UNUSED, const char *part)
 {
    if ((!part) || ((strcmp(part, BTN1_PART)) && (strcmp(part, BTN2_PART))))
-     return efl_part(efl_super(obj, MY_CLASS), part);
+     return efl_part_get(efl_super(obj, MY_CLASS), part);
 
    return efl_add(EEXT_FLOATINGBUTTON_PART_CONTENT_CLASS, (Eo *) obj,
                   _eext_floatingbutton_part_initialize(efl_added, (Eo *) obj, part));