aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-connectivity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-connectivity.c')
-rw-r--r--libempathy/empathy-connectivity.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index b06b57cb8..a1f0383c7 100644
--- a/libempathy/empathy-connectivity.c
+++ b/libempathy/empathy-connectivity.c
@@ -118,6 +118,7 @@ empathy_connectivity_init (EmpathyConnectivity *connectivity)
static void
connectivity_finalize (GObject *object)
{
+#ifdef HAVE_NM
EmpathyConnectivity *manager = EMPATHY_CONNECTIVITY (object);
EmpathyConnectivityPriv *priv = GET_PRIV (manager);
@@ -126,6 +127,7 @@ connectivity_finalize (GObject *object)
g_object_unref (priv->nm_client);
priv->nm_client = NULL;
}
+#endif
G_OBJECT_CLASS (empathy_connectivity_parent_class)->finalize (object);
}