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:
parent
65f043a339
commit
864c563ba1
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue