diff options
Diffstat (limited to 'src/anastasis/anastasis-gtk_handle-expiration-change.c')
-rw-r--r-- | src/anastasis/anastasis-gtk_handle-expiration-change.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/anastasis/anastasis-gtk_handle-expiration-change.c b/src/anastasis/anastasis-gtk_handle-expiration-change.c index 99b5412..7c698b7 100644 --- a/src/anastasis/anastasis-gtk_handle-expiration-change.c +++ b/src/anastasis/anastasis-gtk_handle-expiration-change.c | |||
@@ -94,10 +94,9 @@ expiration_year_spin_button_value_changed_cb ( | |||
94 | if (0 == expiration.abs_value_us) | 94 | if (0 == expiration.abs_value_us) |
95 | return; /* failured */ | 95 | return; /* failured */ |
96 | (void) GNUNET_TIME_round_abs (&expiration); | 96 | (void) GNUNET_TIME_round_abs (&expiration); |
97 | arg = json_pack ("{s:o}", | 97 | arg = GNUNET_JSON_PACK ( |
98 | "expiration", | 98 | GNUNET_JSON_pack_time_abs ("expiration", |
99 | GNUNET_JSON_from_time_abs (expiration)); | 99 | (expiration))); |
100 | GNUNET_assert (NULL != arg); | ||
101 | AG_freeze (); | 100 | AG_freeze (); |
102 | AG_ra = ANASTASIS_redux_action (AG_redux_state, | 101 | AG_ra = ANASTASIS_redux_action (AG_redux_state, |
103 | "update_expiration", | 102 | "update_expiration", |