[telepathy-glib/master] Use C comments in code example.

Jonny Lamb jonny.lamb at collabora.co.uk
Mon Aug 24 10:05:14 PDT 2009


Sigh.

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 telepathy-glib/debug-sender.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/telepathy-glib/debug-sender.c b/telepathy-glib/debug-sender.c
index 4166d64..1231b18 100644
--- a/telepathy-glib/debug-sender.c
+++ b/telepathy-glib/debug-sender.c
@@ -421,19 +421,19 @@ tp_debug_sender_add_message (TpDebugSender *self,
  *
  * An example of its usage, taking in mind the notes above, follows:
  * |[
- * // Create a main loop and debug sender
+ * /<!-- -->* Create a main loop and debug sender *<!-- -->/
  * GMainLoop *loop = g_main_loop_new (NULL, FALSE);
  * TpDebugSender *sender = tp_debug_sender_dup ();
  *
- * // Set the default handler
+ * /<!-- -->* Set the default handler *<!-- -->/
  * g_log_set_default_handler (tp_debug_sender_log_handler, G_LOG_DOMAIN);
  *
- * // Run the main loop, but keeping a ref on the TpDebugSender from
- * // the beginning of this code sample.
+ * /<!-- -->* Run the main loop, but keeping a ref on the TpDebugSender from
+ *  * the beginning of this code sample. *<!-- -->/
  * g_main_loop_run (loop);
  *
- * // g_main_loop_quit was called, so only now can we clean up the
- * // TpDebugSender.
+ * /<!-- -->* g_main_loop_quit was called, so only now can we clean up the
+ *  * TpDebugSender. *<!-- -->/
  * g_object_unref (sender);
  * ]|
  *
-- 
1.5.6.5




More information about the telepathy-commits mailing list