diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c b/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c index b15060ba..711b78fa 100644 --- a/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c +++ b/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c | |||
@@ -48,12 +48,14 @@ add_to_list (void *cls, const char *name, const GNUNET_HashCode * id) | |||
48 | { | 48 | { |
49 | GtkListStore *ls = cls; | 49 | GtkListStore *ls = cls; |
50 | GtkTreeIter iter; | 50 | GtkTreeIter iter; |
51 | char *name_utf8; | ||
52 | name_utf8 = GNUNET_GTK_from_loc_to_utf8 ((char *) name); | ||
51 | 53 | ||
52 | gtk_list_store_insert_with_values (ls, &iter, -1, 0, name, 1, | 54 | gtk_list_store_insert_with_values (ls, &iter, -1, 0, name_utf8, 1, |
53 | GNUNET_FS_namespace_create | 55 | GNUNET_FS_namespace_create |
54 | (GNUNET_FS_GTK_get_fs_handle (), name), | 56 | (GNUNET_FS_GTK_get_fs_handle (), name), |
55 | -1); | 57 | -1); |
56 | 58 | GNUNET_free_non_null (name_utf8); | |
57 | } | 59 | } |
58 | 60 | ||
59 | 61 | ||