buttonaccessible: Stop looking at the button's image

This commit is contained in:
Timm Bäder 2016-10-14 15:58:48 +02:00 committed by Benjamin Otte
parent 5789c4fbc3
commit e9a974f4f6

View File

@ -60,7 +60,7 @@ get_image_from_button (GtkWidget *button)
{
GtkWidget *image;
image = gtk_button_get_image (GTK_BUTTON (button));
image = gtk_bin_get_child (GTK_BIN (button));
if (GTK_IS_IMAGE (image))
return image;