unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Gramiak <agrambot@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Increase minimum required GTK versions?
Date: Fri, 12 Apr 2019 13:33:31 -0600	[thread overview]
Message-ID: <87y34fuigk.fsf@gmail.com> (raw)
In-Reply-To: <83o95bkpcl.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Apr 2019 22:14:50 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Alex Gramiak <agrambot@gmail.com>
>> Cc: monnier@iro.umontreal.ca,  emacs-devel@gnu.org
>> Date: Fri, 12 Apr 2019 13:05:30 -0600
>> 
>> > Are you sure?  I still see the code related to this being removed.
>> 
>> That's part of the simplification of the code. Before it uses a
>> predicate procedure to check the value of x_gtk_use_old_file_dialog,
>> which I removed in favour of checking the variable directly. It also
>> used function pointers to wrapper procedures to get the filename, which
>> I removed in favour of calling the gtk procedures directly. The actual
>> old file dialog (xg_get_file_with_selection) is, in this patch, still
>> present. I tested again with GTK 2.24 and GTK 3.10 and it worked as
>> expected.
>
> Please don't simplify that part, but instead leave it alone.

Why, especially since the reason for the complexity was because of
supporting an older (older than the current minimum) GTK version? I
don't believe that the code is so fragile that it has to be left alone.

> Why was the configure-time test related to that removed?

That test was for versions pre-2.4 that did not support the old file
dialog; there's no use for it now. See commit
572a3cc2664adea7b5a3303b04b57fe1ba5b4641 for the introduction of the
test.

> Please also don't obsolete the variable, I see no reason to do that.

Why not, since it's part of an obsolete (in GTK 2) and removed (in GTK
3) GTK interface? This seems like the time to obsolete such a variable.

IMO it would do well to obsolete it at least for (version<= "3"
gtk-version-string) since it does nothing there.



  reply	other threads:[~2019-04-12 19:33 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-07 19:03 Increase minimum required GTK versions? Alex
2019-04-07 19:08 ` Eli Zaretskii
2019-04-07 19:25   ` Alex
2019-04-08  4:45     ` Paul Eggert
2019-04-08 15:03       ` Alex
2019-04-08 16:03         ` Kaushal Modi
2019-04-08 16:15         ` Glenn Morris
2019-04-08 23:58           ` Paul Eggert
2019-04-09  1:55             ` Stefan Monnier
2019-04-09  4:47               ` Paul Eggert
2019-04-09 17:28                 ` Alex
2019-04-09 18:21                   ` Eli Zaretskii
2019-04-10  3:14                     ` Alex
2019-04-10 15:57                       ` Eli Zaretskii
2019-04-10 16:20                         ` Stefan Monnier
2019-04-10 16:43                           ` Eli Zaretskii
2019-04-11  0:35                         ` Alex
2019-04-11  1:26                           ` Alex Branham
2019-04-11 14:19                             ` Eli Zaretskii
2019-04-11 14:26                               ` Dmitry Gutov
2019-04-11 14:29                               ` Alex
2019-04-12 18:49                           ` Eli Zaretskii
2019-04-12 19:05                             ` Alex Gramiak
2019-04-12 19:14                               ` Eli Zaretskii
2019-04-12 19:33                                 ` Alex Gramiak [this message]
2019-04-12 19:45                                   ` Eli Zaretskii
2019-04-12 20:04                                     ` Alex Gramiak
2019-04-12 20:17                                       ` Eli Zaretskii
2019-04-09  5:00               ` Van L

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y34fuigk.fsf@gmail.com \
    --to=agrambot@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).