[kdbus][wip] Import code from tizen.org repo
[platform/upstream/glib.git] / gio / gsimpleaction.c
index 7c1a43b..610e2fa 100644 (file)
@@ -399,7 +399,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
    * call g_simple_action_set_state() from the handler.
    *
    * An example of a 'change-state' handler:
-   * |[
+   * |[<!-- language="C" -->
    * static void
    * change_volume_state (GSimpleAction *action,
    *                      GVariant      *value,
@@ -409,7 +409,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
    *
    *   requested = g_variant_get_int32 (value);
    *
-   *   /&ast; Volume only goes from 0 to 10 &ast;/
+   *   // Volume only goes from 0 to 10
    *   if (0 <= requested && requested <= 10)
    *     g_simple_action_set_state (action, value);
    * }