]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - unix/unix.h
Stop using GTK3-deprecated gdk_get_display().
authorSimon Tatham <anakin@pobox.com>
Sat, 22 Aug 2015 13:07:02 +0000 (14:07 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 Aug 2015 13:07:02 +0000 (14:07 +0100)
commit5cef6f96c2e59fc4e2654a7a8deba8edcc181863
treef67a542fcd8489c0e4baef0cebebef3cdbd8f6a9
parentace0dd64b737d84968edc4ced946327cb52332ef
Stop using GTK3-deprecated gdk_get_display().

The new way is gdk_display_get_name(gdk_display_get_default()), which
returns a const char * rather than a char *, so I've also had to
fiddle with the prototype and call sites of get_x_display().

(Also included gtkcompat.h into uxputty.c, since that wanted to call
gdk_get_display() but didn't previously include it.)
unix/gtkcompat.h
unix/gtkwin.c
unix/unix.h
unix/uxpty.c
unix/uxputty.c