From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3043: 23.0.92; GtkFileSelection is deprecated Date: Sat, 18 Apr 2009 18:30:48 +0200 Message-ID: <49EA0038.9080206@swipnet.se> References: <87hc0mpidq.fsf@turtle.gmx.de> Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 3043@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240073112 28041 80.91.229.12 (18 Apr 2009 16:45:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2009 16:45:12 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Sven Joachim , 3043@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 18 18:46:31 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LvDgR-0000p3-2s for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Apr 2009 18:46:27 +0200 Original-Received: from localhost ([127.0.0.1]:57114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvDf2-00041k-76 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Apr 2009 12:45:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvDe6-0003iP-GJ for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 12:44:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvDe1-0003g4-JL for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 12:44:01 -0400 Original-Received: from [199.232.76.173] (port=52411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvDe0-0003fV-MF for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 12:43:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60948) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LvDdz-00042Q-Od for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 12:43:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3IGhp52022170; Sat, 18 Apr 2009 09:43:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3IGe4Yk020857; Sat, 18 Apr 2009 09:40:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 18 Apr 2009 16:40:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3043 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124007225919297 (code B ref -1); Sat, 18 Apr 2009 16:40:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 18 Apr 2009 16:30:59 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3IGUunI019289 for ; Sat, 18 Apr 2009 09:30:57 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:33609 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LvDRP-00010s-Fo for emacs-pretest-bug@gnu.org; Sat, 18 Apr 2009 12:30:55 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LvDRM-0000tB-TE for emacs-pretest-bug@gnu.org; Sat, 18 Apr 2009 12:30:55 -0400 Original-Received: from proxy2.bredband.net ([195.54.101.72]:36989) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvDRM-0000sT-Gc for emacs-pretest-bug@gnu.org; Sat, 18 Apr 2009 12:30:52 -0400 Original-Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.139) id 49DDF094002E4D87 for emacs-pretest-bug@gnu.org; Sat, 18 Apr 2009 18:30:50 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AncFAG+c6UlV4S1uPGdsb2JhbACBTpRiAQEBAbZXgj6BPwY X-IronPort-AV: E=Sophos;i="4.40,210,1238968800"; d="scan'208";a="507221691" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport1.bredband.com with ESMTP; 18 Apr 2009 18:30:49 +0200 Original-Received: from [172.20.199.5] (winter [172.20.199.5]) by coolsville.localdomain (Postfix) with ESMTPSA id 2594E7FA07B; Sat, 18 Apr 2009 18:30:49 +0200 (CEST) User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) In-Reply-To: <87hc0mpidq.fsf@turtle.gmx.de> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 18 Apr 2009 12:44:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27324 gmane.emacs.pretest.bugs:24309 Archived-At: Sven Joachim skrev: > Emacs uses GtkFileSelection in gtkutil.c which has been deprecated in > GTK+ 2.12. That means that it will not build with a future GTK+ 3.0, > or with -DGTK_DISABLE_DEPRECATED in a current GTK+ 2.x. > > This problem is not urgent, but it would be good if gtkutil.c could use > the GtkFileChooser interface instead. > Actually Emacs has used GtkFileChooser by default for a long time now, more or less since it became available in a stable Gtk+ release. But if both are available, GtkFileSelection can be used (I don't remember the customize variable for it right now). There is a configure test for both file dialogs, so if one is removed in 3.0, Emacs will compile just fine. However, as configure just looks at link time symbols, we might not do the right thing when compiled with -DGTK_DISABLE_DEPRECATED. I'll check this. Jan D.