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=t+cA5Fv+YaTA4CnYqWKTy/Scedx7kbfRgSAAOx0q+q8=; | |
b=fyTu6XykKk35SVGeaCNGlqYL5ZybhjF7br6A0q2u0kM5mC4mdYCv05QleRyLiQ/K/M | |
6q5Tr5bFmIfYT7JMaKsb4iCCFziwq/02KRb2ktFrGCLZwMLjo2ZKeteLVvjcwRxFubVW | |
/jzRZONl//Qy5YjbYoas3AjMrhhftWjVYCtRkn0llVZGK+s+J7rfe8wAB2dogXc5VehP | |
ETIC0vZG/ByybcvOUxMrfqkDMS7alBgLxCxdWT/8ukBedo90VkfJy9NNFJnjVpTqVDkq | |
RVa7rH0QMacOme8vANR874qkq/Vz5qcYYBvrKPwvOy1CMVHN1+QnHo4iwV9HoA+0B5cV | |
Edew== | |
X-Received: | by 10.194.241.201 with SMTP id wk9mr5250934wjc.101.1413317932785; |
Tue, 14 Oct 2014 13:18:52 -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 28/43] Remove deprecated use of gtk_entry_set_editable() |
Date: | Tue, 14 Oct 2014 22:17:20 +0200 |
Message-Id: | <1413317855-10673-29-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_entry_set_editable has been deprecated since version 2.0 and should not be used in newly-written code. Use gtk_editable_set_editable() instead." --- gattrib/src/gtksheet_2_2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index 34804d6..00ccc4b 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -4099,9 +4099,9 @@ gtk_sheet_show_active_cell(GtkSheet *sheet) gtk_entry_set_visibility(GTK_ENTRY(sheet_entry), attributes.is_visible); if(gtk_sheet_locked(sheet) || !attributes.is_editable){ - gtk_entry_set_editable(GTK_ENTRY(sheet_entry), FALSE); + gtk_editable_set_editable(GTK_EDITABLE(sheet_entry), FALSE); }else{ - gtk_entry_set_editable(GTK_ENTRY(sheet_entry), TRUE); + gtk_editable_set_editable(GTK_EDITABLE(sheet_entry), TRUE); } -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |