the image is empty
Image.getAnimation
gdkpixbuf.pixbuf_animation.PixbufAnimation getAnimation()Gets the #GdkPixbufAnimation being displayed by the #GtkImage. The storage type of the image must be [gtk.types.ImageType.Empty] or [gtk.types.ImageType.Animation] (see [gtk.image.Image.getStorageType]). The caller of this function does not own a reference to the returned animation.
Returns
the displayed animation, or null if