diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_publish-edit-dialog.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-edit-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c index a2e12039..71260209 100644 --- a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c | |||
@@ -968,7 +968,7 @@ file_information_update (void *cls, struct GNUNET_FS_FileInformation *fi, | |||
968 | bo->content_priority = gtk_spin_button_get_value (ctx->priority_spin); | 968 | bo->content_priority = gtk_spin_button_get_value (ctx->priority_spin); |
969 | bo->replication_level = gtk_spin_button_get_value (ctx->replication_spin); | 969 | bo->replication_level = gtk_spin_button_get_value (ctx->replication_spin); |
970 | year = gtk_spin_button_get_value (ctx->expiration_year_spin); | 970 | year = gtk_spin_button_get_value (ctx->expiration_year_spin); |
971 | bo->expiration_time = GNUNET_FS_year_to_time (year); | 971 | bo->expiration_time = GNUNET_TIME_year_to_time (year); |
972 | 972 | ||
973 | /* update keyword-URI */ | 973 | /* update keyword-URI */ |
974 | if (NULL != (*uri)) | 974 | if (NULL != (*uri)) |
@@ -1201,7 +1201,7 @@ file_information_import (void *cls, | |||
1201 | int year; | 1201 | int year; |
1202 | 1202 | ||
1203 | /* import options */ | 1203 | /* import options */ |
1204 | year = (int) GNUNET_FS_time_to_year (bo->expiration_time); | 1204 | year = (int) GNUNET_TIME_time_to_year (bo->expiration_time); |
1205 | gtk_spin_button_set_value (ctx->expiration_year_spin, year); | 1205 | gtk_spin_button_set_value (ctx->expiration_year_spin, year); |
1206 | GNUNET_GTK_select_anonymity_combo_level (ctx->anonymity_combo, | 1206 | GNUNET_GTK_select_anonymity_combo_level (ctx->anonymity_combo, |
1207 | bo->anonymity_level); | 1207 | bo->anonymity_level); |