Package: gtk+2.0 / 2.24.32-3

modules-other-gail-gailtreeview.c-Fix-Wunused-but-set-var.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
From: Brady Minardi <bradyminardi@fake-box.com>
Date: Sat, 14 Jul 2018 08:00:56 +0000
Subject: modules/other/gail/gailtreeview.c: Fix -Wunused-but-set-variable
 warning

Origin: upstream, 2.24.33, commit:4d37ee2e79b0d459183d0abb7f2453a26940511b
---
 modules/other/gail/gailtreeview.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
index bcc406a..ee8fa00 100644
--- a/modules/other/gail/gailtreeview.c
+++ b/modules/other/gail/gailtreeview.c
@@ -3983,7 +3983,6 @@ static void
 toggle_cell_toggled (GailCell *cell)
 {
   GailTreeViewCellInfo *cell_info;
-  GtkTreeView *tree_view;
   GtkTreePath *path;
   gchar *pathstring;
   GList *renderers, *cur_renderer;
@@ -4002,7 +4001,6 @@ toggle_cell_toggled (GailCell *cell)
   gail_return_if_fail (cell_info->cell_col_ref);
   gail_return_if_fail (cell_info->cell_row_ref);
 
-  tree_view = GTK_TREE_VIEW (GTK_ACCESSIBLE (parent)->widget);
   path = gtk_tree_row_reference_get_path (cell_info->cell_row_ref);
   gail_return_if_fail (path);
   pathstring = gtk_tree_path_to_string (path);
@@ -4040,13 +4038,11 @@ edit_cell (GailCell *cell)
   GtkTreeView *tree_view;
   GtkTreePath *path;
   AtkObject *parent;
-  gboolean is_container_cell = FALSE;
 
   editing = TRUE;
   parent = atk_object_get_parent (ATK_OBJECT (cell));
   if (GAIL_IS_CONTAINER_CELL (parent))
     {
-      is_container_cell = TRUE;
       parent = atk_object_get_parent (parent);
     }
 
@@ -4070,13 +4066,11 @@ activate_cell (GailCell *cell)
   GtkTreeView *tree_view;
   GtkTreePath *path;
   AtkObject *parent;
-  gboolean is_container_cell = FALSE;
 
   editing = TRUE;
   parent = atk_object_get_parent (ATK_OBJECT (cell));
   if (GAIL_IS_CONTAINER_CELL (parent))
     {
-      is_container_cell = TRUE;
       parent = atk_object_get_parent (parent);
     }