1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a

few instances around; expunge them.

[originally from svn r8382]
[r8305 == ca6fc3a4da]
This commit is contained in:
Jacob Nevins 2009-01-04 23:36:24 +00:00
parent db6ad48673
commit 07a876ce1e
4 changed files with 1 additions and 7 deletions

View 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;

View 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;
}

View 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"));
}

View 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. */