/* @a_this: the this pointer of the current instance of #CRSimpleSel. @a_sel: the simple selector to append. Returns: the new list upon successfull completion, an error code otherwise.  */
CRSimpleSel* cr_simple_sel_append_simple_sel(CRSimpleSel *a_this, CRSimpleSel *a_sel)
/* @a_this: the this pointer of the current instance of #CRSimpleSel. @a_sel: the simple selector to append. Returns: the new list upon successfull completion, an error code otherwise.  */
CRSimpleSel* cr_simple_sel_append_simple_sel(CRSimpleSel *a_this, CRSimpleSel *a_sel)
{
        CRSimpleSel *cur = NULL;
        g_return_val_if_fail (a_sel, NULL);
        if (a_this == NULL)
                return a_sel;
        for (cur = a_this; cur->next; cur = cur->next) ;
        cur->next = a_sel;
        a_sel->prev = cur;
        return a_this;
}