[gtk+] a11y: Remove unused variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] a11y: Remove unused variable
- Date: Fri, 16 Dec 2011 03:58:48 +0000 (UTC)
commit dfb82333a3ea8bb261fe234d78a416fddc9eed43
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 14 22:20:38 2011 +0100
a11y: Remove unused variable
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 dc38b59..93921f6 100644
--- a/gtk/a11y/gtktreeviewaccessible.c
+++ b/gtk/a11y/gtktreeviewaccessible.c
@@ -368,7 +368,6 @@ gtk_tree_view_accessible_ref_child (AtkObject *obj,
GtkContainerCellAccessible *container = NULL;
GtkRendererCellAccessible *renderer_cell;
gboolean is_expander, is_expanded, retval;
- gboolean editable = FALSE;
gint focus_index;
widget = gtk_accessible_get_widget (GTK_ACCESSIBLE (obj));
@@ -457,10 +456,7 @@ gtk_tree_view_accessible_ref_child (AtkObject *obj,
renderer = GTK_CELL_RENDERER (l->data);
if (GTK_IS_CELL_RENDERER_TEXT (renderer))
- {
- g_object_get (G_OBJECT (renderer), "editable", &editable, NULL);
- child = _gtk_text_cell_accessible_new ();
- }
+ child = _gtk_text_cell_accessible_new ();
else if (GTK_IS_CELL_RENDERER_TOGGLE (renderer))
child = _gtk_boolean_cell_accessible_new ();
else if (GTK_IS_CELL_RENDERER_PIXBUF (renderer))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]