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=2alU/PsQwbEK59PRhZkD/LypYXW1bpD7fFUEtz6KZ5g=; | |
b=GGfUjvs2ftAp0MkscJU3JculTW0F6U4XmxPBEBGQE8/9W0DxnMsXUL/bdh+0BucI9V | |
YpYD4xumtyQaSgn2tEUJjX5zUcMVcl27FNPPltylRjWFf2tg4BWUR25LETeH+mI4yvYE | |
IANR9BL8pl8q60nAo/HP/GQKfecRP2CLit9Mx44e5CO0JhMcSXd7HusVMwMuKF/SEBqY | |
/6vZJ3qjHQxi2xAv7IWiZWERRWLFGMEGc0hQwee03uLKdzjIJjcosBumEMFQJrV/R4bw | |
nXZk5Oe6NlQqoLnRCYiSNJaFVxP1ogaRn1HZsZaRp1IQc8LvIBT51kuigN8db460noJL | |
1WMQ== | |
X-Received: | by 10.180.81.163 with SMTP id b3mr7791407wiy.72.1413317892762; |
Tue, 14 Oct 2014 13:18:12 -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 14/43] Remove deprecated use of gtk_set_locale() |
Date: | Tue, 14 Oct 2014 22:17:06 +0200 |
Message-Id: | <1413317855-10673-15-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_set_locale has been deprecated since version 2.24 and should not be used in newly-written code. Use setlocale() directly." In this case, setlocale() has already been called in main(). --- gschem/src/gschem.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gschem/src/gschem.c b/gschem/src/gschem.c index 331690c..99cea9b 100644 --- a/gschem/src/gschem.c +++ b/gschem/src/gschem.c @@ -141,9 +141,6 @@ void main_prog(void *closure, int argc, char *argv[]) #endif #if ENABLE_NLS - /* this should be equivalent to setlocale (LC_ALL, "") */ - gtk_set_locale(); - /* This must be the same for all locales */ setlocale(LC_NUMERIC, "C"); -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |