summaryrefslogtreecommitdiff
path: root/src/glibext
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext')
-rw-r--r--src/glibext/gbufferline.c10
-rw-r--r--src/glibext/gbufferline.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c
index 2527124..08684d5 100644
--- a/src/glibext/gbufferline.c
+++ b/src/glibext/gbufferline.c
@@ -360,6 +360,16 @@ static void g_buffer_line_class_init(GBufferLineClass *class)
class->attribs[RTT_VAR_NAME] = pango_attr_list_new();
+ attrib = pango_attr_foreground_new(0, 0, 0);
+ pango_attr_list_insert(class->attribs[RTT_VAR_NAME], attrib);
+
+ /* RTT_KEY_WORD */
+
+ class->attribs[RTT_KEY_WORD] = pango_attr_list_new();
+
+ attrib = pango_attr_foreground_new(0, 0, 0);
+ pango_attr_list_insert(class->attribs[RTT_KEY_WORD], attrib);
+
}
diff --git a/src/glibext/gbufferline.h b/src/glibext/gbufferline.h
index 7ee3361..d4384e3 100644
--- a/src/glibext/gbufferline.h
+++ b/src/glibext/gbufferline.h
@@ -86,6 +86,8 @@ typedef enum _RenderingTagType
RTT_VAR_NAME, /* Nom de variable */
+ RTT_KEY_WORD, /* Mot clef de langage */
+
RTT_COUNT
} RenderingTagType;