def remove_adapter(widget_class, flavour=None):
    """Removes the given widget class information from the default set
    of adapters.

    If widget_class had been previously added by using add_adapter,
    the added adapter will be removed, restoring possibly previusly
    existing adapter(s). Notice that this function will remove only
    *one* adapter about given wiget_class (the first found in order),
    even if many are currently stored.

    @param flavour has to be used when the entry was added with a
    particular flavour.

    Returns True if one adapter was removed, False if no adapter was
    removed."""
    for it,tu in enumerate(__def_adapter):
        if (widget_class == tu[WIDGET] and flavour == tu[FLAVOUR]):
            del __def_adapter[it]
            return True

    return False
Removes the given widget class information from the default set
    of adapters.

    If widget_class had been previously added by using add_adapter,
    the added adapter will be removed, restoring possibly previusly
    existing adapter(s). Notice that this function will remove only
    *one* adapter about given wiget_class (the first found in order),
    even if many are currently stored.

    @param flavour has to be used when the entry was added with a
    particular flavour.

    Returns True if one adapter was removed, False if no adapter was
    removed.