rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=03b2e0668cfb358d2728bf4e1ad6b8cf09d8875e

commit 03b2e0668cfb358d2728bf4e1ad6b8cf09d8875e
Author: Vyacheslav Reutskiy <[email protected]>
Date:   Fri Jun 17 10:56:15 2016 +0300

    project manager: fix compile warnings
    
    Just fix all warnings was added in 5435b55e0e13c64afc0764cd874e88b72a244953
    
    Change-Id: If027345c04269290aea08e4d3a27851dcb894992
---
 src/bin/ui/project_close.c                            | 2 +-
 src/bin/ui/project_common.c                           | 2 +-
 src/bin/ui/project_common.h                           | 2 +-
 src/bin/ui/tab_home_common.c                          | 7 ++++---
 tests/test_project_manager/pm_project_close.c         | 3 ++-
 tests/test_project_manager/pm_project_import_edc.c    | 6 ++++--
 tests/test_project_manager/pm_project_import_edj.c    | 6 ++++--
 tests/test_project_manager/pm_project_meta_data_get.c | 3 ++-
 tests/test_project_manager/pm_project_meta_data_set.c | 3 ++-
 tests/test_project_manager/pm_project_open.c          | 3 ++-
 tests/test_project_manager/pm_project_save.c          | 4 +++-
 tests/test_project_manager/pm_project_thread_cancel.c | 3 ++-
 tests/test_project_manager/pm_project_thread_free.c   | 3 ++-
 13 files changed, 30 insertions(+), 17 deletions(-)

diff --git a/src/bin/ui/project_close.c b/src/bin/ui/project_close.c
index ebb60b2..372334d 100644
--- a/src/bin/ui/project_close.c
+++ b/src/bin/ui/project_close.c
@@ -31,7 +31,7 @@ _progress_print(void *data __UNUSED__, Eina_Stringshare 
*progress_string)
 }
 
 static void
-_progress_end(void *data __UNUSED__, PM_Project_Result result)
+_progress_end(void *data __UNUSED__, PM_Project_Result result, Eina_List 
*widgets __UNUSED__)
 {
 
    switch (result)
diff --git a/src/bin/ui/project_common.c b/src/bin/ui/project_common.c
index c244ed9..e6f1531 100644
--- a/src/bin/ui/project_common.c
+++ b/src/bin/ui/project_common.c
@@ -68,7 +68,7 @@ progress_print(void *data __UNUSED__, Eina_Stringshare 
*progress_string)
 }
 
 void
-progress_end(void *data __UNUSED__, PM_Project_Result result)
+progress_end(void *data __UNUSED__, PM_Project_Result result, Eina_List 
*widgets __UNUSED__)
 {
    switch (result)
      {
diff --git a/src/bin/ui/project_common.h b/src/bin/ui/project_common.h
index c0d44a7..33e17f7 100644
--- a/src/bin/ui/project_common.h
+++ b/src/bin/ui/project_common.h
@@ -27,6 +27,6 @@ Eina_Bool
 progress_print(void *data, Eina_Stringshare *progress_string);
 
 void
-progress_end(void *data, PM_Project_Result result);
+progress_end(void *data, PM_Project_Result result, Eina_List *widgets);
 
 #endif /* PROJECT_COMMON_H */
diff --git a/src/bin/ui/tab_home_common.c b/src/bin/ui/tab_home_common.c
index 8482bd5..c0d112b 100644
--- a/src/bin/ui/tab_home_common.c
+++ b/src/bin/ui/tab_home_common.c
@@ -91,6 +91,7 @@ entry_path_set(void *data,
    return true;
 }
 
+void
 _group_copy(Project *pro, Eina_List *widgets)
 {
    Eina_List *collections, *prefixs, *wl, *sl, *cl, *gl;
@@ -131,13 +132,13 @@ _tabs_progress_end(void *data, PM_Project_Result result, 
Eina_List *widgets)
 
    if (PM_PROJECT_LOCKED == result)
      {
-        progress_end(data, result);
+        progress_end(data, result, NULL);
         popup_want_action(_("File is locked"), _("File locked by another 
application"), NULL, NULL, BTN_OK, NULL, NULL);
         return;
      }
    if (PM_PROJECT_ERROR == result)
      {
-        progress_end(data, result);
+        progress_end(data, result, NULL);
         popup_want_action(_("File opening error"), _("Unknown problem with 
file appeared.<br>"
                                                      "(wrong file, filesystem 
error, no memory, etc)"), NULL, NULL, BTN_OK, NULL, NULL);
         return;
@@ -160,7 +161,7 @@ _tabs_progress_end(void *data, PM_Project_Result result, 
Eina_List *widgets)
    _tab_open_project_recents_update();
    evas_object_smart_callback_call(ap.win, SIGNAL_PROJECT_OPENED, NULL);
 
-   progress_end(data, result);
+   progress_end(data, result, NULL);
 }
 
 void
diff --git a/tests/test_project_manager/pm_project_close.c 
b/tests/test_project_manager/pm_project_close.c
index 0897fa3..4c69597 100644
--- a/tests/test_project_manager/pm_project_close.c
+++ b/tests/test_project_manager/pm_project_close.c
@@ -54,7 +54,8 @@
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result __UNUSED__)
+             PM_Project_Result result __UNUSED__,
+             Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }
diff --git a/tests/test_project_manager/pm_project_import_edc.c 
b/tests/test_project_manager/pm_project_import_edc.c
index 4e9ada3..b68b02d 100644
--- a/tests/test_project_manager/pm_project_import_edc.c
+++ b/tests/test_project_manager/pm_project_import_edc.c
@@ -56,7 +56,8 @@ Eina_Bool res;
  */
 static void
 _test_end_p1_cb(void *data __UNUSED__,
-                PM_Project_Result result __UNUSED__)
+                PM_Project_Result result __UNUSED__,
+                Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }
@@ -108,7 +109,8 @@ END_TEST
  */
 static void
 _test_end_p2_cb(void *data __UNUSED__,
-                PM_Project_Result result __UNUSED__)
+                PM_Project_Result result __UNUSED__,
+                Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }
diff --git a/tests/test_project_manager/pm_project_import_edj.c 
b/tests/test_project_manager/pm_project_import_edj.c
index 216a412..435f7e4 100644
--- a/tests/test_project_manager/pm_project_import_edj.c
+++ b/tests/test_project_manager/pm_project_import_edj.c
@@ -56,7 +56,8 @@ static Eina_Bool res;
 
 static void
 _end_cb(void *data __UNUSED__,
-        PM_Project_Result result __UNUSED__)
+        PM_Project_Result result __UNUSED__,
+        Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }
@@ -160,7 +161,8 @@ END_TEST
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result)
+             PM_Project_Result result,
+             Eina_List *widgets __UNUSED__)
 {
    if (result == PM_PROJECT_SUCCESS)
      res = EINA_TRUE;
diff --git a/tests/test_project_manager/pm_project_meta_data_get.c 
b/tests/test_project_manager/pm_project_meta_data_get.c
index e123b34..34f6b03 100644
--- a/tests/test_project_manager/pm_project_meta_data_get.c
+++ b/tests/test_project_manager/pm_project_meta_data_get.c
@@ -53,7 +53,8 @@
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result __UNUSED__)
+             PM_Project_Result result __UNUSED__,
+             Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }
diff --git a/tests/test_project_manager/pm_project_meta_data_set.c 
b/tests/test_project_manager/pm_project_meta_data_set.c
index 8830305..22eb6b9 100644
--- a/tests/test_project_manager/pm_project_meta_data_set.c
+++ b/tests/test_project_manager/pm_project_meta_data_set.c
@@ -54,7 +54,8 @@
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result __UNUSED__)
+             PM_Project_Result result __UNUSED__,
+             Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }
diff --git a/tests/test_project_manager/pm_project_open.c 
b/tests/test_project_manager/pm_project_open.c
index 6ae6586..84b876b 100644
--- a/tests/test_project_manager/pm_project_open.c
+++ b/tests/test_project_manager/pm_project_open.c
@@ -53,7 +53,8 @@
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result __UNUSED__)
+             PM_Project_Result result __UNUSED__,
+             Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }
diff --git a/tests/test_project_manager/pm_project_save.c 
b/tests/test_project_manager/pm_project_save.c
index 40fc464..886eb1a 100644
--- a/tests/test_project_manager/pm_project_save.c
+++ b/tests/test_project_manager/pm_project_save.c
@@ -56,7 +56,9 @@
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result __UNUSED__)
+             PM_Project_Result result __UNUSED__,
+             Eina_List *widgets __UNUSED__)
+
 {
    ecore_main_loop_quit();
 }
diff --git a/tests/test_project_manager/pm_project_thread_cancel.c 
b/tests/test_project_manager/pm_project_thread_cancel.c
index 7b4c4dd..e94b230 100644
--- a/tests/test_project_manager/pm_project_thread_cancel.c
+++ b/tests/test_project_manager/pm_project_thread_cancel.c
@@ -55,7 +55,8 @@ static Eina_Bool res;
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result)
+             PM_Project_Result result,
+             Eina_List *widgets __UNUSED__)
 {
    if (result == PM_PROJECT_CANCEL)
      res = EINA_TRUE;
diff --git a/tests/test_project_manager/pm_project_thread_free.c 
b/tests/test_project_manager/pm_project_thread_free.c
index ae52b0b..b50147f 100644
--- a/tests/test_project_manager/pm_project_thread_free.c
+++ b/tests/test_project_manager/pm_project_thread_free.c
@@ -53,7 +53,8 @@
  */
 static void
 _test_end_cb(void *data __UNUSED__,
-             PM_Project_Result result __UNUSED__)
+             PM_Project_Result result __UNUSED__,
+             Eina_List *widgets __UNUSED__)
 {
    ecore_main_loop_quit();
 }

-- 


Reply via email to