aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-30 23:32:12 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-30 23:32:12 +0000
commit33b63f8c4ccc242fac0b134d6d6bc3045596718b (patch)
treefafd5037179b29be5ada99620836c2c5407da3eb
parentc22dfdda13a5ec5c9698c3205ca0bc32f14884ce (diff)
downloadgnunet-gtk-33b63f8c4ccc242fac0b134d6d6bc3045596718b.tar.gz
gnunet-gtk-33b63f8c4ccc242fac0b134d6d6bc3045596718b.zip
-dce
-rw-r--r--src/fs/gnunet-fs-gtk-main_window_file_publish.c14
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
776static void 777static void
777insert_progress_dialog_text (struct AddDirClientContext *adcc, 778insert_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 */
796void
797discard_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
806static void 794static void
807add_item (struct AddDirClientContext *adcc, GtkTreeStore *ts, 795add_item (struct AddDirClientContext *adcc, GtkTreeStore *ts,