- /* FIXME: for consistency, we should call resize_cb() on
- each row. */
- }
- else if (new_width == -1)
- {
- datasheet_delete_columns (ds, column, 1);
- datasheet_insert_column (ds, NULL, -1, column);
+ if (old_width != -1)
+ {
+ datasheet_delete_columns (ds, column, 1);
+ datasheet_insert_column (ds, NULL, -1, column);
+ }