Constructor
GtkSourceFileSavernew
Declaration [src]
GtkSourceFileSaver*
gtk_source_file_saver_new (
GtkSourceBuffer* buffer,
GtkSourceFile* file
)
Description [src]
Creates a new GtkSourceFileSaver
object. The buffer
will be saved to the
GtkSourceFile
‘s location.
This constructor is suitable for a simple “save” operation, when the file
already contains a non-NULL
GtkSourceFile:location
.
Parameters
buffer |
GtkSourceBuffer |
The |
|
The data is owned by the caller of the function. | |
file |
GtkSourceFile |
The |
|
The data is owned by the caller of the function. |
Return value
Returns: | GtkSourceFileSaver |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |