Remove unused product APIs
[platform/core/api/media-content.git] / src / media_info.c
index f9d7ce5..83fbe33 100644 (file)
@@ -499,9 +499,6 @@ int media_info_destroy(media_info_h media)
        g_free(_media->thumbnail_path);
        g_free(_media->description);
        g_free(_media->title);
-#ifdef _USE_TVPD_MODE
-       g_free(_media->modified_month);
-#endif
        g_free(_media->storage_uuid);
 
        if (_media->image_meta) {
@@ -575,9 +572,6 @@ int media_info_clone(media_info_h *dst, media_info_h src)
        _dst->description = g_strdup(_src->description);
        _dst->title = g_strdup(_src->title);
        _dst->storage_uuid = g_strdup(_src->storage_uuid);
-#ifdef _USE_TVPD_MODE
-               _dst->modified_month = g_strdup(_src->modified_month);
-#endif
        _dst->media_type = _src->media_type;
        _dst->size = _src->size;
        _dst->added_time = _src->added_time;
@@ -1186,19 +1180,6 @@ int media_info_get_stitched_state(media_info_h media, int *stitched_info)
 
        return MEDIA_CONTENT_ERROR_NONE;
 }
-
-int media_info_get_modified_month(media_info_h media, char **modified_month)
-{
-       media_info_s *_media = (media_info_s*)media;
-
-       content_retip_if_fail(media);
-       content_retip_if_fail(modified_month);
-
-       *modified_month = g_strdup(_media->modified_month);
-
-       return MEDIA_CONTENT_ERROR_NONE;
-}
-
 #endif
 
 int media_info_get_media_from_db(const char *media_id, media_info_h *media)