diff --git a/app/core/gimpdrawableundo.c b/app/core/gimpdrawableundo.c index 7c0f6f40de..1af5aebd35 100644 --- a/app/core/gimpdrawableundo.c +++ b/app/core/gimpdrawableundo.c @@ -112,7 +112,7 @@ gimp_drawable_undo_constructed (GObject *object) G_OBJECT_CLASS (parent_class)->constructed (object); g_assert (GIMP_IS_DRAWABLE (GIMP_ITEM_UNDO (object)->item)); - g_assert (drawable_undo->buffer != NULL); + g_assert (GEGL_IS_BUFFER (drawable_undo->buffer)); } static void