diff options
author | Joanmarie Diggs <jdiggs@igalia.com> | 2015-04-08 20:08:25 -0400 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-04-10 16:36:06 +0200 |
commit | 8f644101b9023076cf0b77a001c666c23d0aa60c (patch) | |
tree | b4dbe3ba5196f69c3ce19f1dd48f91d3e55afebd /gtk/a11y/gtkcontainercellaccessible.c | |
parent | f87b08ddd391adafebc183bff3c43ee24c804ce6 (diff) | |
download | gtk+-8f644101b9023076cf0b77a001c666c23d0aa60c.tar.gz |
a11y: Only emit signals when cells change; not upon creation
This is a workaround for atspi-atk behaviour.
atspi-atk uses signal emission hooks. So it to already catches
signal emissions on creation of objects, before anyone could even
think of g_signal_connect()ing.
https://bugzilla.gnome.org/show_bug.cgi?id=746706
Diffstat (limited to 'gtk/a11y/gtkcontainercellaccessible.c')
-rw-r--r-- | gtk/a11y/gtkcontainercellaccessible.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/a11y/gtkcontainercellaccessible.c b/gtk/a11y/gtkcontainercellaccessible.c index ad9fb81d34..a756e3cadf 100644 --- a/gtk/a11y/gtkcontainercellaccessible.c +++ b/gtk/a11y/gtkcontainercellaccessible.c @@ -64,13 +64,14 @@ gtk_container_cell_accessible_ref_child (AtkObject *obj, } static void -gtk_container_cell_accessible_update_cache (GtkCellAccessible *cell) +gtk_container_cell_accessible_update_cache (GtkCellAccessible *cell, + gboolean emit_signal) { GtkContainerCellAccessible *container = GTK_CONTAINER_CELL_ACCESSIBLE (cell); GList *l; for (l = container->priv->children; l; l = l->next) - _gtk_cell_accessible_update_cache (l->data); + _gtk_cell_accessible_update_cache (l->data, emit_signal); } static void |