diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-06-08 11:43:08 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-06-08 11:43:08 +0200 |
commit | 55761f269eb43f289cd005ff54d8b808301762ad (patch) | |
tree | 50780cf2d740d77adc3084af246987e14837be17 /metadata | |
parent | 44100b4a828577786062c27d9bfb34d7a5844fff (diff) | |
download | gvfs-55761f269eb43f289cd005ff54d8b808301762ad.tar.gz |
metatree: Don't g_warning if the running gvfs daemon is older
This was breaking the build for me due to warnings-as-errors
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/metatree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/metadata/metatree.c b/metadata/metatree.c index 59be3dfe..89942cb5 100644 --- a/metadata/metatree.c +++ b/metadata/metatree.c @@ -2859,7 +2859,8 @@ get_tree_for_device (MetaLookupCache *cache, if (error) { - g_warning ("Error: %s\n", error->message); + if (!g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD)) + g_warning ("Error: %s\n", error->message); g_error_free (error); } |