Re: [Planner Dev] New undo patch: Link/unlink tasks



On lör, 2004-05-08 at 09:16 +0000, Alvaro del Castillo wrote:

> So when I do:
> 
> cmd = planner_task_tree_task_cmd_link (tree, task, target_task,
> MRP_RELATION_FS, 0);
> 
> I need a way to recover the error. If cmd is NULL, the GError has to be
> in the arguments list, so we need to modify all our undo/redo commands
> to support a last arguments for a GError.

We don't need it for all, just a few, right? Most commands don't have
error dialogs.

/Richard

-- 
Imendio HB, http://www.imendio.com/




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