On Sun, Sep 7, 2008 at 1:47 PM, Mikkel Kamstrup Erlandsen <[EMAIL PROTECTED]> wrote: > * Under which circumstances does the methods throw errors and when do > they silently fail? > - What happens if I Queue the file "[EMAIL PROTECTED]"? > - Unqueuing a non-exisitng handle is probably not worth throwing > errors for, but should be noted
I don't think any errors for unqueue make sense as trying to unqueue an already finished job would be no different from trying to unqueue an arbitrary number. Wouldn't it make more sense to unqueue single jobs by URI or by URI prefix (say I want to cancel indexing the directory I am no longer monitoring)? Using ints here would allow one buggy process to accidentally break other processes (say a bug leads to an uninitialized gint which matches a real queue ID). -- Patryk Zawadzki _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
