[gtk/wip/ebassi/a11y-2] spinbuttonaccessible: Fix an oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ebassi/a11y-2] spinbuttonaccessible: Fix an oversight
- Date: Fri, 5 Jun 2020 21:23:12 +0000 (UTC)
commit be6bcf882deadbcc20d5c62aae8b793f684f1837
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 5 17:21:26 2020 -0400
spinbuttonaccessible: Fix an oversight
We need to pass the accessible to the signal handler.
gtk/a11y/gtkspinbuttonaccessible.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/a11y/gtkspinbuttonaccessible.c b/gtk/a11y/gtkspinbuttonaccessible.c
index e50d742897..01e2a15634 100644
--- a/gtk/a11y/gtkspinbuttonaccessible.c
+++ b/gtk/a11y/gtkspinbuttonaccessible.c
@@ -76,7 +76,7 @@ gtk_spin_button_accessible_initialize (AtkObject *obj,
{
ATK_OBJECT_CLASS (gtk_spin_button_accessible_parent_class)->initialize (obj, data);
- g_signal_connect (data, "notify::adjustment", G_CALLBACK (on_adjustment_changed), NULL);
+ g_signal_connect (data, "notify::adjustment", G_CALLBACK (on_adjustment_changed), obj);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]