aboutsummaryrefslogtreecommitdiff
path: root/src/anastasis/anastasis-gtk_handle-continent-selected.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/anastasis/anastasis-gtk_handle-continent-selected.c')
-rw-r--r--src/anastasis/anastasis-gtk_handle-continent-selected.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/anastasis/anastasis-gtk_handle-continent-selected.c b/src/anastasis/anastasis-gtk_handle-continent-selected.c
index 8122893..c958799 100644
--- a/src/anastasis/anastasis-gtk_handle-continent-selected.c
+++ b/src/anastasis/anastasis-gtk_handle-continent-selected.c
@@ -61,10 +61,9 @@ anastasis_gtk_continent_selection_changed_cb (GtkTreeSelection *treeselection,
&iter,
AG_CMC_CONTINENT_NAME, &continent_name,
-1);
- arguments = json_pack ("{s:s}",
- "continent",
- continent_name);
- GNUNET_assert (NULL != arguments);
+ arguments = GNUNET_JSON_PACK (
+ GNUNET_JSON_pack_string ("continent",
+ continent_name));
g_free (continent_name);
AG_freeze ();
AG_ra = ANASTASIS_redux_action (AG_redux_state,