summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornags <nags@nags-desktop.(none)>2009-10-21 22:01:09 -0700
committernags <nags@nags-desktop.(none)>2009-10-21 22:01:09 -0700
commit51e30306445f45a872b29ec531a72c956883bc44 (patch)
tree8093552b21809936bf9b233abaa95ab87b574e72
parent7630a24524f8620b2714037f7f9448e3db91d2b1 (diff)
Adam Collard <adam.collard@gmail.com> - 599119 checkrow action fails on table row - Patch to fix similar problems with uncheck_row for both table and tree table roles
-rw-r--r--src/table.c5
-rw-r--r--src/tree-table.c4
2 files changed, 0 insertions, 9 deletions
diff --git a/src/table.c b/src/table.c
index 9c63585..35482b2 100644
--- a/src/table.c
+++ b/src/table.c
@@ -1212,11 +1212,6 @@ uncheck_row (Accessible *object, int row, int col, FILE *log_fp)
char *name = NULL;
char msg[256];
- if (Accessible_isAction (object) == FALSE) {
- error = LDTP_ERROR_UNCHECK_ACTION_FAILED;
- return error;
- }
-
table = Accessible_getTable (object);
n_rows = AccessibleTable_getNRows (table);
n_cols = AccessibleTable_getNColumns (table);
diff --git a/src/tree-table.c b/src/tree-table.c
index be486e1..e744131 100644
--- a/src/tree-table.c
+++ b/src/tree-table.c
@@ -1614,10 +1614,6 @@ tree_table_main (LDTPClientContext* cctxt, int command)
long row = 0;
long col = 0;
GSList *l = cctxt->req->arg_list;
- if (Accessible_isAction (cctxt->gui_handle->handle) == FALSE) {
- error = LDTP_ERROR_UNCHECK_ACTION_FAILED;
- break;
- }
if (l && l->data) {
row = atol (l->data);
l = l->next;