GNU bug report logs -
#3043
23.0.92; GtkFileSelection is deprecated
Previous Next
Reported by: Sven Joachim <svenjoac <at> gmx.de>
Date: Sat, 18 Apr 2009 07:55:03 UTC
Severity: normal
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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.
This bug report was last modified 16 years and 96 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.