a11y: Don't re turn uninitialized memory

For some reason, this was now showing up in the
a11y tests as random image sizes in the about
dialog test.
This commit is contained in:
Matthias Clasen 2020-03-21 21:06:35 -04:00
parent d7e5f5b368
commit dabd09bc42

View File

@ -309,6 +309,11 @@ gtk_image_accessible_get_image_size (AtkImage *image,
if (gtk_image_get_storage_type (gtk_image) != GTK_IMAGE_EMPTY)
gtk_image_get_image_size (gtk_image, width, height);
else
{
*height = 0;
*width = 0;
}
}
static gboolean