[gtk+/wip/baedert/box: 210/234] 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: 210/234] buttonaccessible: Stop looking at the button's image
- Date: Sun, 16 Oct 2016 17:12:38 +0000 (UTC)
commit ba94088f5a0c0e4c5633fc843385bcd5807034bf
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]