[gtk+/wip/baedert/box: 77/108] 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: 77/108] buttonaccessible: Stop looking at the button's image
- Date: Mon, 17 Oct 2016 14:57:24 +0000 (UTC)
commit af39b5853c209c1655ff0ea5558c0c450685a6ca
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]