spec/mockspotify/libmockspotify/src/image.c in hallon-0.16.0 vs spec/mockspotify/libmockspotify/src/image.c in hallon-0.17.0
- old
+ new
@@ -55,18 +55,22 @@
tmp_link = sp_link_create_from_image(tmp_image);
return (sp_image *)registry_find(tmp_link->data);
}
-void
+sp_error
sp_image_add_load_callback(sp_image *image, image_loaded_cb *callback, void *userdata)
{
image->callback = callback;
image->userdata = userdata;
+
+ return SP_ERROR_OK;
}
-void
+sp_error
sp_image_remove_load_callback(sp_image *image, image_loaded_cb *UNUSED(callback), void *UNUSED(userdata))
{
image->callback = NULL;
image->userdata = NULL;
+
+ return SP_ERROR_OK;
}