delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20120113; | |
h=from:to:cc:subject:date:message-id:in-reply-to:references; | |
bh=WDTxD/HjZEJqpkEnVOabA+IHtsAFZGHeWBaKdU4fiZU=; | |
b=D6A8dbw7BBlvXPmhe1yDJS4zE1hydWzjMg5vk91SbF88+cd5F1eq+EXMZLhG0WRk5p | |
dLbB22L0RgQdQ61XDy1N789rSPvpTlPtzkQ7+iL861Wq4bjEzA4UztMnHWap2iq8PdKm | |
ymWwQm0oDjgW93KE5zIOPcvG0tW63SPsL72b8FOws6IzyggHAyniieYEZeMse4VdbxEz | |
lQslYgU4W/iNZSf4RvQ4CJSXdwcLcuZrc8CElCD5OEJ+j+Mx3xQr0dtT5VsAthhjVMV6 | |
hvwWDo3jhv5xIDMA7EzC+smAUrkhOTRu25wSC739zAK1Gp/jqZKsdJ+RoAL1JgLhInng | |
U8aQ== | |
X-Received: | by 10.180.13.1 with SMTP id d1mr7625971wic.20.1413317886738; |
Tue, 14 Oct 2014 13:18:06 -0700 (PDT) | |
From: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
To: | geda-user AT delorie DOT com |
Cc: | paubert AT iram DOT es, Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
Subject: | [geda-user] [PATCH V2 11/43] Remove deprecated use of gtk_label_set() |
Date: | Tue, 14 Oct 2014 22:17:03 +0200 |
Message-Id: | <1413317855-10673-12-git-send-email-riccardo.lucchese@gmail.com> |
X-Mailer: | git-send-email 2.1.0 |
In-Reply-To: | <1413317855-10673-1-git-send-email-riccardo.lucchese@gmail.com> |
References: | <1413317855-10673-1-git-send-email-riccardo DOT lucchese AT gmail DOT com> |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Verbatim from Gtk+ 2 Reference Manual: "gtk_label_set is deprecated and should not be used in newly-written code. Use gtk_label_set_text() instead." --- gschem/src/gschem_bottom_widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gschem/src/gschem_bottom_widget.c b/gschem/src/gschem_bottom_widget.c index c5a9341..ae80417 100644 --- a/gschem/src/gschem_bottom_widget.c +++ b/gschem/src/gschem_bottom_widget.c @@ -696,7 +696,7 @@ update_grid_label (GschemBottomWidget *widget, GParamSpec *pspec, gpointer unuse label_text = g_strdup_printf (_("Grid(%s, %s)"), snap_text, grid_text); - gtk_label_set (GTK_LABEL (widget->grid_label), label_text); + gtk_label_set_text(GTK_LABEL(widget->grid_label), label_text); g_free (grid_text); g_free (label_text); -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |