summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2015-06-04 16:33:33 +0200
committerOndrej Holy <oholy@redhat.com>2015-06-08 11:01:59 +0200
commit44100b4a828577786062c27d9bfb34d7a5844fff (patch)
tree1b4dcd3216207530a366b8f7dadb88db65627892 /common
parent0f91898d0bc148ba0efa188d6798c3b5a780ab43 (diff)
downloadgvfs-44100b4a828577786062c27d9bfb34d7a5844fff.tar.gz
client: Suppress errors if daemon part is missing
We want to split gvfs package on client and daemon part due to app sandboxing. Return FALSE from vfs_is_active if there aren't any supported uri schemes (i.e. deamon part is missing). It will cause things to work just like if the gvfs client part was never installed. Replace some warnings/errors by g_debug to suppress errors when registering gio modules and daemon part is missing. https://bugzilla.gnome.org/show_bug.cgi?id=750401
Diffstat (limited to 'common')
-rw-r--r--common/gvfsmonitorimpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gvfsmonitorimpl.c b/common/gvfsmonitorimpl.c
index 1d5d0e2a..882c3fbf 100644
--- a/common/gvfsmonitorimpl.c
+++ b/common/gvfsmonitorimpl.c
@@ -98,7 +98,7 @@ g_vfs_list_monitor_implementations (void)
dir = g_dir_open (monitors_dir, 0, &error);
if (dir == NULL)
{
- g_warning ("cannot open directory %s: %s", monitors_dir, error->message);
+ g_debug ("cannot open directory %s: %s", monitors_dir, error->message);
g_error_free (error);
}
else