diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-05-27 13:29:27 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-05-27 13:41:20 +0200 |
commit | 1e42a9cd5fe1dce527c1074402763cd3d203cd4c (patch) | |
tree | 26c862bdaf4fdd6bc12af062e2af114e745c534e /src/protocol.c | |
parent | 69f00e7be3a9a4984570d1e7fe4eafb4ba61f077 (diff) | |
download | telepathy-haze-1e42a9cd5fe1dce527c1074402763cd3d203cd4c.tar.gz |
Stop using deprecated tp-glib symbols
tp-haze already depends on tp-glib 0.15.1 which is enough
for all replacements AFAIK. In particular tp_handle_ref/unref
are no-op since 0.13.8.
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol.c b/src/protocol.c index 13dc8ae..6fd279e 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -285,7 +285,7 @@ _param_filter_no_blanks (const TpCMParamSpec *paramspec, if (*str == '\0') { - g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT, + g_set_error (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT, "Account parameter '%s' must not be empty", paramspec->name); return FALSE; @@ -293,7 +293,7 @@ _param_filter_no_blanks (const TpCMParamSpec *paramspec, if (strstr (str, " ") != NULL) { - g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT, + g_set_error (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT, "Account parameter '%s' may not contain spaces", paramspec->name); return FALSE; @@ -318,7 +318,7 @@ _param_filter_string_list (const TpCMParamSpec *paramspec, != NULL) return TRUE; - g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT, + g_set_error (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT, "'%s' is not a valid value for parameter '%s'", str, paramspec->name); return FALSE; } |