Commits on Source (7)
-
In the next commits we'll add another widget to the code, so rename this one to frame_widget. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
c9e76869 -
Cosmetic change. Instead of accessing image->frame_widget on the widget handlers, use the parameter widget. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
c427ae5a -
In the next commits we'll add support to extract the ICC information from the images and use the CM&HDR protocol extension to present them with the ICC data. Currently the decorations, background and the image content are presented on the same surface. As we want to apply the ICC only on the image content, move it to a subsurface. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
cfc886fc -
Cosmetic changes. Move the image_widget handlers closer to each other. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
ca01b1ff -
Do not forget to destroy the cairo surface. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
8af763fb -
Do not forget to destroy the filename. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
13f09a54 -
If png_create_info_struct() fails, we should pass NULL to png_destroy_read_struct(), and not the address of the info we just failed to create. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
27a8cbee