Function

GLibclear_error

since: 2.0

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.

Available since: 2.0