mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-26 09:42:25 +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:
parent
db6ad48673
commit
07a876ce1e
@ -194,7 +194,7 @@ struct tm ltime(void)
|
|||||||
return tm;
|
return tm;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char platform_x11_best_transport[] = "localhost";
|
const int platform_uses_x11_unix_by_default = FALSE;
|
||||||
|
|
||||||
char *platform_get_x_display(void) {
|
char *platform_get_x_display(void) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -20,8 +20,6 @@ AppController *controller;
|
|||||||
* and Unix PuTTY code.
|
* and Unix PuTTY code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char platform_x11_best_transport[] = "unix";
|
|
||||||
|
|
||||||
char *platform_get_x_display(void) {
|
char *platform_get_x_display(void) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -416,8 +416,6 @@ int is_interactive(void)
|
|||||||
* X11-forwarding-related things suitable for console.
|
* X11-forwarding-related things suitable for console.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char platform_x11_best_transport[] = "unix";
|
|
||||||
|
|
||||||
char *platform_get_x_display(void) {
|
char *platform_get_x_display(void) {
|
||||||
return dupstr(getenv("DISPLAY"));
|
return dupstr(getenv("DISPLAY"));
|
||||||
}
|
}
|
||||||
|
@ -115,8 +115,6 @@ char *make_default_wintitle(char *hostname)
|
|||||||
* X11-forwarding-related things suitable for Gtk app.
|
* X11-forwarding-related things suitable for Gtk app.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char platform_x11_best_transport[] = "unix";
|
|
||||||
|
|
||||||
char *platform_get_x_display(void) {
|
char *platform_get_x_display(void) {
|
||||||
const char *display;
|
const char *display;
|
||||||
/* Try to take account of --display and what have you. */
|
/* Try to take account of --display and what have you. */
|
||||||
|
Loading…
Reference in New Issue
Block a user