Method

GLibErrorcopy

Declaration

GError*
g_error_copy (
  const GError* error
)

Description

Makes a copy of error.

Return value

Returns: GError
 

A new GError.

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