forked from AuroraMiddleware/gtk
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:
parent
d7e5f5b368
commit
dabd09bc42
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user