[gtk+] a11y: Revert 22a47c3dbd7875af10df58feedd81d7b661222b6
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] a11y: Revert 22a47c3dbd7875af10df58feedd81d7b661222b6
- Date: Fri, 16 Dec 2011 03:57:18 +0000 (UTC)
commit 25445837ca75977d986435ac4862f7350605b362
Author: Benjamin Otte <otte redhat com>
Date: Mon Dec 12 11:20:33 2011 +0100
a11y: Revert 22a47c3dbd7875af10df58feedd81d7b661222b6
The fix is wrong on multiple levels. I'll add a proper fix soon.
https://bugzilla.gnome.org/show_bug.cgi?id=548782
gtk/a11y/gtktreeviewaccessible.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/gtk/a11y/gtktreeviewaccessible.c b/gtk/a11y/gtktreeviewaccessible.c
index f1a8290..deb5ff4 100644
--- a/gtk/a11y/gtktreeviewaccessible.c
+++ b/gtk/a11y/gtktreeviewaccessible.c
@@ -1788,7 +1788,7 @@ model_row_deleted (GtkTreeModel *tree_model,
GtkTreePath *path_copy;
AtkObject *atk_obj;
GtkTreeViewAccessible *accessible;
- gint row, col;
+ gint row;
atk_obj = gtk_widget_get_accessible (GTK_WIDGET (tree_view));
accessible = GTK_TREE_VIEW_ACCESSIBLE (atk_obj);
@@ -1813,14 +1813,6 @@ model_row_deleted (GtkTreeModel *tree_model,
g_signal_emit_by_name (atk_obj, "row-deleted", row,
accessible->n_children_deleted + 1);
accessible->n_children_deleted = 0;
-
- /* Generate children-changed signals */
- for (col = 0; col < get_n_columns (tree_view); col++)
- {
- /* Pass NULL as the child object, 4th argument */
- g_signal_emit_by_name (atk_obj, "children-changed::remove",
- ((row * get_n_columns (tree_view)) + col), NULL, NULL);
- }
}
/* This function gets called when a row is deleted or when rows are
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]