app: make an assertion more correct in GimpDrawableUndo

This commit is contained in:
Michael Natterer 2016-11-07 13:10:21 +01:00
parent bb1785396f
commit be66d1a2be
1 changed files with 1 additions and 1 deletions

View File

@ -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