aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-07 14:20:33 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-07 14:20:33 +0000
commitf631316c556ed3971b1412d3a758bae31ac6ed9c (patch)
tree759a3f3478cd1fbc7ed90ef18351898694fe5e9e /src/namestore
parent192d4ac8ae133acb2a3cea835f736a9a13caceb1 (diff)
downloadgnunet-gtk-f631316c556ed3971b1412d3a758bae31ac6ed9c.tar.gz
gnunet-gtk-f631316c556ed3971b1412d3a758bae31ac6ed9c.zip
fix glade files
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-namestore-gtk.c8
-rw-r--r--src/namestore/plugin_gtk_namestore_srv.c1
2 files changed, 4 insertions, 5 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c
index a837d19b..1867f496 100644
--- a/src/namestore/gnunet-namestore-gtk.c
+++ b/src/namestore/gnunet-namestore-gtk.c
@@ -1610,10 +1610,6 @@ launch_edit_dialog (gint n_type,
1610 GNUNET_STRINGS_utf8_tolower (edc->liblow, 1610 GNUNET_STRINGS_utf8_tolower (edc->liblow,
1611 edc->liblow); 1611 edc->liblow);
1612 edc->plugin = GNUNET_PLUGIN_load (edc->liblow, edc); 1612 edc->plugin = GNUNET_PLUGIN_load (edc->liblow, edc);
1613 if (0 != edc->plugin->record_type)
1614 edc->record_type = edc->plugin->record_type;
1615 else
1616 edc->record_type = n_type;
1617 if (NULL == edc->plugin) 1613 if (NULL == edc->plugin)
1618 { 1614 {
1619 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1615 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -1623,6 +1619,10 @@ launch_edit_dialog (gint n_type,
1623 GTK_RESPONSE_CANCEL); 1619 GTK_RESPONSE_CANCEL);
1624 return; 1620 return;
1625 } 1621 }
1622 if (0 != edc->plugin->record_type)
1623 edc->record_type = edc->plugin->record_type;
1624 else
1625 edc->record_type = n_type;
1626 edc->builder = GNUNET_GTK_get_new_builder2 (edc->plugin->dialog_glade_filename, 1626 edc->builder = GNUNET_GTK_get_new_builder2 (edc->plugin->dialog_glade_filename,
1627 edc, 1627 edc,
1628 &add_symbols); 1628 &add_symbols);
diff --git a/src/namestore/plugin_gtk_namestore_srv.c b/src/namestore/plugin_gtk_namestore_srv.c
index df238374..6b91566d 100644
--- a/src/namestore/plugin_gtk_namestore_srv.c
+++ b/src/namestore/plugin_gtk_namestore_srv.c
@@ -212,7 +212,6 @@ srv_store (void *cls,
212 entry = GTK_ENTRY (gtk_builder_get_object (builder, 212 entry = GTK_ENTRY (gtk_builder_get_object (builder,
213 "edit_dialog_srv_target_entry")); 213 "edit_dialog_srv_target_entry"));
214 target = gtk_entry_get_text (entry); 214 target = gtk_entry_get_text (entry);
215
216 GNUNET_asprintf (&result, 215 GNUNET_asprintf (&result,
217 "%u %u %u %u %u %u %s", 216 "%u %u %u %u %u %u %s",
218 protocol, 217 protocol,