| www.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=xC8oP0e8ApZNDIRT7fqXzBG1UriWV5+lGJwHFTVVSN4=; | |
| b=mvfE89+vOyw7lYaxJoBWbd+Ngj7Anl+3/J0oSa5KTSA5Gdt6QqxKk+xS8ZjoumJR2C | |
| xYcUVCTiDuWyl0y4KuDqdkJW5pu9xAhU6Gaf/Fa+8RtZ1GcckR1sp7sBamhhtlDofX64 | |
| AyBjIo7g3pyE/jWyU0Z2vawQrRUmXTDMvRF8s0iaQvgwZOq6RyGCSqcCYqp1EyjXqG1z | |
| sbY5uXjRsXOBZY9eWvbOfA2Sg4fvN7RcXpc6Y4wgVllgv2ZoY30YZx7sNzxf3f22mV5i | |
| k/om5/vsP9MiT9xgXtvgMpP21yGKE4tXupmPNStxZTKO84+mTRjqI7nRT9J+Fyqtc2PU | |
| V0HQ== | |
| X-Received: | by 10.181.11.138 with SMTP id ei10mr7492778wid.65.1413317867702; |
| Tue, 14 Oct 2014 13:17:47 -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 01/43] Remove deprecated use of GTK_WIDGET_STATE() |
| Date: | Tue, 14 Oct 2014 22:16:53 +0200 |
| Message-Id: | <1413317855-10673-2-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_WIDGET_STATE has been
deprecated since version 2.20 and should not be used in newly-written
code. Use gtk_widget_get_state() instead."
---
gschem/src/gschem_accel_label.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gschem/src/gschem_accel_label.c b/gschem/src/gschem_accel_label.c
index b070683..dd90d87 100644
--- a/gschem/src/gschem_accel_label.c
+++ b/gschem/src/gschem_accel_label.c
@@ -256,7 +256,7 @@ gschem_accel_label_expose_event (GtkWidget *widget,
gtk_paint_layout (widget->style,
widget->window,
- GTK_WIDGET_STATE (widget),
+ gtk_widget_get_state(widget),
FALSE,
&event->area,
widget,
--
2.1.0
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |