[P161229-02068] Removed unsed code in device rotaion 63/108463/1
authorRahul Dadhich <r.dadhich@samsung.com>
Tue, 3 Jan 2017 05:23:05 +0000 (10:53 +0530)
committerRahul Dadhich <r.dadhich@samsung.com>
Wed, 4 Jan 2017 11:04:07 +0000 (03:04 -0800)
Change-Id: I3f8d60e5d5d85bb844683de33c32ccf18bc8385d
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
(cherry picked from commit 883b5d052b9e115a52dd8c06f1c6bd4545fed0ed)

src/gallery-efl.c

index 027c0d7..846cd64 100644 (file)
@@ -101,15 +101,6 @@ static void __ge_win_rot_changed_cb(void *data, Evas_Object * obj,
                ugd->rotate_mode = evt;
        }
 
-       /* Update rotate mode and view */
-       int len = eina_list_count(ugd->rotate_cbs);
-       ge_rotate_view_cb rotate_cb = eina_list_nth(ugd->rotate_cbs, len - 1);
-       if (rotate_cb) {
-               ge_dbg("To rotate view");
-               rotate_cb(ugd);
-       } else {
-               ge_dbgE("None callbacks exists[%d]!", len);
-       }
 }
 
 static int _ge_init_view(ge_ugdata * ugd)