diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-30 23:32:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-30 23:32:12 +0000 |
commit | 33b63f8c4ccc242fac0b134d6d6bc3045596718b (patch) | |
tree | fafd5037179b29be5ada99620836c2c5407da3eb | |
parent | c22dfdda13a5ec5c9698c3205ca0bc32f14884ce (diff) | |
download | gnunet-gtk-33b63f8c4ccc242fac0b134d6d6bc3045596718b.tar.gz gnunet-gtk-33b63f8c4ccc242fac0b134d6d6bc3045596718b.zip |
-dce
-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, |