[evolution-ews] Move constants declaration to utils file



commit 194e37b3c54bb06acf2c8f66befd88b8fa95e924
Author: Pavel Ocheretny <pocheretny src gnome org>
Date:   Mon Jul 18 16:28:04 2011 +0300

    Move constants declaration to utils file

 src/calendar/e-cal-backend-ews-utils.h |    2 ++
 src/calendar/e-cal-backend-ews.c       |    3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews-utils.h b/src/calendar/e-cal-backend-ews-utils.h
index a070ebc..bf914db 100644
--- a/src/calendar/e-cal-backend-ews-utils.h
+++ b/src/calendar/e-cal-backend-ews-utils.h
@@ -28,6 +28,8 @@
 #include <libical/icaltimezone.h>
 
 G_BEGIN_DECLS
+#define MINUTES_IN_HOUR 60
+#define SECS_IN_MINUTE 60
 
 const char *e_ews_collect_orginizer(icalcomponent *comp);
 void e_ews_collect_attendees(icalcomponent *comp, GSList **required, GSList **optional, GSList **resource);
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 45b0472..0d46135 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1010,9 +1010,6 @@ typedef struct {
 	EServerMethodContext context;
 } EwsCreateData;
 
-#define MINUTES_IN_HOUR 60
-#define SECS_IN_MINUTE 60
-
 static void add_attendees_list_to_message(ESoapMessage *msg, const gchar *listname, GSList *list) {
 	GSList *item;
 



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