diff options
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.c | 14 |
1 files changed, 1 insertions, 13 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 813aa21b..6aa622c5 100644 --- a/src/fs/gnunet-fs-gtk-main_window_file_publish.c +++ b/src/fs/gnunet-fs-gtk-main_window_file_publish.c | |||
@@ -773,6 +773,7 @@ GNUNET_GTK_master_publish_dialog_delete_button_clicked_cb (GtkWidget * dummy, | |||
773 | update_selectivity (ctx); | 773 | update_selectivity (ctx); |
774 | } | 774 | } |
775 | 775 | ||
776 | |||
776 | static void | 777 | static void |
777 | insert_progress_dialog_text (struct AddDirClientContext *adcc, | 778 | insert_progress_dialog_text (struct AddDirClientContext *adcc, |
778 | char *text) | 779 | char *text) |
@@ -789,19 +790,6 @@ insert_progress_dialog_text (struct AddDirClientContext *adcc, | |||
789 | 790 | ||
790 | } | 791 | } |
791 | 792 | ||
792 | /** | ||
793 | * Does the same freeing and destorying "add_item" does, | ||
794 | * without doing anything else | ||
795 | */ | ||
796 | void | ||
797 | discard_item (struct GNUNET_FS_ShareTreeItem *item) | ||
798 | { | ||
799 | GNUNET_CONTAINER_meta_data_destroy (item->meta); | ||
800 | GNUNET_FS_uri_destroy (item->ksk_uri); | ||
801 | GNUNET_free (item->short_filename); | ||
802 | GNUNET_free (item->filename); | ||
803 | } | ||
804 | |||
805 | 793 | ||
806 | static void | 794 | static void |
807 | add_item (struct AddDirClientContext *adcc, GtkTreeStore *ts, | 795 | add_item (struct AddDirClientContext *adcc, GtkTreeStore *ts, |