From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#3043: 23.0.92; GtkFileSelection is deprecated Date: Sat, 18 Apr 2009 16:29:41 +0200 Message-ID: <87ocuut4q2.fsf@turtle.gmx.de> References: <87hc0mgjio.fsf@cyd.mit.edu> Reply-To: Sven Joachim , 3043@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240065854 9111 80.91.229.12 (18 Apr 2009 14:44:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2009 14:44:14 +0000 (UTC) Cc: 3043@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 18 16:45:33 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 1LvBnQ-0004lF-6h for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Apr 2009 16:45:32 +0200 Original-Received: from localhost ([127.0.0.1]:47338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvBm1-0007B9-EV for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Apr 2009 10:44:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvBlx-0007An-I1 for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 10:44:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvBls-00077R-Pv for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 10:44:01 -0400 Original-Received: from [199.232.76.173] (port=48447 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvBls-00077O-K5 for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 10:43:56 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:2117) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LvBls-00034s-5s for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 10:43:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvBlr-000607-8f for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2009 10:43:55 -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 n3IEhpjs020029; Sat, 18 Apr 2009 07:43:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3IEZ39Z017329; Sat, 18 Apr 2009 07:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sven Joachim Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 18 Apr 2009 14:35:03 +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 3043-submit@emacsbugs.donarmstrong.com id=B3043.124006499215931 (code B ref 3043); Sat, 18 Apr 2009 14:35:03 +0000 Original-Received: (at 3043) by emacsbugs.donarmstrong.com; 18 Apr 2009 14:29:52 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n3IETlnb015924 for <3043@emacsbugs.donarmstrong.com>; Sat, 18 Apr 2009 07:29:49 -0700 Original-Received: (qmail invoked by alias); 18 Apr 2009 14:29:41 -0000 Original-Received: from p54865ECF.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.94.207] by mail.gmx.net (mp044) with SMTP; 18 Apr 2009 16:29:41 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+zi/p7eKmza9nY+KZzyrGTHa4tbWMfZlwDykGMPo c4k3kQiR6FbsIk Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id 71D8F354AF; Sat, 18 Apr 2009 16:29:41 +0200 (CEST) In-Reply-To: <87hc0mgjio.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 18 Apr 2009 09:48:31 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 X-detected-kernel: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Sat, 18 Apr 2009 10: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:27316 Archived-At: On 2009-04-18 15:48 +0200, Chong Yidong wrote: >> 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. > > Actually, Emacs does support the new GTK file chooser. It's used if > HAVE_GTK_FILE_CHOOSER_DIALOG_NEW is defined, which is set by configure > upon checking the existence of the function gtk_file_chooser_dialog_new. > Is it not available on your system? It is, and HAVE_GTK_FILE_CHOOSER_DIALOG_NEW is defined. However, HAVE_GTK_FILE_BOTH and HAVE_GTK_FILE_SELECTION_NEW are also defined which might explain the problem. I built with ,---- | make distclean | CFLAGS=-DGTK_DISABLE_DEPRECATED -g -O2 ./configure | make -k `---- and ran into ,---- | gtkutil.c: In function 'xg_get_file_name_from_selector': | gtkutil.c:1479: error: 'GtkFileSelection' undeclared (first use in this function) | gtkutil.c:1479: error: (Each undeclared identifier is reported only once | gtkutil.c:1479: error: for each function it appears in.) | gtkutil.c:1479: error: 'filesel' undeclared (first use in this function) | gtkutil.c: In function 'xg_get_file_with_selection': | gtkutil.c:1503: error: 'GtkFileSelection' undeclared (first use in this function) | gtkutil.c:1503: error: 'filesel' undeclared (first use in this function) `---- Sven