Method

GioFiletrash_finish

Declaration

gboolean
g_file_trash_finish (
  GFile* file,
  GAsyncResult* result,
  GError** error
)

Description

Finishes an asynchronous file trashing operation, started with g_file_trash_async().

Available since:2.38

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
 

TRUE on successful trash, FALSE otherwise.