static AtkObject* webkit_accessible_table_ref_at(AtkTable* table, gint row, gint column) { AccessibilityTableCell* AXCell = cell(table, row, column); if (!AXCell) return 0; return AXCell->wrapper(); }
static AtkObject* webkitAccessibleTableRefAt(AtkTable* table, gint row, gint column) { AccessibilityTableCell* axCell = cell(table, row, column); if (!axCell) return 0; AtkObject* cell = axCell->wrapper(); if (!cell) return 0; // This method transfers full ownership over the returned // AtkObject, so an extra reference is needed here. return ATK_OBJECT(g_object_ref(cell)); }
static AtkObject* webkitAccessibleTableRefAt(AtkTable* table, gint row, gint column) { g_return_val_if_fail(ATK_TABLE(table), 0); returnValIfWebKitAccessibleIsInvalid(WEBKIT_ACCESSIBLE(table), 0); AccessibilityTableCell* axCell = cell(table, row, column); if (!axCell) return 0; AtkObject* cell = axCell->wrapper(); if (!cell) return 0; // This method transfers full ownership over the returned // AtkObject, so an extra reference is needed here. return ATK_OBJECT(g_object_ref(cell)); }