3069
3086
g_return_val_if_fail (error == NULL || *error == NULL, NULL);
3071
3088
/* Return if there is no photo */
3077
3094
_link = gdata_entry_look_up_link (GDATA_ENTRY (self), "http://schemas.google.com/contacts/2008/rel#photo");
3078
3095
g_assert (_link != NULL);
3079
message = _gdata_service_build_message (GDATA_SERVICE (service), SOUP_METHOD_GET, gdata_link_get_uri (_link), NULL, FALSE);
3096
message = _gdata_service_build_message (GDATA_SERVICE (service), gdata_contacts_service_get_primary_authorization_domain (),
3097
SOUP_METHOD_GET, gdata_link_get_uri (_link), NULL, FALSE);
3082
3100
status = _gdata_service_send_message (GDATA_SERVICE (service), message, cancellable, error);