| 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=uTAPwnoMdgD/mbiwPS047JYWliqGJZfvhyigEmW8mdcNGduhnSWZedHHLQSW8drzxF | |
| CxPOWy09aAUrjVVw//xSYpwKjK9bdq46stLzYBL4zhliuVWEJHOwmXqNygFoKbOKx1+k | |
| 1BhxM8lRfIkU9LQrucolPYHEWWhS2FiOAlafHg/AOI4o66rr++CjSimuSmMqAB98CrO8 | |
| ZVEESpJjVfiv/WIotgGtdsEIz1J/z8dSrUF/z2qd1YV0j8v+6jyqVmqKGonz1/HGkzF9 | |
| llSTPJksMaMU2R0gygdjmjniXoC+qP5htX272OIz6JZltyHApwHXmbuf6QDHZsyM3I9N | |
| 6jlw== | |
| X-Received: | by 10.194.190.69 with SMTP id go5mr4258337wjc.56.1411038440855; |
| Thu, 18 Sep 2014 04:07:20 -0700 (PDT) | |
| From: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
| To: | geda-user AT delorie DOT com |
| Cc: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
| Subject: | [geda-user] [PATCH 11/43] Remove deprecated use of gtk_label_set() |
| Date: | Thu, 18 Sep 2014 13:06:06 +0200 |
| Message-Id: | <1411038398-10231-12-git-send-email-riccardo.lucchese@gmail.com> |
| X-Mailer: | git-send-email 2.1.0 |
| In-Reply-To: | <1411038398-10231-1-git-send-email-riccardo.lucchese@gmail.com> |
| References: | <1411038398-10231-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 |