[Bug 29375] add something resembling GabbleBaseChannel
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 24 12:06:15 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29375
--- Comment #18 from Will Thompson <will.thompson at collabora.co.uk> 2010-08-24 03:06:15 PDT ---
+static gchar *
+tp_base_channel_get_object_path_suffix (TpBaseChannel *self)
+{
+ gchar * obj_path = g_strdup_printf ("channel%p", self);
+ gchar * escaped = tp_escape_as_identifier (obj_path);
+ g_free (obj_path);
+ return escaped;
+}
I feel like the escape_as_identifier() is unnecessary... but then, I took a
look around and can't find any specification for what %p should produce.
Lots of other code assumes that it'll produce something that's valid in an
object path, though. :)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list