From d9a8cef3ce2d8015f61b1d24943ca3587b45d093 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Apr 2018 12:41:56 +0200 Subject: fix obsolete tooltips, rename symbol to match latest gnunet.git API --- src/fs/gnunet-fs-gtk_main-window-search.c | 2 +- src/namestore/gnunet-namestore-gtk.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c index 10fcf93d..1a869fdd 100644 --- a/src/fs/gnunet-fs-gtk_main-window-search.c +++ b/src/fs/gnunet-fs-gtk_main-window-search.c @@ -690,7 +690,7 @@ GNUNET_FS_GTK_save_button_clicked_cb (GtkButton * button, /* show the window */ gtk_window_present (GTK_WINDOW (lctx->progress_dialog)); lctx->lr = GNUNET_GNS_lookup (main_ctx->gns, - GNUNET_GNS_MASTERZONE_STR, + GNUNET_GNS_EMPTY_LABEL_AT, &pkey, GNUNET_GNSRECORD_TYPE_NICK, GNUNET_NO, diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c index b5dca553..a119b5de 100644 --- a/src/namestore/gnunet-namestore-gtk.c +++ b/src/namestore/gnunet-namestore-gtk.c @@ -1268,7 +1268,7 @@ check_validity (struct GNUNET_GTK_NAMESTORE_PluginEnvironment *edc) ( (GNUNET_SYSERR == GNUNET_DNSPARSER_check_label (name)) && (0 != strcmp (name, - GNUNET_GNS_MASTERZONE_STR))) ) + GNUNET_GNS_EMPTY_LABEL_AT))) ) { edit_dialog_disable_save (edc); return; @@ -2400,7 +2400,7 @@ zone_iteration_proc (void *cls, GtkTreePath *sel_path; if ( (GNUNET_SYSERR == GNUNET_DNSPARSER_check_label (name)) && - (0 != strcmp (name, GNUNET_GNS_MASTERZONE_STR)) ) + (0 != strcmp (name, GNUNET_GNS_EMPTY_LABEL_AT)) ) { GNUNET_break (0); GNUNET_log (GNUNET_ERROR_TYPE_ERROR, @@ -2537,7 +2537,7 @@ zone_iteration_proc (void *cls, "%s", EXPIRE_INVALID_STRING); if ( (0 == strcmp (name, - GNUNET_GNS_MASTERZONE_STR)) && + GNUNET_GNS_EMPTY_LABEL_AT)) && (GNUNET_GNSRECORD_TYPE_NICK == rd[c].record_type) && (NULL == current_pseudonym) ) { @@ -2875,7 +2875,7 @@ update_nick_record (const char *new_name) oc); oc->qe = GNUNET_NAMESTORE_records_store (namestore, pkey, - GNUNET_GNS_MASTERZONE_STR, + GNUNET_GNS_EMPTY_LABEL_AT, total, rd_new, &operation_done_cont, -- cgit v1.2.3