aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-main_window_file_publish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_file_publish.c')
-rw-r--r--src/fs/gnunet-fs-gtk-main_window_file_publish.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_file_publish.c b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
index cd18da87..3cafc71e 100644
--- a/src/fs/gnunet-fs-gtk-main_window_file_publish.c
+++ b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
@@ -634,6 +634,7 @@ add_entry_to_ts (GtkTreeStore * ts, GtkTreeIter * iter, const char *filename,
634} 634}
635 635
636 636
637#if DEAD_CODE
637/** 638/**
638 * Function called by the directory iterator to 639 * Function called by the directory iterator to
639 * (recursively) add all of the files in the 640 * (recursively) add all of the files in the
@@ -657,6 +658,7 @@ publish_entry (void *cls, const char *filename)
657 GNUNET_free (pd); 658 GNUNET_free (pd);
658 return GNUNET_OK; 659 return GNUNET_OK;
659} 660}
661#endif
660 662
661 663
662/** 664/**
@@ -726,6 +728,7 @@ process_keywords (struct AddDirContext *adc)
726} 728}
727 729
728 730
731#if DEAD_CODE
729/** 732/**
730 * Function called by the directory iterator to 733 * Function called by the directory iterator to
731 * (recursively) add all of the files in the 734 * (recursively) add all of the files in the
@@ -818,6 +821,8 @@ scan_directory (void *cls, const char *filename)
818 } 821 }
819 return GNUNET_OK; 822 return GNUNET_OK;
820} 823}
824#endif
825
821 826
822static void 827static void
823add_dir_callback (void *cls, struct GNUNET_DISK_DirectoryIterator * di, 828add_dir_callback (void *cls, struct GNUNET_DISK_DirectoryIterator * di,
@@ -1411,8 +1416,7 @@ master_publish_edit_publish_dialog_cb (gpointer cls, int do_index,
1411 gint ret) 1416 gint ret)
1412{ 1417{
1413 struct EditPublishContext *cbargs = cls; 1418 struct EditPublishContext *cbargs = cls;
1414 struct GNUNET_FileInformation *fi; 1419 struct GNUNET_FS_FileInformation *fi;
1415 const char *filename;
1416 1420
1417 GNUNET_assert (NULL == root); 1421 GNUNET_assert (NULL == root);
1418 if (ret == GTK_RESPONSE_OK) 1422 if (ret == GTK_RESPONSE_OK)