Change storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e) 54/144554/2
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 17 Aug 2017 06:59:22 +0000 (15:59 +0900)
committerhj kim <backto.kim@samsung.com>
Thu, 17 Aug 2017 07:12:20 +0000 (07:12 +0000)
Change-Id: Ib5d84168558cb28f1b0b4105ca3d62c4aed01796
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/media-thumb-internal.c
src/media-thumbnail.c

index e359e91..a995d9c 100755 (executable)
@@ -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) {
index d481eed..8a4645f 100755 (executable)
@@ -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))) {