summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-02-24 15:36:03 +0100
committerBenjamin Otte <otte@redhat.com>2014-02-26 02:36:08 +0100
commit70ff97e812e5b96b503dcc542eefac899f7c9131 (patch)
tree3fc4b1c2b5777d11189cb2f16a5ea527ff3f6e6e /gtk
parent2fdd420e780aae8565845c380d3d7b6f3a8ad89d (diff)
downloadgtk+-70ff97e812e5b96b503dcc542eefac899f7c9131.tar.gz
a11y: Remove unused variable
Diffstat (limited to 'gtk')
-rw-r--r--gtk/a11y/gtktreeviewaccessible.c6
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);
}