mirror of https://github.com/GNOME/gimp.git
app: fix incompatible pointer type warning in gimpviewrendererdrawable.c
... more GLib 2.58 fallout.
This commit is contained in:
parent
a84b57e67e
commit
a5c8dd5c73
|
@ -379,7 +379,13 @@ gimp_view_renderer_drawable_cancel_render (GimpViewRendererDrawable *renderdrawa
|
|||
* after the drawable had died, and our completion callback is prepared to
|
||||
* handle cancelation.
|
||||
*/
|
||||
g_clear_pointer (&renderdrawable->priv->render_async, gimp_cancelable_cancel);
|
||||
if (renderdrawable->priv->render_async)
|
||||
{
|
||||
gimp_cancelable_cancel (
|
||||
GIMP_CANCELABLE (renderdrawable->priv->render_async));
|
||||
|
||||
renderdrawable->priv->render_async = NULL;
|
||||
}
|
||||
|
||||
g_clear_object (&renderdrawable->priv->render_widget);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue