Revision 1834 trunk/base/auto_shutdown_linux.c

auto_shutdown_linux.c (revision 1834)
16 16
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17 17
*/
18 18

                
19
#ifdef HAVE_CONFIG_H
20
#include "config.h"
21
#endif
22

                
19 23
#include "nntpgrab_utils.h"
20
#ifdef HAVE_POLKIT
24
#if defined(HAVE_POLKIT_OLD) || defined(HAVE_POLKIT1)
21 25
#include 
22 26
#include 
23 27
#include 
... ...
251 255
ngboolean
252 256
nntpgrab_utils_perform_shutdown(void)
253 257
{
254
#ifdef HAVE_POLKIT
258
#if defined(HAVE_POLKIT_OLD) || defined(HAVE_POLKIT1)
255 259
    if (!perform_shutdown_gnome() && !perform_shutdown_kde()) {
256 260
        return FALSE;
257 261
    }

Also available in: Unified diff