diff options
author | Chandan <ch.kumar@samsung.com> | 2017-01-03 16:46:22 +0530 |
---|---|---|
committer | Chandan <ch.kumar@samsung.com> | 2017-01-03 16:47:32 +0530 |
commit | e81d77e3782a3a3ce25d78b18296ab28f02dbadd (patch) | |
tree | 637be8919d0937dad3b21cd4675699267d4ec312 | |
parent | eff02b5f93bc0c1073e04c4e35ffe5a90ae5dac6 (diff) | |
download | attach-panel-document-e81d77e3782a3a3ce25d78b18296ab28f02dbadd.tar.gz attach-panel-document-e81d77e3782a3a3ce25d78b18296ab28f02dbadd.tar.bz2 attach-panel-document-e81d77e3782a3a3ce25d78b18296ab28f02dbadd.zip |
Fixed Mediadb Issuesubmit/tizen_3.0/20170104.041913accepted/tizen/3.0/mobile/20170105.231444
Change-Id: I34f8d09d968679b1d089c741ac2a09df509a5566
Signed-off-by: Chandan <ch.kumar@samsung.com>
-rw-r--r-- | include/doc-ugdata.h | 2 | ||||
-rw-r--r-- | src/doc-db-update.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/doc-ugdata.h b/include/doc-ugdata.h index 81f8c24..a41535f 100644 --- a/include/doc-ugdata.h +++ b/include/doc-ugdata.h @@ -22,6 +22,7 @@ #include <stdio.h> #include <string.h> #include <ui-gadget-module.h> +#include <media_content.h> #include <Eina.h> #include <app.h> @@ -126,6 +127,7 @@ extern "C" { ui_gadget_h ug_called_by_me; ui_gadget_h ug; char *ug_path; + media_content_noti_h noti_handle; app_control_h service; /*added for "ug_send_result" */ Eina_List *selected_elist; Eina_Bool ck_state; diff --git a/src/doc-db-update.c b/src/doc-db-update.c index 0a2eb3d..561002a 100644 --- a/src/doc-db-update.c +++ b/src/doc-db-update.c @@ -159,7 +159,7 @@ bool doc_db_update_reg_cb(doc_ugdata * ugd) int ret = -1; doc_dbg("Set db updated callback"); - ret = media_content_set_db_updated_cb(_doc_db_update_cb, ugd); + ret = media_content_add_db_updated_cb(_doc_db_update_cb, ugd, &ugd->noti_handle); if (ret != MEDIA_CONTENT_ERROR_NONE) { doc_dbgE("Set db updated cb failed[%d]!", ret); } |