mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
(gtk) silence minor warning on platforms that don't allow hibernation to be disabled
This commit is contained in:
parent
1578ebc904
commit
368e8910f8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue