simon-git: putty (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sun Oct 28 09:22:00 GMT 2018
TL;DR:
730af28b Stop using deprecated gtk_container_set_focus_chain().
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-10-28 09:22:00
commit 730af28b996cce2118b8cd4d11988dbe155f347e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=730af28b996cce2118b8cd4d11988dbe155f347e;hp=ab89fd7847b1670cf9eae2b91d4535f71e9c290c
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Oct 28 09:14:53 2018 +0000
Stop using deprecated gtk_container_set_focus_chain().
In GTK 2, this function was a new and convenient way to override the
order in which the Tab key cycled through the sub-widgets of a
container, replacing the more verbose mechanism in GTK 1 where you had
to provide a custom implementation of the "focus" method in
GtkContainerClass.
GTK 3.24 has now deprecated gtk_container_set_focus_chain(),
apparently on the grounds that that old system is what they think you
_ought_ to be doing. So I've abandoned set_focus_chain completely, and
switched back to doing it by a custom focus method for _all_ versions
of GTK, with the only slight wrinkle being that between GTK 1 and 2
the method in question moved from GtkContainer to GtkWidget (my guess
is so that an individual non-container widget can still have multiple
separately focusable UI components).
unix/gtkcols.c | 72 ++++++++++++++++++++++++++------------------------------
unix/gtkcompat.h | 5 ++++
2 files changed, 39 insertions(+), 38 deletions(-)
More information about the tartarus-commits
mailing list