[evolution-ews] Remove OOFSettings struct.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Remove OOFSettings struct.
- Date: Wed, 18 Jul 2012 20:13:06 +0000 (UTC)
commit 9234d248e7520f6d4064b9b2085bd2fb3465552e
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Jul 18 16:08:12 2012 -0400
Remove OOFSettings struct.
Use EEwsOofSettings instead.
src/server/e-ews-connection.c | 25 -------------------------
src/server/e-ews-connection.h | 12 ------------
2 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 09f4a13..8421dce 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -6036,28 +6036,3 @@ e_ews_connection_get_delegate_sync (EEwsConnection *cnc,
}
-void
-e_ews_connection_free_oof_settings (OOFSettings *oof_settings)
-{
- if (oof_settings->state) {
- g_free (oof_settings->state);
- oof_settings->state = NULL;
- }
- if (oof_settings->ext_aud) {
- g_free (oof_settings->ext_aud);
- oof_settings->ext_aud = NULL;
- }
- if (oof_settings->int_reply) {
- g_free (oof_settings->int_reply);
- oof_settings->int_reply = NULL;
- }
- if (oof_settings->ext_reply) {
- g_free (oof_settings->ext_reply);
- oof_settings->ext_reply = NULL;
- }
-
- if (oof_settings) {
- g_free (oof_settings);
- oof_settings = NULL;
- }
-}
diff --git a/src/server/e-ews-connection.h b/src/server/e-ews-connection.h
index 714afe4..e799d3e 100644
--- a/src/server/e-ews-connection.h
+++ b/src/server/e-ews-connection.h
@@ -174,15 +174,6 @@ typedef struct {
gpointer field_uri;
} EwsSortOrder;
-typedef struct {
- gchar *state; /*Out of office state */
- gchar *ext_aud; /*external audience */
- time_t start_tm; /*Start time */
- time_t end_tm; /*End time */
- gchar *int_reply; /*Internal Reply */
- gchar *ext_reply; /*External Reply */
-} OOFSettings;
-
void ews_oal_free (EwsOAL *oal);
void ews_oal_details_free (EwsOALDetails *details);
@@ -817,9 +808,6 @@ gboolean e_ews_connection_get_delegate_sync
GCancellable *cancellable,
GError **error);
-void e_ews_connection_free_oof_settings
- (OOFSettings *oof_settings);
-
G_END_DECLS
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]