Add the file contents to the GPasteDaemon
As g_paste_client_add_file_sync (): a path that is not valid UTF-8, or a relative one whose working directory cannot be named, is refused before anything is sent.
| this |
a Client instance |
| file |
the file to add |
| cancellable |
a Cancellable to abandon the call with |
| callback |
a TaskReadyCallback to call once the request is satisfied, or null to ignore the result |
| user_data |
the data to pass to |