From aec9a51a7a38711cb2f19aa42fe9d71c38c5c4f2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 6 Feb 2013 07:32:19 -0500 Subject: [PATCH] Silence some runtime warnings from calendar backends. --- calendar/backends/contacts/e-cal-backend-contacts.c | 2 +- calendar/backends/weather/e-cal-backend-weather.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/backends/contacts/e-cal-backend-contacts.c b/calendar/backends/contacts/e-cal-backend-contacts.c index f764116..2f86fba 100644 --- a/calendar/backends/contacts/e-cal-backend-contacts.c +++ b/calendar/backends/contacts/e-cal-backend-contacts.c @@ -1023,7 +1023,7 @@ e_cal_backend_contacts_get_backend_property (ECalBackendSync *backend, */ *prop_value = NULL; } else if (g_str_equal (prop_name, CAL_BACKEND_PROPERTY_DEFAULT_OBJECT)) { - g_propagate_error (perror, EDC_ERROR (UnsupportedMethod)); + *prop_value = NULL; } else { processed = FALSE; } diff --git a/calendar/backends/weather/e-cal-backend-weather.c b/calendar/backends/weather/e-cal-backend-weather.c index 4da2807..018b561 100644 --- a/calendar/backends/weather/e-cal-backend-weather.c +++ b/calendar/backends/weather/e-cal-backend-weather.c @@ -453,7 +453,7 @@ e_cal_backend_weather_get_backend_property (ECalBackendSync *backend, /* Weather has no particular email addresses associated with it */ *prop_value = NULL; } else if (g_str_equal (prop_name, CAL_BACKEND_PROPERTY_DEFAULT_OBJECT)) { - g_propagate_error (perror, EDC_ERROR (UnsupportedMethod)); + *prop_value = NULL; } else { processed = FALSE; } -- 2.7.4