aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-gtk_egos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_egos.c')
-rw-r--r--src/conversation/gnunet-conversation-gtk_egos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_egos.c b/src/conversation/gnunet-conversation-gtk_egos.c
index 08801ced..91ed2de7 100644
--- a/src/conversation/gnunet-conversation-gtk_egos.c
+++ b/src/conversation/gnunet-conversation-gtk_egos.c
@@ -171,8 +171,8 @@ gnunet_conversation_gtk_ego_copy_button_clicked_cb (GtkButton *button,
171{ 171{
172 struct GNUNET_IDENTITY_Ego *ego; 172 struct GNUNET_IDENTITY_Ego *ego;
173 const gchar *label; 173 const gchar *label;
174 const struct GNUNET_CRYPTO_EcdsaPrivateKey *priv; 174 const struct GNUNET_IDENTITY_PrivateKey *priv;
175 struct GNUNET_CRYPTO_EcdsaPublicKey pub; 175 struct GNUNET_IDENTITY_PublicKey pub;
176 const char *zkey; 176 const char *zkey;
177 char *uri; 177 char *uri;
178 GtkClipboard *cb; 178 GtkClipboard *cb;
@@ -183,7 +183,7 @@ gnunet_conversation_gtk_ego_copy_button_clicked_cb (GtkButton *button,
183 ego = GCG_EGOS_get_selected_ego (); 183 ego = GCG_EGOS_get_selected_ego ();
184 GNUNET_break (NULL != ego); 184 GNUNET_break (NULL != ego);
185 priv = GNUNET_IDENTITY_ego_get_private_key (ego); 185 priv = GNUNET_IDENTITY_ego_get_private_key (ego);
186 GNUNET_CRYPTO_ecdsa_key_get_public (priv, &pub); 186 GNUNET_IDENTITY_ego_get_public_key (priv, &pub);
187 zkey = GNUNET_GNSRECORD_pkey_to_zkey (&pub); 187 zkey = GNUNET_GNSRECORD_pkey_to_zkey (&pub);
188 GNUNET_asprintf (&uri, "gnunet://gns/%s.%s/", label, zkey); 188 GNUNET_asprintf (&uri, "gnunet://gns/%s.%s/", label, zkey);
189 cb = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD); 189 cb = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);