Skip to content

Fix warnings when dragging or receiving inputs on empty view

Krifa75 requested to merge Ordissimo/eog:fix-warnings-empty-view into master

Hello,

I found that when dragging or doing pan on an empty view, there is multiple warnings appearing due to the fact that image is NULL.
This merge request just check if image is not null in those signals before continuing.

Note that it's possible that the rotate/zoom gestures have this problem but I don't know how to apply the gestures with GTK_DEBUG=touchscreen.

Thanks

Edited by Krifa75

Merge request reports