Function glib::clear_error[][src]

pub fn clear_error() -> Result<(), Error>
Expand description

If err or *err is None, does nothing. Otherwise, calls g_error_free() on *err and sets *err to None.