diff --git a/libnm/nm-manager.c b/libnm/nm-manager.c
index 1b453bd..9a82507 100644
--- a/libnm/nm-manager.c
+++ b/libnm/nm-manager.c
@@ -1,4 +1,5 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -789,7 +790,7 @@ find_active_connection_by_path (NMManager *self, const char *ac_path)
static void
recheck_pending_activations (NMManager *self)
{
- NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
+ NMManagerPrivate *priv;
GSList *iter, *next;
NMActiveConnection *candidate;
const GPtrArray *devices;
@@ -797,6 +798,9 @@ recheck_pending_activations (NMManager *self)
GDBusObjectManager *object_manager = NULL;
GError *error;
+ g_return_if_fail (NM_IS_MANAGER (self));
+