summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukHyung Kang <shine.kang@samsung.com>2019-04-25 01:24:11 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2019-04-25 01:24:11 +0000
commit5cd2f2771867b318e9e6a8f37690836fd3818467 (patch)
treebf2af4c20e8d4f3c2cd034690bf4d708e7982ded
parent62c6308d448aca69ecce3a2b0f885b61809d1f5b (diff)
parentd202c5caa0b1360b5688ad0f5640f2227fafa845 (diff)
downloadnotification-5cd2f2771867b318e9e6a8f37690836fd3818467.tar.gz
notification-5cd2f2771867b318e9e6a8f37690836fd3818467.tar.bz2
notification-5cd2f2771867b318e9e6a8f37690836fd3818467.zip
Merge "Change return value of items to get chat message information" into tizen
-rw-r--r--notification-ex/stub.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/notification-ex/stub.cc b/notification-ex/stub.cc
index 13056f8..a0ee3cf 100644
--- a/notification-ex/stub.cc
+++ b/notification-ex/stub.cc
@@ -845,7 +845,7 @@ extern "C" EXPORT_API int noti_ex_item_image_create(noti_ex_item_h *handle,
return NOTI_EX_ERROR_OUT_OF_MEMORY;
}
- *handle = new Handle(p);
+ *handle = new Handle(shared_ptr<AbstractItem>(p));
return NOTI_EX_ERROR_NONE;
}
@@ -2422,7 +2422,7 @@ extern "C" EXPORT_API int noti_ex_item_text_create(noti_ex_item_h *handle,
return NOTI_EX_ERROR_OUT_OF_MEMORY;
}
- *handle = new Handle(p);
+ *handle = new Handle(shared_ptr<AbstractItem>(p));
return NOTI_EX_ERROR_NONE;
}
@@ -2516,7 +2516,7 @@ extern "C" EXPORT_API int noti_ex_item_time_create(noti_ex_item_h *handle,
return NOTI_EX_ERROR_OUT_OF_MEMORY;
}
- *handle = new Handle(p);
+ *handle = new Handle(shared_ptr<AbstractItem>(p));
return NOTI_EX_ERROR_NONE;
}