]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
GTK 3 prep: stop using *nearly* all GTK deprecated functions.
authorSimon Tatham <anakin@pobox.com>
Sat, 8 Aug 2015 17:02:01 +0000 (18:02 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 8 Aug 2015 17:30:55 +0000 (18:30 +0100)
commit5fa22495c70412442b48981d08c53b7895068d13
treedab1ef1e588024ab7957feefe7000fdeec8cb715
parent5e55b7a978248a2f740bfb0d6570517e3e5f260a
GTK 3 prep: stop using *nearly* all GTK deprecated functions.

Building with -DGTK_DISABLE_DEPRECATED, we now suffer only one compile
failure, for the use of gtk_quit_add() in idle_toplevel_callback_func.
That function is apparently removed with no replacement in GTK 3, so
I'll need to find a completely different approach to getting toplevel
callbacks to run only in the outermost instance of gtk_main().

Also, this change doesn't do anything about the use of *GDK*
deprecated functions, because those include the entire family of
old-style drawing functions - i.e. the only way to build cleanly with
-DGDK_DISABLE_DEPRECATED will be to switch to Cairo drawing.
unix/gtkcompat.h
unix/gtkdlg.c
unix/gtkfont.c
unix/gtkwin.c