Method

IdeBufferManagerfind_buffer

Declaration

IdeBuffer*
ide_buffer_manager_find_buffer (
  IdeBufferManager* self,
  GFile* file
)

Description

Locates the IdeBuffer that matches GFile, if any.

Parameters

file

Type: GFile

A GFile.

The data is owned by the caller of the method.

Return value

Type: IdeBuffer

An IdeBuffer or NULL.

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