Commit a0aaacff56b1393a13cc03b28b0d59725248c973
1 parent
16cdbfce
Exists in
master
and in
5 other branches
Ajustes para compilar no gtk mais antigo
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
src/pw3270/main.c
... | ... | @@ -315,7 +315,11 @@ static void g_trace(H3270 *hSession, const char *fmt, va_list args) |
315 | 315 | pw3270_trace_set_destroy_on_close(trace_window,TRUE); |
316 | 316 | g_signal_connect(trace_window, "destroy", G_CALLBACK(trace_window_destroy), hSession); |
317 | 317 | gtk_window_set_default_size(GTK_WINDOW(trace_window),590,430); |
318 | + | |
319 | +#if GTK_CHECK_VERSION(3,4,0) | |
318 | 320 | gtk_window_set_attached_to(GTK_WINDOW(trace_window),toplevel); |
321 | +#endif // GTK_CHECK_VERSION(3,4,0) | |
322 | + | |
319 | 323 | gtk_widget_show(trace_window); |
320 | 324 | } |
321 | 325 | pw3270_trace_printf(trace_window,"%s",utftext); | ... | ... |