[evolution-data-server] Silence some runtime warnings from calendar backends.



commit aec9a51a7a38711cb2f19aa42fe9d71c38c5c4f2
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Feb 6 07:32:19 2013 -0500

    Silence some runtime warnings from calendar backends.

 .../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;
 	}



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