Method

GtkSourceFileLoaderload_finish

Declaration [src]

gboolean
gtk_source_file_loader_load_finish (
  GtkSourceFileLoader* loader,
  GAsyncResult* result,
  GError** error
)

Description [src]

Finishes a file loading started with gtk_source_file_loader_load_async().

If the contents has been loaded, the following GtkSourceFile properties will be updated: the location, the encoding, the newline type and the compression type.

Parameters

result GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

Whether the contents has been loaded successfully.