Removed warning 82/49782/2
authorSheenu <sheenu.15@samsung.com>
Tue, 20 Oct 2015 09:23:36 +0000 (14:53 +0530)
committerSheenu <sheenu.15@samsung.com>
Tue, 20 Oct 2015 09:44:56 +0000 (15:14 +0530)
Change-Id: I051606e802cc88b22be7f37da90e5eb1a9deb1a1
Signed-off-by: Sheenu <sheenu.15@samsung.com>
data/myfile.edc
inc/mf-edit-view.h
src/common/mf-error.c
src/common/mf-launch.c
src/widget/mf-navi-bar.c
src/widget/mf-root-view.c
src/widget/mf-search-view.c
src/widget/mf-tray-item.c

index 4db8c91..de7b248 100644 (file)
@@ -2375,8 +2375,7 @@ group { name : "default_thumb_bg";
 
 #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_RIGHT_MIN_INC 15
 #define POPUP_CONTENT_DEFAULT_PADDING_TOP_BOTTOM_MIN_INC 27
-#define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 90
-#define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 90
+#define POPUP_VIEW_LAYOUT_CONTENT_MIN_INC 0 90
 
        group {
                name: "popup_confirmation_layout";
@@ -2387,7 +2386,7 @@ group { name : "default_thumb_bg";
                                type: SPACER;
                                description {
                                        state: "default" 0.0;
-                                       min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
+                                       min: POPUP_VIEW_LAYOUT_CONTENT_MIN_INC;
                                        fixed: 0 1;
                                }
                        }
@@ -2423,7 +2422,7 @@ group { name : "default_thumb_bg";
                                scale: 1;
                                description {
                                        state: "default" 0.0;
-                                       min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
+                                       min: POPUP_VIEW_LAYOUT_CONTENT_MIN_INC;
                                        align: 0.5 0.0;
                                        rel2 {
                                                relative: 1.0 0.0;
index 1fedf16..a213351 100755 (executable)
@@ -55,5 +55,6 @@ void mf_edit_list_item_reset(void *data);
 void mf_edit_select_all_check_set(Eina_Bool state);
 void mf_edit_view_select_all_layout_prepend(void *data);
 void mf_edit_list_item_sel_by_list_data(mf_list_data_t *selected, Evas_Object * obj,  Eina_Bool is_update_checkbox);
+void mf_edit_file_list_item_remove(void *data);
 
 #endif //__MF_EDIT_VIEW_H_DEF__
index 31956c6..4f27680 100755 (executable)
@@ -23,7 +23,7 @@ int mf_error_erron_to_mferror(int err_no)
 {
        int err = MYFILE_ERR_NONE;
        char buf[256] = {0,};
-       char const *str = strerror_r(err_no, buf, 256);
+       char *str = (char *)strerror_r(err_no, buf, 256);
        
        mf_error("err_no is [%d] error - %s", err_no, str);
        switch (err_no) {
index 7e7b52c..774254a 100755 (executable)
@@ -52,7 +52,7 @@ struct _mf_edit_sound_image_t {
        char **files;
        int count;
 };
-
+void mf_launch_add_recent_files(void *data, const char *path);
 /*
 static void __mf_launch_ug_layout_cb(ui_gadget_h ug, enum ug_mode mode, void *priv)
 {
index e1df35a..f6e4042 100755 (executable)
@@ -477,7 +477,7 @@ void mf_navi_add_back_button(void *data, Eina_Bool (*func)(void *data, Elm_Objec
        if (ap->mf_Status.view_type != mf_view_root) {
                Evas_Object *pBackButton = NULL;
                pBackButton = __mf_navi_bar_backbutton_create(ap->mf_MainWindow.pNaviBar, ap->mf_MainWindow.pWindow);
-               evas_object_smart_callback_add(pBackButton, "clicked", func, ap);
+               evas_object_smart_callback_add(pBackButton, "clicked", (Evas_Smart_Cb)func, ap);
 
                if (pBackButton) {
                        Evas_Object *unset = elm_object_item_part_content_unset(ap->mf_MainWindow.pNaviItem, "prev_btn");
index 6f2e9e2..f4287dd 100755 (executable)
@@ -478,6 +478,7 @@ void mf_root_view_append_mmc_item_after_phone(Evas_Object *parent, fsNodeInfo *p
        return;
 }
 
+#if 0 //for tizen 3.0
 static Eina_Bool __mf_root_view_launch_search(void *data)
 {
        struct appdata *ap = (struct appdata *)data;
@@ -498,6 +499,7 @@ static void mf_root_view_enter_search_routine(void *data, Evas_Object * obj, voi
        mf_ecore_idler_del(ap->mf_Status.float_button_idler);
        ap->mf_Status.float_button_idler = ecore_idler_add((Ecore_Task_Cb)__mf_root_view_launch_search, ap);
 }
+#endif
 
 void mf_root_view_create(void *data)
 {
index c3aaff6..c0d5b28 100755 (executable)
@@ -54,7 +54,6 @@ void mf_callback_category_filter_cb(void *data, Evas_Object *obj, void *event_in
 static void __mf_search_entry_text_del_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
 {
        struct appdata *ap = (struct appdata *)data;
-       Evas_Object *icon = NULL;
        if (!elm_entry_is_empty(ap->mf_MainWindow.pSearchEntry)) {
                elm_entry_entry_set(ap->mf_MainWindow.pSearchEntry, "");
        }
@@ -136,7 +135,6 @@ Evas_Object *mf_search_view_create_search_bar(Evas_Object * parent, void *data)
 
        Evas_Object *sb = NULL;
        Evas_Object *en = NULL;
-       Evas_Object *icon = NULL;
 
        sb = elm_layout_add(parent);
 
@@ -175,7 +173,7 @@ Evas_Object *mf_search_view_create_search_bar(Evas_Object * parent, void *data)
        evas_object_size_hint_weight_set(back_btn, EVAS_HINT_EXPAND, 0);
        evas_object_size_hint_align_set(back_btn, EVAS_HINT_FILL, 0.0);
        evas_object_show(back_btn);
-       evas_object_smart_callback_add(back_btn, "clicked", __mf_search_entry_text_del_cb, ap);
+       evas_object_smart_callback_add(back_btn, "clicked", (Evas_Smart_Cb)__mf_search_entry_text_del_cb, ap);
        ap->mf_MainWindow.pSearchLayout = back_btn;
 
        static Elm_Entry_Filter_Limit_Size limit_filter_data;
index e4605a3..7c96ffa 100755 (executable)
@@ -597,19 +597,6 @@ static void __mf_category_item_released(void *data, Evas_Object *o, const char *
        MF_TRACE_END;
 }
 
-static void __mf_category_all_item_clicked(void *data, Evas_Object *o, const char *emission, const char *source)
-{
-       MF_TRACE_BEGIN;
-       struct appdata *ap = (struct appdata *)mf_get_appdata();
-       if (ap->mf_Status.more == MORE_EDIT_DELETE_SHORTCUT
-           || ap->mf_Status.more == MORE_EDIT_RENAME) {
-               return;
-       }
-
-       mf_view_update(ap);
-       MF_TRACE_END;
-}
-
 static void __mf_category_recent_item_clicked(void *data, Evas_Object *o, const char *emission, const char *source)
 {
        MF_TRACE_BEGIN;