diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-03 15:41:52 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:59:37 +0200 |
commit | 93c79e3111fb8f48203b56da419a4aefa48d2d72 (patch) | |
tree | 8cd39d9cb00ddd8b4071a7328e6ae8e012ffc3ce /client/gdaemonfileenumerator.h | |
parent | 918cebfd9b96b22179b4685d94e72b6c97090eb3 (diff) | |
download | gvfs-93c79e3111fb8f48203b56da419a4aefa48d2d72.tar.gz |
gdbus: Use private GMainContext for sync enumerator
It's little messy due to shared code across sync calls with private
main context and async calls that don't have it's mainloop and can't use
private context.
Diffstat (limited to 'client/gdaemonfileenumerator.h')
-rw-r--r-- | client/gdaemonfileenumerator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/gdaemonfileenumerator.h b/client/gdaemonfileenumerator.h index 32c61609..8a94c3d8 100644 --- a/client/gdaemonfileenumerator.h +++ b/client/gdaemonfileenumerator.h @@ -46,11 +46,12 @@ struct _GDaemonFileEnumeratorClass GType g_daemon_file_enumerator_get_type (void) G_GNUC_CONST; GDaemonFileEnumerator *g_daemon_file_enumerator_new (GFile *file, - const char *attributes); + const char *attributes, + gboolean sync); char * g_daemon_file_enumerator_get_object_path (GDaemonFileEnumerator *enumerator); -void g_daemon_file_enumerator_set_sync_connection (GDaemonFileEnumerator *enumerator, - GDBusConnection *connection); +void g_daemon_file_enumerator_set_sync_connection (GDaemonFileEnumerator *enumerator, + GDBusConnection *connection); G_END_DECLS |