changeset 259:fa7d69e7d02d

Comment out unused code. Geeqie code now compiles cleanly with -Wall gcc option.
author zas_
date Sat, 05 Apr 2008 11:59:29 +0000
parents 395d7115df14
children 249a9a6cd27f
files src/collect.c src/dupe.c src/view_file_list.c
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/collect.c	Fri Apr 04 22:34:55 2008 +0000
+++ b/src/collect.c	Sat Apr 05 11:59:29 2008 +0000
@@ -704,7 +704,7 @@
 {
 	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;
--- a/src/dupe.c	Fri Apr 04 22:34:55 2008 +0000
+++ b/src/dupe.c	Sat Apr 05 11:59:29 2008 +0000
@@ -321,6 +321,7 @@
 	g_list_free(list);
 }
 
+/*
 static DupeItem *dupe_item_find_fd_by_list(FileData *fd, GList *work)
 {
 	while (work)
@@ -334,7 +335,9 @@
 
 	return NULL;
 }
-
+*/
+
+/*
 static DupeItem *dupe_item_find_fd(DupeWindow *dw, FileData *fd)
 {
 	DupeItem *di;
@@ -344,6 +347,7 @@
 
 	return di;
 }
+*/
 
 static DupeItem *dupe_item_find_path_by_list(const gchar *path, GList *work)
 {
--- a/src/view_file_list.c	Fri Apr 04 22:34:55 2008 +0000
+++ b/src/view_file_list.c	Sat Apr 05 11:59:29 2008 +0000
@@ -104,6 +104,7 @@
 }
 
 
+/*
 static gint vflist_find_sidecar_list_idx(GList *work, FileData *fd)
 {
 	gint i = 0;
@@ -127,6 +128,7 @@
 		}
 	return -1;
 }
+*/
 
 static gint vflist_sidecar_list_count(GList *work)
 {
@@ -921,11 +923,13 @@
  *-----------------------------------------------------------------------------
  */
 
+/*
 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)