]> git.0d.be Git - empathy.git/commitdiff
sanity_ctx_ref() is only used by UOA code atm
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Aug 2012 11:07:28 +0000 (13:07 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Aug 2012 11:07:28 +0000 (13:07 +0200)
src/empathy-sanity-cleaning.c

index 51015b40e7fd89b3a1061ba93bedb85c4953973f..e810fcb29e71840564f788027a3eee05cbe96755 100644 (file)
@@ -74,6 +74,7 @@ sanity_ctx_new (TpAccountManager *am,
   return ctx;
 }
 
+#ifdef HAVE_UOA
 static SanityCtx *
 sanity_ctx_ref (SanityCtx *ctx)
 {
@@ -81,6 +82,7 @@ sanity_ctx_ref (SanityCtx *ctx)
 
   return ctx;
 }
+#endif
 
 static void
 sanity_ctx_unref (SanityCtx *ctx)