diff options
Diffstat (limited to 'calendar/cal-client')
-rw-r--r-- | calendar/cal-client/Makefile.am | 30 | ||||
-rw-r--r-- | calendar/cal-client/cal-client.c | 2 |
2 files changed, 18 insertions, 14 deletions
diff --git a/calendar/cal-client/Makefile.am b/calendar/cal-client/Makefile.am index b8190fe5aa..9008c05940 100644 --- a/calendar/cal-client/Makefile.am +++ b/calendar/cal-client/Makefile.am @@ -1,6 +1,19 @@ -# -# libcal-client -# +INCLUDES = \ + -DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \ + -DG_LOG_DOMAIN=\"cal-client\" \ + -I$(top_srcdir)/calendar \ + -I$(srcdir) -I$(top_srcdir) \ + -I. \ + -I.. \ + -I$(top_builddir) \ + -I$(top_srcdir)/libical/src \ + $(EVOLUTION_CALENDAR_CFLAGS) + +AM_CFLAGS = \ + -DGTK_DISABLE_DEPRECATED=1 \ + -DGDK_DISABLE_DEPRECATED=1 \ + -DG_DISABLE_DEPRECATED=1 \ + -DGNOME_DISABLE_DEPRECATED=1 CORBA_GENERATED_C = \ evolution-calendar-common.c \ @@ -20,17 +33,6 @@ $(CORBA_GENERATED_H): $(idls) $(ORBIT_IDL) $(idl_flags) $(srcdir)/../idl/evolution-calendar.idl $(CORBA_GENERATED_C): $(CORBA_GENERATED_H) -INCLUDES = \ - -DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \ - -DG_LOG_DOMAIN=\"cal-client\" \ - -I$(top_srcdir)/calendar \ - -I$(srcdir) -I$(top_srcdir) \ - -I. \ - -I.. \ - -I$(top_builddir) \ - -I$(top_srcdir)/libical/src \ - $(EVOLUTION_CALENDAR_CFLAGS) - privlib_LTLIBRARIES = libcal-client.la libcal_clientincludedir = $(privincludedir)/cal-client diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index a77d7731dd..8aea224485 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -3806,6 +3806,8 @@ cal_client_get_error_message (ECalendarStatus status) return _("A CORBA esception has occurred"); case E_CALENDAR_STATUS_OTHER_ERROR : return _("Unknown error"); + case E_CALENDAR_STATUS_OK : + return _("No error"); } return NULL; |