[gtk+] a11y: Report correct spinner size
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] a11y: Report correct spinner size
- Date: Fri, 10 Nov 2017 14:05:12 +0000 (UTC)
commit 51c5ccf412ceed008a9220f6ab859839352de31a
Author: Benjamin Otte <otte redhat com>
Date: Fri Nov 10 14:34:42 2017 +0100
a11y: Report correct spinner size
gtk/a11y/gtkspinneraccessible.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/a11y/gtkspinneraccessible.c b/gtk/a11y/gtkspinneraccessible.c
index 7517f33..16b02e2 100644
--- a/gtk/a11y/gtkspinneraccessible.c
+++ b/gtk/a11y/gtkspinneraccessible.c
@@ -69,8 +69,8 @@ gtk_spinner_accessible_image_get_size (AtkImage *image,
return;
}
- *width = gtk_widget_get_allocated_width (widget);
- *height = gtk_widget_get_allocated_height (widget);
+ *width = gtk_widget_get_width (widget);
+ *height = gtk_widget_get_height (widget);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]