Fix a compiler warning when using an older GOA.
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 1 Mar 2013 16:35:38 +0000 (11:35 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 1 Mar 2013 16:35:38 +0000 (11:35 -0500)
modules/gnome-online-accounts/e-goa-password-based.c

index c007caa..a7cfc37 100644 (file)
@@ -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,