mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-10 06:02:10 -05:00
GTK: don't try to turn off double-buffering on GTK 1
Apparently GTK 1 lacks gtk_widget_set_double_buffered(), so it should be conditional on running GTK 2.
This commit is contained in:
parent
d1a56d67cc
commit
dae2febd85
@ -5329,7 +5329,7 @@ void new_session_window(Conf *conf, const char *geometry_string)
|
||||
|
||||
inst->area = gtk_drawing_area_new();
|
||||
gtk_widget_set_name(GTK_WIDGET(inst->area), "drawing-area");
|
||||
#if !GTK_CHECK_VERSION(3,0,0)
|
||||
#if GTK_CHECK_VERSION(2,0,0) && !GTK_CHECK_VERSION(3,0,0)
|
||||
/*
|
||||
* PuTTY does its own double-buffering, so we don't really need
|
||||
* GTK to do it as well. GTK documentation says this is probably
|
||||
|
Loading…
x
Reference in New Issue
Block a user