fix prevent
authorJisung Ahn <jcastle.ahn@samsung.com>
Fri, 21 Dec 2012 07:29:39 +0000 (16:29 +0900)
committerJisung Ahn <jcastle.ahn@samsung.com>
Fri, 21 Dec 2012 07:29:39 +0000 (16:29 +0900)
Change-Id: I0a0a80b71aafd4f4467f8c49e11aef09f5387b29

slideshow/src/control/ivug-slideshow.cpp

index be98380..5af4b8a 100755 (executable)
@@ -565,21 +565,6 @@ _ivug_ss_photocam_loaded_cb(void *data, Evas_Object *obj, void *event_info)
        Evas_Load_Error error = static_cast<Evas_Load_Error>(reinterpret_cast<int>(event_info));
        if ( error != EVAS_LOAD_ERROR_NONE )
        {
-               MSG_ERROR("Image loading failed. Error=%d File=%s", error, mdata->filepath);
-
-               Slide_Layout *sLyCurrent = &pSlideShow->sLayout[pSlideShow->sCurrent];
-               Slide_Layout *sLyNext = &pSlideShow->sLayout[(pSlideShow->sCurrent + 1) % 2];
-
-               Media_Item *next = NULL;
-
-               next = ivug_ss_get_next_item(pSlideShow->media_list,
-                               pSlideShow->ss_Header,
-                               sLyCurrent->mitem,
-                               pSlideShow->ss_mode);
-
-               _ivug_ss_set_content(sLyNext, next);
-               return;
-
                MSG_HIGH("Photocam Pre-loaded. File=%s", ivug_get_filename(mdata->filepath));
                MSG_SITEM_ERROR("Image loading failed. Error=%d File=%s",
                                error, mdata->filepath);