r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Jan 2009 23:36:24 +0000 (23:36 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Jan 2009 23:36:24 +0000 (23:36 +0000)
few instances around; expunge them.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8382 cda61777-01e9-0310-a592-d414129be87e

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

index ce32eb4..a1a88f5 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 362f92b..d8202e2 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 16e69fb..f147b35 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 65b1eca..73e1197 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. */