diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-05-27 14:50:01 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-05-27 14:50:01 +0200 |
commit | 76ce89dd88bddc39d90846fd9ce5d52c4fe99e18 (patch) | |
tree | fdf2e8755c8f02f2bd13cfa53d9581be8e5d9891 /src/protocol.c | |
parent | 83723921f8d9d59164f8046e30da10f2706b3417 (diff) | |
download | telepathy-haze-76ce89dd88bddc39d90846fd9ce5d52c4fe99e18.tar.gz |
Revert "Revert "Stop using deprecated tp-glib symbols""
This reverts commit 92d963e9fbfcfd0c3087c7ce2b2269a73ebe258d.
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 e9f848a..639e25e 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -287,7 +287,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; @@ -295,7 +295,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; @@ -320,7 +320,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; } |