[evolution-data-server] Fix a compiler warning when using an older GOA.



commit 8b663996ccf289f6ba32c5bf26eb0d89c878973b
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Mar 1 11:35:38 2013 -0500

    Fix a compiler warning when using an older GOA.

 .../gnome-online-accounts/e-goa-password-based.c   |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/gnome-online-accounts/e-goa-password-based.c 
b/modules/gnome-online-accounts/e-goa-password-based.c
index c007caa..a7cfc37 100644
--- a/modules/gnome-online-accounts/e-goa-password-based.c
+++ b/modules/gnome-online-accounts/e-goa-password-based.c
@@ -38,6 +38,7 @@ G_DEFINE_DYNAMIC_TYPE (
        e_goa_password_based,
        E_TYPE_AUTHENTICATION_SESSION)
 
+#ifdef HAVE_GOA_PASSWORD_BASED
 static GoaObject *
 e_goa_password_based_ref_account (ESourceRegistryServer *server,
                                   ESource *source,
@@ -90,6 +91,7 @@ e_goa_password_based_ref_account (ESourceRegistryServer *server,
 
        return match;
 }
+#endif /* HAVE_GOA_PASSWORD_BASED */
 
 static EAuthenticationSessionResult
 e_goa_password_based_execute_sync (EAuthenticationSession *session,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]