Comment out unused code.
authorLaurent Monin <geeqie@norz.org>
Sat, 5 Apr 2008 11:59:29 +0000 (11:59 +0000)
committerLaurent Monin <geeqie@norz.org>
Sat, 5 Apr 2008 11:59:29 +0000 (11:59 +0000)
Geeqie code now compiles cleanly with -Wall gcc option.

src/collect.c
src/dupe.c
src/view_file_list.c

index f1386d7..7542a29 100644 (file)
@@ -704,7 +704,7 @@ gint collection_rename(CollectionData *cd, FileData *fd)
 {
        CollectInfo *ci;
        const gchar *source = fd->change->source;
-       const gchar *dest = fd->change->dest;
+//     const gchar *dest = fd->change->dest;
        ci = collection_list_find(cd->list, source);
 
        if (!ci) return FALSE;
index 307f811..6d387f5 100644 (file)
@@ -321,6 +321,7 @@ static void dupe_list_free(GList *list)
        g_list_free(list);
 }
 
+/*
 static DupeItem *dupe_item_find_fd_by_list(FileData *fd, GList *work)
 {
        while (work)
@@ -334,7 +335,9 @@ static DupeItem *dupe_item_find_fd_by_list(FileData *fd, GList *work)
 
        return NULL;
 }
+*/
 
+/*
 static DupeItem *dupe_item_find_fd(DupeWindow *dw, FileData *fd)
 {
        DupeItem *di;
@@ -344,6 +347,7 @@ static DupeItem *dupe_item_find_fd(DupeWindow *dw, FileData *fd)
 
        return di;
 }
+*/
 
 static DupeItem *dupe_item_find_path_by_list(const gchar *path, GList *work)
 {
index 1e8ad5b..4f2968e 100644 (file)
@@ -104,6 +104,7 @@ static gint vflist_find_row(ViewFileList *vfl, FileData *fd, GtkTreeIter *iter)
 }
 
 
+/*
 static gint vflist_find_sidecar_list_idx(GList *work, FileData *fd)
 {
        gint i = 0;
@@ -127,6 +128,7 @@ static gint vflist_find_sidecar_list_idx(GList *work, FileData *fd)
                }
        return -1;
 }
+*/
 
 static gint vflist_sidecar_list_count(GList *work)
 {
@@ -921,11 +923,13 @@ static gboolean vflist_select_cb(GtkTreeSelection *selection, GtkTreeModel *stor
  *-----------------------------------------------------------------------------
  */
 
+/*
 static gboolean vflist_dummy_select_cb(GtkTreeSelection *selection, GtkTreeModel *store, GtkTreePath *tpath,
                                        gboolean path_currently_selected, gpointer data)
 {
        return TRUE;
 }
+*/
 
 
 static void vflist_setup_iter(ViewFileList *vfl, GtkTreeStore *store, GtkTreeIter *iter, FileData *fd)