From: Mike Gorse Date: Fri, 4 Sep 2009 14:26:27 +0000 (-0500) Subject: 2009-09-04 Mike Gorse X-Git-Tag: AT_SPI2_ATK_0_1_3~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58fc4a4fbf3b238c701613dfdc334fe8db3ec9d0;p=platform%2Fupstream%2Fat-spi2-atk.git 2009-09-04 Mike Gorse Do not dereference row and column header objects. --- 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 *