summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-08-17 06:59:22 (GMT)
committerhj kim <backto.kim@samsung.com>2017-08-17 07:12:20 (GMT)
commit51faec4d848b9cd7a5d53a61899942e44749ef7e (patch)
tree43deec31a73e1b00bc8f645945792d670ee3c0fe /src
parent360b4a11fd2d80a7949dcf1c1a9e387648ce059e (diff)
downloadlibmedia-thumbnail-51faec4d848b9cd7a5d53a61899942e44749ef7e.zip
libmedia-thumbnail-51faec4d848b9cd7a5d53a61899942e44749ef7e.tar.gz
libmedia-thumbnail-51faec4d848b9cd7a5d53a61899942e44749ef7e.tar.bz2
Change storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e)refs/changes/54/144554/2
Change-Id: Ib5d84168558cb28f1b0b4105ca3d62c4aed01796 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/media-thumb-internal.c2
-rwxr-xr-xsrc/media-thumbnail.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index e359e91..a995d9c 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -1130,7 +1130,7 @@ int _media_thumb_get_hash_name(const char *file_full_path, char *thumb_hash_path
char file_ext[255] = { 0 };
char *get_path = NULL;
int ret_len = 0;
- ms_user_storage_type_t store_type = -1;
+ ms_user_storage_type_e store_type = -1;
int ret = MS_MEDIA_ERR_NONE;
if (file_full_path == NULL || thumb_hash_path == NULL || max_thumb_path <= 0) {
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c
index d481eed..8a4645f 100755
--- a/src/media-thumbnail.c
+++ b/src/media-thumbnail.c
@@ -46,7 +46,7 @@ int thumbnail_request_from_db(const char *origin_path, char *thumb_path, int max
return MS_MEDIA_ERR_INVALID_PARAMETER;
}
- ms_user_storage_type_t store_type = -1;
+ ms_user_storage_type_e store_type = -1;
err = ms_user_get_storage_type(uid, origin_path, &store_type);
if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) {
@@ -80,7 +80,7 @@ int thumbnail_request_from_db_async(unsigned int request_id, const char *origin_
return MS_MEDIA_ERR_INVALID_PARAMETER;
}
- ms_user_storage_type_t store_type = -1;
+ ms_user_storage_type_e store_type = -1;
err = ms_user_get_storage_type(uid, origin_path, &store_type);
if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) {