[gtk/gtk-3-24] Fix "A11y: Add support for AtkTableCell"



commit c876c74eb73fe6daa279b42f9e0a9566ba1ced87
Author: Chun-wei Fan <fanc999 yahoo com tw>
Date:   Wed Dec 26 12:17:20 2018 +0800

    Fix "A11y: Add support for AtkTableCell"
    
    Make sure that the return types of the vfuncs match the ones that are
    specified for post-atk-2.11.x AtkTableCellIface, since we already
    require atk-2.15.1 and later.

 gtk/a11y/gtkcellaccessible.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/a11y/gtkcellaccessible.c b/gtk/a11y/gtkcellaccessible.c
index ebbf096b3b..7586091853 100644
--- a/gtk/a11y/gtkcellaccessible.c
+++ b/gtk/a11y/gtkcellaccessible.c
@@ -368,7 +368,7 @@ atk_component_interface_init (AtkComponentIface *iface)
   iface->grab_focus = gtk_cell_accessible_grab_focus;
 }
 
-static gboolean
+static int
 gtk_cell_accessible_get_column_span (AtkTableCell *table_cell)
 {
   return 1;
@@ -387,7 +387,7 @@ gtk_cell_accessible_get_column_header_cells (AtkTableCell *table_cell)
                                                              cell);
 }
 
-static gboolean
+static int
 gtk_cell_accessible_get_position (AtkTableCell *table_cell,
                                   gint         *row,
                                   gint         *column)
@@ -404,7 +404,7 @@ gtk_cell_accessible_get_position (AtkTableCell *table_cell,
   return ((row && *row > 0) || (column && *column > 0));
 }
 
-static gboolean
+static int
 gtk_cell_accessible_get_row_span (AtkTableCell *table_cell)
 {
   return 1;
@@ -423,7 +423,7 @@ gtk_cell_accessible_get_row_header_cells (AtkTableCell *table_cell)
                                                           cell);
 }
 
-static gboolean
+static AtkObject *
 gtk_cell_accessible_get_table (AtkTableCell *table_cell)
 {
   AtkObject *obj;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]