Method

GtkSourceStylecopy

Declaration

GtkSourceStyle*
gtk_source_style_copy (
  const GtkSourceStyle* style
)

Description

Creates a copy of style, that is a new GtkSourceStyle instance which has the same attributes set.

Return value

Returns: GtkSourceStyle
 

Copy of style, call g_object_unref() when you are done with it.

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