Silence some runtime warnings from calendar backends.
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 6 Feb 2013 12:32:19 +0000 (07:32 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Wed, 6 Feb 2013 12:33:08 +0000 (07:33 -0500)
calendar/backends/contacts/e-cal-backend-contacts.c
calendar/backends/weather/e-cal-backend-weather.c

index f764116..2f86fba 100644 (file)
@@ -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;
        }
index 4da2807..018b561 100644 (file)
@@ -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;
        }