aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/common
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/common')
-rw-r--r--calendar/common/Makefile.am4
-rw-r--r--calendar/common/authentication.c10
-rw-r--r--calendar/common/authentication.h8
3 files changed, 13 insertions, 9 deletions
diff --git a/calendar/common/Makefile.am b/calendar/common/Makefile.am
index 342a9b6df5..5a6c18f417 100644
--- a/calendar/common/Makefile.am
+++ b/calendar/common/Makefile.am
@@ -1,5 +1,9 @@
noinst_LTLIBRARIES = libevolution-calendarprivate.la
+ecalendarcommonincludedir = $(privincludedir)/calendar/common
+ecalendarcommoninclude_HEADERS = \
+ authentication.h
+
libevolution_calendarprivate_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"calendar-gui\" \
diff --git a/calendar/common/authentication.c b/calendar/common/authentication.c
index 7b0b2e7972..baacc1ead4 100644
--- a/calendar/common/authentication.c
+++ b/calendar/common/authentication.c
@@ -73,7 +73,7 @@ build_pass_key (ECal *ecal)
}
void
-auth_cal_forget_password (ECal *ecal)
+e_auth_cal_forget_password (ECal *ecal)
{
ESource *source = NULL;
const gchar *auth_domain = NULL, *component_name = NULL, *auth_type = NULL;
@@ -95,7 +95,7 @@ auth_cal_forget_password (ECal *ecal)
}
ECal *
-auth_new_cal_from_default (ECalSourceType type)
+e_auth_new_cal_from_default (ECalSourceType type)
{
ECal *ecal = NULL;
@@ -106,7 +106,7 @@ auth_new_cal_from_default (ECalSourceType type)
}
ECal *
-auth_new_cal_from_source (ESource *source, ECalSourceType type)
+e_auth_new_cal_from_source (ESource *source, ECalSourceType type)
{
ECal *cal;
@@ -118,7 +118,7 @@ auth_new_cal_from_source (ESource *source, ECalSourceType type)
}
ECal *
-auth_new_cal_from_uri (const gchar *uri, ECalSourceType type)
+e_auth_new_cal_from_uri (const gchar *uri, ECalSourceType type)
{
ESourceGroup *group = NULL;
ESource *source = NULL;
@@ -172,7 +172,7 @@ auth_new_cal_from_uri (const gchar *uri, ECalSourceType type)
}
}
- cal = auth_new_cal_from_source (source, type);
+ cal = e_auth_new_cal_from_source (source, type);
g_object_unref (source);
if (group)
diff --git a/calendar/common/authentication.h b/calendar/common/authentication.h
index 7d9d7f5fa7..e4e0599878 100644
--- a/calendar/common/authentication.h
+++ b/calendar/common/authentication.h
@@ -27,9 +27,9 @@
#include <libedataserver/e-source.h>
#include <libecal/e-cal.h>
-ECal *auth_new_cal_from_default (ECalSourceType type);
-ECal *auth_new_cal_from_source (ESource *source, ECalSourceType type);
-ECal *auth_new_cal_from_uri (const gchar *uri, ECalSourceType type);
-void auth_cal_forget_password (ECal *ecal);
+ECal *e_auth_new_cal_from_default (ECalSourceType type);
+ECal *e_auth_new_cal_from_source (ESource *source, ECalSourceType type);
+ECal *e_auth_new_cal_from_uri (const gchar *uri, ECalSourceType type);
+void e_auth_cal_forget_password (ECal *ecal);
#endif