[evolution-patches] patch for weather calendar backend
- From: Rodrigo Moya <rodrigo novell com>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] patch for weather calendar backend
- Date: Fri, 18 Feb 2005 17:07:12 +0100
--
Rodrigo Moya <rodrigo novell com>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.422
diff -u -p -r1.422 ChangeLog
--- ChangeLog 17 Feb 2005 10:15:17 -0000 1.422
+++ ChangeLog 18 Feb 2005 16:08:48 -0000
@@ -1,3 +1,41 @@
+2005-02-18 Rodrigo Moya <rodrigo novell com>
+
+ * backends/weather/e-cal-backend-weather.c
+ (e_cal_backend_weather_get_static_capabilities): 'capabilities' is not
+ an array, but an out char * argument.
+
2005-02-17 Chenthill Palanisamy <pchenthill novell com>
* backends/groupwise/e-cal-backend-groupwise.c:
Index: backends/weather/e-cal-backend-weather.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/weather/e-cal-backend-weather.c,v
retrieving revision 1.6
diff -u -p -r1.6 e-cal-backend-weather.c
--- backends/weather/e-cal-backend-weather.c 7 Feb 2005 22:00:26 -0000 1.6
+++ backends/weather/e-cal-backend-weather.c 18 Feb 2005 16:08:48 -0000
@@ -408,21 +408,16 @@ e_cal_backend_weather_get_ldap_attribute
return GNOME_Evolution_Calendar_Success;
}
-static char *sc[] = {
- CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT,
- CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS,
- CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS,
- CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS,
- CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT,
- CAL_STATIC_CAPABILITY_NO_THISANDFUTURE,
- CAL_STATIC_CAPABILITY_NO_THISANDPRIOR,
- NULL
-};
-
static ECalBackendSyncStatus
e_cal_backend_weather_get_static_capabilities (ECalBackendSync *backend, EDataCal *cal, char **capabilities)
{
- *capabilities = sc;
+ *capabilities = g_strdup (CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT "," \
+ CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS "," \
+ CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS "," \
+ CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS "," \
+ CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT "," \
+ CAL_STATIC_CAPABILITY_NO_THISANDFUTURE "," \
+ CAL_STATIC_CAPABILITY_NO_THISANDPRIOR);
return GNOME_Evolution_Calendar_Success;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]