Method

GLibErrorcopy

Declaration [src]

GError*
g_error_copy (
  const GError* error
)

Description [src]

Makes a copy of error.

Return value

Type: GError

A new GError.

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