summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-30 12:01:19 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2011-03-30 12:50:20 -0400
commit8352e07355d563f5903f4a9e31fc64fb50794125 (patch)
tree05b236c3dbe92d8c8b31dc164f2568d87214e97e
parent46ca2ac0eed485bf92007c95f1e2a8d6603b28d5 (diff)
async_method_callback_optional: also ignore NotImplemented errors (#35791)
-rw-r--r--telepathy-farsight/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-farsight/stream.c b/telepathy-farsight/stream.c
index d8e492b..d99fcd5 100644
--- a/telepathy-farsight/stream.c
+++ b/telepathy-farsight/stream.c
@@ -1054,7 +1054,8 @@ async_method_callback_optional (TpMediaStreamHandler *proxy G_GNUC_UNUSED,
if (error == NULL)
return;
- if (g_error_matches (error, DBUS_GERROR, G_DBUS_ERROR_UNKNOWN_METHOD))
+ if (g_error_matches (error, DBUS_GERROR, G_DBUS_ERROR_UNKNOWN_METHOD) ||
+ g_error_matches (error, TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED))
return;
async_method_callback (proxy, error, user_data, weak_object);