From 8439fcfd559f48968cb88d7efd671e6e4bd664a2 Mon Sep 17 00:00:00 2001 Message-Id: <8439fcfd559f48968cb88d7efd671e6e4bd664a2.1715267440.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 21 Oct 2007 22:16:11 +0100 Subject: [PATCH 1/1] doxygen Organization: Straylight/Edgeware From: Richard Kettlewell --- disobedience/help.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/disobedience/help.c b/disobedience/help.c index b90ea35..0815bac 100644 --- a/disobedience/help.c +++ b/disobedience/help.c @@ -17,6 +17,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ +/** @file disobedience/help.c + * @brief Help support + */ #include "disobedience.h" #include "table.h" @@ -37,17 +40,25 @@ struct tag { GtkTextTag *tag; }; +/** @brief Initialize the bold tag + * + * This doesn't seem to work on OS X though the italic and monospace tags are + * fine, and bold is OK on Linux, even connecting to the Apple X swerver. + */ static void init_bold(GtkTextTag *tag) { g_object_set(G_OBJECT(tag), "weight", PANGO_WEIGHT_BOLD, (char *)0); } +/** @brief Initialize the italic tag */ static void init_italic(GtkTextTag *tag) { g_object_set(G_OBJECT(tag), "style", PANGO_STYLE_ITALIC, (char *)0); } +/** @brief Initialize the pre tag */ static void init_pre(GtkTextTag *tag) { g_object_set(G_OBJECT(tag), "family", "monospace", (char *)0); } + /** @brief Table of known tags * * Keep in alphabetical order -- [mdw]