diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-07 17:17:15 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-07 19:17:57 +0100 |
commit | ffa3b8074f3cddbaa9796871a1d887f3327456d4 (patch) | |
tree | 9fea24334cbde81973465b2deade8814536ffeaf /src/tube-dbus.c | |
parent | 83c0f5a8f674794bab1b62aebb2c1bf21fa34c95 (diff) | |
download | telepathy-salut-ffa3b8074f3cddbaa9796871a1d887f3327456d4.tar.gz |
Use TP_ERROR instead of long-deprecated TP_ERRORS
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49594
Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
Diffstat (limited to 'src/tube-dbus.c')
-rw-r--r-- | src/tube-dbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tube-dbus.c b/src/tube-dbus.c index 6ed2dec9..026295f5 100644 --- a/src/tube-dbus.c +++ b/src/tube-dbus.c @@ -457,7 +457,7 @@ create_dbus_server (SalutTubeDBus *self, g_free (priv->socket_path); priv->socket_path = NULL; - g_set_error (err, TP_ERRORS, TP_ERROR_NOT_AVAILABLE, + g_set_error (err, TP_ERROR, TP_ERROR_NOT_AVAILABLE, "Can't create D-Bus server"); return FALSE; } @@ -1218,7 +1218,7 @@ salut_tube_dbus_offer (SalutTubeDBus *self, if (priv->offered) { - g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT, + g_set_error (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT, "Tube has already been offered"); return FALSE; } @@ -1758,7 +1758,7 @@ salut_tube_dbus_check_access_control (SalutTubeDBus *self, break; default: - g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT, + g_set_error (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT, "%u socket access control is not supported", access_control); return FALSE; } |