Delete a popup name of the bundle 96/86996/1 accepted/tizen/common/20160919.154548 accepted/tizen/ivi/20160919.232047 accepted/tizen/mobile/20160919.231954 accepted/tizen/tv/20160919.232019 accepted/tizen/wearable/20160919.232032 submit/tizen/20160919.055034
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 6 Sep 2016 02:08:32 +0000 (11:08 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 6 Sep 2016 02:08:32 +0000 (11:08 +0900)
- Add calling the bundle_del()

Change-Id: I0953110725785e2b57ad9b4f9aa4e6747a1e10cd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/syspopup_core.c

index 2fbefcb..80e750a 100755 (executable)
@@ -262,6 +262,7 @@ int _syspopup_set_name_to_bundle(bundle *b, char *popup_name)
        if (b == NULL || popup_name == NULL)
                return -1;
 
+       bundle_del(b, SYSPOPUP_NAME);
        ret = bundle_add(b, SYSPOPUP_NAME, popup_name);
        if (ret != BUNDLE_ERROR_NONE)
                return -1;