stages: 2/01-busybox: update .config
[dragora.git] / patches / gtk2 / modules-other-gail-gailtreeview.c-Fix-Wunused-but-set-var.patch
blob3f752a5d24219089cd40912e7b68d48b445bdad8
1 From: Brady Minardi <bradyminardi@fake-box.com>
2 Date: Sat, 14 Jul 2018 08:00:56 +0000
3 Subject: modules/other/gail/gailtreeview.c: Fix -Wunused-but-set-variable
4 warning
6 Origin: upstream, 2.24.33, commit:4d37ee2e79b0d459183d0abb7f2453a26940511b
7 ---
8 modules/other/gail/gailtreeview.c | 6 ------
9 1 file changed, 6 deletions(-)
11 diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
12 index bcc406a..ee8fa00 100644
13 --- a/modules/other/gail/gailtreeview.c
14 +++ b/modules/other/gail/gailtreeview.c
15 @@ -3983,7 +3983,6 @@ static void
16 toggle_cell_toggled (GailCell *cell)
18 GailTreeViewCellInfo *cell_info;
19 - GtkTreeView *tree_view;
20 GtkTreePath *path;
21 gchar *pathstring;
22 GList *renderers, *cur_renderer;
23 @@ -4002,7 +4001,6 @@ toggle_cell_toggled (GailCell *cell)
24 gail_return_if_fail (cell_info->cell_col_ref);
25 gail_return_if_fail (cell_info->cell_row_ref);
27 - tree_view = GTK_TREE_VIEW (GTK_ACCESSIBLE (parent)->widget);
28 path = gtk_tree_row_reference_get_path (cell_info->cell_row_ref);
29 gail_return_if_fail (path);
30 pathstring = gtk_tree_path_to_string (path);
31 @@ -4040,13 +4038,11 @@ edit_cell (GailCell *cell)
32 GtkTreeView *tree_view;
33 GtkTreePath *path;
34 AtkObject *parent;
35 - gboolean is_container_cell = FALSE;
37 editing = TRUE;
38 parent = atk_object_get_parent (ATK_OBJECT (cell));
39 if (GAIL_IS_CONTAINER_CELL (parent))
41 - is_container_cell = TRUE;
42 parent = atk_object_get_parent (parent);
45 @@ -4070,13 +4066,11 @@ activate_cell (GailCell *cell)
46 GtkTreeView *tree_view;
47 GtkTreePath *path;
48 AtkObject *parent;
49 - gboolean is_container_cell = FALSE;
51 editing = TRUE;
52 parent = atk_object_get_parent (ATK_OBJECT (cell));
53 if (GAIL_IS_CONTAINER_CELL (parent))
55 - is_container_cell = TRUE;
56 parent = atk_object_get_parent (parent);