Virtual Method

GioDrivepoll_for_media_finish

Declaration

gboolean
poll_for_media_finish (
  GDrive* drive,
  GAsyncResult* result,
  GError** error
)

Description

Finishes an operation started with g_drive_poll_for_media() on a drive.

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 if the drive has been poll_for_mediaed successfully, FALSE otherwise.