1
0
Fork 0
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:
Charles Kerr 2008-04-14 15:17:55 +00:00
parent 1578ebc904
commit 368e8910f8

View file

@ -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;