]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 4 Jan 2009 23:36:24 +0000 (23:36 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 4 Jan 2009 23:36:24 +0000 (23:36 +0000)
few instances around; expunge them.

[originally from svn r8382]
[r8305 == ca6fc3a4daf51166a15693feffc967bee9e3f59a]

mac/macmisc.c
macosx/osxmain.m
unix/uxcons.c
unix/uxputty.c

index ce32eb446c75f17790c54c26824a49fe1ab5aea3..a1a88f5ac69b354b85a881788bd7bc26c9ec5bcf 100644 (file)
@@ -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;
index 362f92bd444993311f6079b5295f82d22225e536..d8202e24960cdda4949c2be01a63313f3bfc3e2f 100644 (file)
@@ -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;
 }
index 16e69fbb859176696de1a3a69911c0b231f0473e..f147b35b6c2fe786cb0ec063495bd2b2e803f909 100644 (file)
@@ -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"));
 }
index 65b1ecaaaac9548626f895bddc42fbe4911f9606..73e119731d500d1779f2531787e392eb9c97d703 100644 (file)
@@ -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. */