[telepathy-mission-control/master] Fix unique name creation such that it actually works again
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Tue Aug 18 10:33:12 PDT 2009
Reviewed-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
---
src/mcd-account-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mcd-account-manager.c b/src/mcd-account-manager.c
index 0bd0d05..ad848dd 100644
--- a/src/mcd-account-manager.c
+++ b/src/mcd-account-manager.c
@@ -486,7 +486,7 @@ create_unique_name (McdAccountManagerPrivate *priv, const gchar *manager,
base = "account";
esc_manager = tp_escape_as_identifier (manager);
- esc_protocol = g_strcanon (g_strdup (protocol), "-", "_");
+ esc_protocol = g_strdelimit (g_strdup (protocol), "-", '_');
esc_base = tp_escape_as_identifier (base);
/* add two chars for the "/" */
len = strlen (esc_manager) + strlen (esc_protocol) + strlen (esc_base)
--
1.5.6.5
More information about the telepathy-commits
mailing list