Function

GLibclear_error

Declaration

void
g_clear_error (
  void
  GError** error
)

Description

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