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=nA/sHiP0Jct6bcsUJFICVJIgm3JgZylDf0x5Hqf2gRc=; | |
b=feiXzhKndHgmmWL76+aVuPl9Sn17GiJiCd7oPby1BJXhFKGZQY01s7L2uf+o1lNYxb | |
g+whIWcxzoeeoZ2z1qMouYl3sNEXQvGmu46vEezew4I+k5hmPdWSl9Jq231NhZeYjAn1 | |
KN8rAlIyH3XU7scM/AVuzruxgz4WTrqfQwUvg8Xmn8g+1SDTrPLbEgH2KgqDiIK4GyyE | |
WHAonoLZWK5WcuTa1ST9sn8IvcYLZYaQrcVbubW2nrxj4mVhyCVB0ncDyKQq4y2BG8jO | |
7/qqU2vhtG+yWjMXOxKE+2TuGaFJ4Aa6A9ocVjcP6h31CF6rg5OtFF9Gs9SaMJ2Z+sBT | |
zC8Q== | |
X-Received: | by 10.180.187.102 with SMTP id fr6mr7759236wic.58.1413317947469; |
Tue, 14 Oct 2014 13:19:07 -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 33/43] Remove deprecated use of GTK_WIDGET_IS_SENSITIVE() |
Date: | Tue, 14 Oct 2014 22:17:25 +0200 |
Message-Id: | <1413317855-10673-34-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_IS_SENSITIVE has been deprecated since version 2.20 and should not be used in newly-written code. Use gtk_widget_is_sensitive() instead." --- gschem/src/x_compselect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gschem/src/x_compselect.c b/gschem/src/x_compselect.c index e3be08b..cbc68dc 100644 --- a/gschem/src/x_compselect.c +++ b/gschem/src/x_compselect.c @@ -653,7 +653,7 @@ compselect_callback_filter_entry_changed (GtkEditable *editable, sensitive = (g_ascii_strcasecmp (gtk_entry_get_text (compselect->entry_filter), "") != 0); - if (GTK_WIDGET_IS_SENSITIVE (button) != sensitive) { + if (gtk_widget_is_sensitive(button) != sensitive) { gtk_widget_set_sensitive (button, sensitive); } -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |