[evolution-data-server] Silence warnings when building with GOA < 3.5.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Silence warnings when building with GOA < 3.5.
- Date: Thu, 7 Jun 2012 22:11:47 +0000 (UTC)
commit 2ea0c8d6f1b99caecbdbc40766bd56c2cfd6ae42
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jun 7 18:08:33 2012 -0400
Silence warnings when building with GOA < 3.5.
modules/online-accounts/goaewsclient.c | 2 ++
modules/online-accounts/module-online-accounts.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/modules/online-accounts/goaewsclient.c b/modules/online-accounts/goaewsclient.c
index 375a0f2..412eed5 100644
--- a/modules/online-accounts/goaewsclient.c
+++ b/modules/online-accounts/goaewsclient.c
@@ -53,6 +53,7 @@ typedef struct {
gchar *username;
} AutodiscoverAuthData;
+#ifdef HAVE_GOA_PASSWORD_BASED
static void
ews_autodiscover_data_free (AutodiscoverData *data)
{
@@ -356,6 +357,7 @@ ews_create_msg_for_url (const gchar *url,
return msg;
}
+#endif /* HAVE_GOA_PASSWORD_BASED */
void
goa_ews_autodiscover (GoaObject *goa_object,
diff --git a/modules/online-accounts/module-online-accounts.c b/modules/online-accounts/module-online-accounts.c
index 6549fd6..137eaf5 100644
--- a/modules/online-accounts/module-online-accounts.c
+++ b/modules/online-accounts/module-online-accounts.c
@@ -58,6 +58,7 @@ struct _EOnlineAccountsClass {
#define KEYRING_ITEM_ATTRIBUTE_NAME "e-source-uid"
#define KEYRING_ITEM_DISPLAY_FORMAT "Evolution Data Source %s"
+#ifdef HAVE_GOA_PASSWORD_BASED
static GnomeKeyringPasswordSchema schema = {
GNOME_KEYRING_ITEM_GENERIC_SECRET,
{
@@ -66,6 +67,7 @@ static GnomeKeyringPasswordSchema schema = {
{ NULL, 0 }
}
};
+#endif /* HAVE_GOA_PASSWORD_BASED */
/* Module Entry Points */
void e_module_load (GTypeModule *type_module);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]