[gtk+/wip/baedert/box: 36/72] buttonaccessible: Stop looking at the button's image
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/box: 36/72] buttonaccessible: Stop looking at the button's image
- Date: Mon, 17 Oct 2016 16:52:44 +0000 (UTC)
commit eb4d00117627b8d12f7dec1ec2041814d6636451
Author: Timm Bäder <mail baedert org>
Date: Fri Oct 14 15:58:48 2016 +0200
buttonaccessible: Stop looking at the button's image
gtk/a11y/gtkbuttonaccessible.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/a11y/gtkbuttonaccessible.c b/gtk/a11y/gtkbuttonaccessible.c
index 4873399..90fb259 100644
--- a/gtk/a11y/gtkbuttonaccessible.c
+++ b/gtk/a11y/gtkbuttonaccessible.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]