From: jacob Date: Sun, 4 Jan 2009 23:36:24 +0000 (+0000) Subject: r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/d36df6852e9caa3e261c77dc4623d25b6299c490 r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a few instances around; expunge them. git-svn-id: svn://svn.tartarus.org/sgt/putty@8382 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/mac/macmisc.c b/mac/macmisc.c index ce32eb44..a1a88f5a 100644 --- a/mac/macmisc.c +++ b/mac/macmisc.c @@ -194,7 +194,7 @@ struct tm ltime(void) return tm; } -const char platform_x11_best_transport[] = "localhost"; +const int platform_uses_x11_unix_by_default = FALSE; char *platform_get_x_display(void) { return NULL; diff --git a/macosx/osxmain.m b/macosx/osxmain.m index 362f92bd..d8202e24 100644 --- a/macosx/osxmain.m +++ b/macosx/osxmain.m @@ -20,8 +20,6 @@ AppController *controller; * and Unix PuTTY code. */ -const char platform_x11_best_transport[] = "unix"; - char *platform_get_x_display(void) { return NULL; } diff --git a/unix/uxcons.c b/unix/uxcons.c index 16e69fbb..f147b35b 100644 --- a/unix/uxcons.c +++ b/unix/uxcons.c @@ -416,8 +416,6 @@ int is_interactive(void) * X11-forwarding-related things suitable for console. */ -const char platform_x11_best_transport[] = "unix"; - char *platform_get_x_display(void) { return dupstr(getenv("DISPLAY")); } diff --git a/unix/uxputty.c b/unix/uxputty.c index 65b1ecaa..73e11973 100644 --- a/unix/uxputty.c +++ b/unix/uxputty.c @@ -115,8 +115,6 @@ char *make_default_wintitle(char *hostname) * X11-forwarding-related things suitable for Gtk app. */ -const char platform_x11_best_transport[] = "unix"; - char *platform_get_x_display(void) { const char *display; /* Try to take account of --display and what have you. */