diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-17 22:31:51 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-01-17 23:46:37 -0500 |
commit | 69fb3648b2e20935b7839f874fb0b52dee32448b (patch) | |
tree | 155c7cb22568a7604f121645bf2dc618ad049217 /gdk/filetransferportalprivate.h | |
parent | 26c4c2806838622e27337c25c8d9ae615de89c48 (diff) | |
download | gtk+-69fb3648b2e20935b7839f874fb0b52dee32448b.tar.gz |
Tweak the file transfer portal _again_
This is a neverending story. I was seeing problems in tests where
the nested mainloop was picking up unrelated timeouts.
Break down and make this async. This changes the ordering in which
the (de)serializers are registered. If this is causing issues, we
can introduce priorities or something else.
Diffstat (limited to 'gdk/filetransferportalprivate.h')
-rw-r--r-- | gdk/filetransferportalprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/filetransferportalprivate.h b/gdk/filetransferportalprivate.h index d23fdfbd75..37bc3009cf 100644 --- a/gdk/filetransferportalprivate.h +++ b/gdk/filetransferportalprivate.h @@ -19,7 +19,8 @@ #define __FILE_TRANSFER_PROTOCOL_H__ -gboolean file_transfer_portal_available (void); +void file_transfer_portal_register (void); + void file_transfer_portal_register_files (const char **files, gboolean writable, GAsyncReadyCallback callback, |