diff options
author | Dan Winship <danw@gnome.org> | 2009-06-16 20:22:58 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-07-01 09:02:46 -0400 |
commit | 65cc5d895ae125b09f2403761f434fd78ef05af7 (patch) | |
tree | 6ba66728339a38d04d4703badf9fe2361a10b1af /gio/gdummyfile.c | |
parent | 4363f1932f1be4474a81d5b9cf8a58c91b682868 (diff) | |
download | glib-65cc5d895ae125b09f2403761f434fd78ef05af7.tar.gz |
Support g_main_context_push_thread_default() in gio
GFile allows for the possibility that external implementations may not
support thread-default contexts yet, via
g_file_supports_thread_contexts(). GVolumeMonitor is not yet
thread-default-context aware.
Add a test program to verify that basic gio async ops work correctly
in non-default contexts.
http://bugzilla.gnome.org/show_bug.cgi?id=579984
Diffstat (limited to 'gio/gdummyfile.c')
-rw-r--r-- | gio/gdummyfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gdummyfile.c b/gio/gdummyfile.c index 1033b4ef7..7d6e763d0 100644 --- a/gio/gdummyfile.c +++ b/gio/gdummyfile.c @@ -425,6 +425,8 @@ g_dummy_file_file_iface_init (GFileIface *iface) iface->get_relative_path = g_dummy_file_get_relative_path; iface->resolve_relative_path = g_dummy_file_resolve_relative_path; iface->get_child_for_display_name = g_dummy_file_get_child_for_display_name; + + iface->supports_thread_contexts = TRUE; } /* Uri handling helper functions: */ |