[at-spi2-atk/mgorse: 5/8] 2009-09-04 Mike Gorse <mgorse novell com>



commit 58fc4a4fbf3b238c701613dfdc334fe8db3ec9d0
Author: Mike Gorse <mgorse novell com>
Date:   Fri Sep 4 09:26:27 2009 -0500

    2009-09-04  Mike Gorse  <mgorse novell com>
    
    Do not dereference row and column header objects.

 atk-adaptor/table-adaptor.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/atk-adaptor/table-adaptor.c b/atk-adaptor/table-adaptor.c
index f57af53..33aaa99 100644
--- a/atk-adaptor/table-adaptor.c
+++ b/atk-adaptor/table-adaptor.c
@@ -332,7 +332,8 @@ impl_getRowHeader (DBusConnection * bus, DBusMessage * message,
       return droute_invalid_arguments_error (message);
     }
   obj = atk_table_get_row_header (table, row);
-  return spi_dbus_return_object (message, obj, TRUE, TRUE);
+  obj = atk_table_get_row_header (table, row);
+  return spi_dbus_return_object (message, obj, TRUE, FALSE);
 }
 
 static DBusMessage *
@@ -353,7 +354,8 @@ impl_getColumnHeader (DBusConnection * bus, DBusMessage * message,
       return droute_invalid_arguments_error (message);
     }
   obj = atk_table_get_column_header (table, column);
-  return spi_dbus_return_object (message, obj, TRUE, TRUE);
+  obj = atk_table_get_column_header (table, column);
+  return spi_dbus_return_object (message, obj, TRUE, FALSE);
 }
 
 static DBusMessage *



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