Method

GLibErrorcopy

Declaration

GError*
g_error_copy (
  const GError* error
)

Description

Makes a copy of error.

Return value

Type: GError

A new GError.

The caller of the method takes ownership of the data, and is responsible for freeing it.