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=w6rg21UsAdqxuFPd2KgmQrdDdwuIRWEGuF0Sr57/8Js=; b=DGAAnQb2ZHvn9+Lg2dtolGvTkukU2Hl5pwmu/bHsvUmOjIWjhR4D8bHdQfHVHKjSpa N9mzoJXHJhsKPYNtOYopxNNqKGlEaZSUbCAfxZTzqQEqcZhXVnnOyrgfEBgHC0Tt5S/l FBVhTlP8sgel4WKOa4SPNghdnSRyZ72O9MxmK50EE5oWWtt6MyLSv6WugDR7Z11NnE5A 9jwCEA+ejXL3n6ok83sTlpk1xjqN0cdB4BUA0h7+IkPBQMAvmQqx3LJ499Q406cL1ThM Qsa3UDWnuQ0Ep+xhesUbxyogOGmd6TTO9js6JD9LyXkNe9aIFtqpuwYsADhkHtBClUME Yudg== X-Received: by 10.180.95.35 with SMTP id dh3mr46711940wib.24.1411038450576; Thu, 18 Sep 2014 04:07:30 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 14/43] Remove deprecated use of gtk_set_locale() Date: Thu, 18 Sep 2014 13:06:09 +0200 Message-Id: <1411038398-10231-15-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 Precedence: bulk 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 f9cbbf8..8b638a0 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