(gtk) silence minor warning on platforms that don't allow hibernation to be disabled
This commit is contained in:
parent
1578ebc904
commit
368e8910f8
|
@ -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 New Issue