1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(gtk) get r4932 building on older versions of gtk+

This commit is contained in:
Charles Kerr 2008-02-07 01:25:52 +00:00
parent 65f043a339
commit 864c563ba1

View file

@ -456,7 +456,11 @@ toggleMainWindow( struct cbdata * cbdata )
gtk_window_set_skip_taskbar_hint( window, FALSE );
gtk_widget_show( GTK_WIDGET( window ) );
gtk_window_deiconify( window );
#if GTK_CHECK_VERSION(2,8,0)
gtk_window_present_with_time( window, gtk_get_current_event_time( ) );
#else
gtk_window_present( window );
#endif
}
}