diff options
-rw-r--r-- | gtk/a11y/gtktreeviewaccessible.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/a11y/gtktreeviewaccessible.c b/gtk/a11y/gtktreeviewaccessible.c index 915d84c7c2..81f55ea1e5 100644 --- a/gtk/a11y/gtktreeviewaccessible.c +++ b/gtk/a11y/gtktreeviewaccessible.c @@ -378,12 +378,8 @@ create_cell_accessible (GtkTreeView *treeview, */ if (g_list_length (renderer_list) != 1) { - GtkCellAccessible *container_cell; - container = gtk_container_cell_accessible_new (); - - container_cell = GTK_CELL_ACCESSIBLE (container); - _gtk_cell_accessible_initialize (container_cell, GTK_WIDGET (treeview), ATK_OBJECT (accessible)); + _gtk_cell_accessible_initialize (GTK_CELL_ACCESSIBLE (container), GTK_WIDGET (treeview), ATK_OBJECT (accessible)); parent = ATK_OBJECT (container); } |