[easytag/wip/core-refactoring] Remove unused displayed list function
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/core-refactoring] Remove unused displayed list function
- Date: Wed, 7 Jan 2015 21:05:03 +0000 (UTC)
commit 976624ef18754ddfa0e01be5e49c01b37b03f780
Author: David King <amigadave amigadave com>
Date: Wed Jan 7 20:46:44 2015 +0000
Remove unused displayed list function
src/file_list.c | 27 ---------------------------
src/file_list.h | 1 -
2 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/src/file_list.c b/src/file_list.c
index a3c82e0..7c992b0 100644
--- a/src/file_list.c
+++ b/src/file_list.c
@@ -1064,33 +1064,6 @@ ET_Sort_File_List (GList *ETFileList,
}
/*
- * Sort the list of files following the 'Sorting_Type' value. The new sorting is displayed in the UI.
- */
-void
-ET_Sort_Displayed_File_List_And_Update_UI (EtSortMode Sorting_Type)
-{
- g_return_if_fail (ETCore->ETFileList != NULL);
-
- ET_Save_File_Data_From_UI(ETCore->ETFileDisplayed);
-
- /* Sort the list */
- ET_Sort_Displayed_File_List(Sorting_Type);
-
- /* To number the ETFile in the list */
- ET_Displayed_File_List_Number();
-
- /* Reload files in browser list */
- ET_Displayed_File_List_By_Etfile(ETCore->ETFileDisplayed); // Just to update 'ETFileDisplayedList'
- et_application_window_browser_select_file_by_et_file (ET_APPLICATION_WINDOW (MainWindow),
- ETCore->ETFileDisplayed,
- TRUE);
- ET_Display_File_Data_To_UI(ETCore->ETFileDisplayed);
-
- et_application_window_browser_refresh_sort (ET_APPLICATION_WINDOW (MainWindow));
- et_application_window_update_actions (ET_APPLICATION_WINDOW (MainWindow));
-}
-
-/*
* Returns the first item of the "displayed list"
*/
GList *
diff --git a/src/file_list.h b/src/file_list.h
index 2d5a44f..49c199b 100644
--- a/src/file_list.h
+++ b/src/file_list.h
@@ -57,7 +57,6 @@ guint ET_Get_Number_Of_Files_In_Directory (const gchar *path_utf8);
GList *ET_Sort_File_List (GList *ETFileList, EtSortMode Sorting_Type);
void ET_Sort_Displayed_File_List (EtSortMode Sorting_Type);
-void ET_Sort_Displayed_File_List_And_Update_UI (EtSortMode Sorting_Type);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]