Method

GtkSourceRegionintersect_region

Declaration [src]

GtkSourceRegion*
gtk_source_region_intersect_region (
  GtkSourceRegion* region1,
  GtkSourceRegion* region2
)

Description [src]

Returns the intersection between region1 and region2.

region1 and region2 are not modified.

Parameters

region2 GtkSourceRegion
 

A GtkSourceRegion, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: GtkSourceRegion
 

The intersection as a GtkSourceRegion object.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.