File: gtk2-c89-6.patch

package info (click to toggle)
gtk%2B2.0 2.24.33-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 124,856 kB
  • sloc: ansic: 574,091; makefile: 5,172; sh: 4,624; xml: 1,193; python: 1,117; perl: 749; awk: 49; cpp: 34
file content (23 lines) | stat: -rw-r--r-- 955 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Florian Weimer <fweimer@redhat.com>
Date: Sun, 21 Jan 2024 10:39:08 +0100
Subject: gtk2-c89-6

Convert to the expected pointer.  This was not fixed before the file
was removed upstream.
---
 modules/other/gail/gailtreeview.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
index 23923c5..ac6ff0a 100644
--- a/modules/other/gail/gailtreeview.c
+++ b/modules/other/gail/gailtreeview.c
@@ -995,7 +995,7 @@ gail_tree_view_ref_child (AtkObject *obj,
         gail_cell_add_state (cell, ATK_STATE_FOCUSABLE, FALSE);
         if (focus_index == i)
           {
-            gailview->focus_cell = g_object_ref (cell);
+            gailview->focus_cell = ATK_OBJECT (g_object_ref (cell));
             gail_cell_add_state (cell, ATK_STATE_FOCUSED, FALSE);
             g_signal_emit_by_name (gailview,
                                    "active-descendant-changed",