(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
1 changed files with 1 additions and 1 deletions

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;