mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(gtk) silence minor warning on platforms that don't allow hibernation to be disabled
This commit is contained in:
@@ -346,7 +346,7 @@ main( int argc, char ** argv )
|
||||
|
||||
gtk_main();
|
||||
|
||||
if( do_inhibit )
|
||||
if( do_inhibit && inhibit_cookie )
|
||||
gtr_uninhibit_hibernation( inhibit_cookie );
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user