chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
288dd12
)
doxygen
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 21 Oct 2007 21:16:11 +0000
(22:16 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 21 Oct 2007 21:16:11 +0000
(22:16 +0100)
disobedience/help.c
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/help.c
b/disobedience/help.c
index b90ea35b9fdcd3883bfc875099ef1a35aa8f0582..0815bac737947136744e1c482f727f4beecc0d31 100644
(file)
--- a/
disobedience/help.c
+++ b/
disobedience/help.c
@@
-17,6
+17,9
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
* 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"
#include "disobedience.h"
#include "table.h"
@@
-37,17
+40,25
@@
struct tag {
GtkTextTag *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);
}
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);
}
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);
}
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
/** @brief Table of known tags
*
* Keep in alphabetical order