projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made sure no internal symbols were exported; can be checked with 'nm -g --defined...
[rodin/chimara.git]
/
libchimara
/
style.c
diff --git
a/libchimara/style.c
b/libchimara/style.c
index 77ef15809202bd18cdf08ec460d14c77e189a22b..698536f101f29417d98ecfacb75ae540e498b17e 100644
(file)
--- a/
libchimara/style.c
+++ b/
libchimara/style.c
@@
-23,7
+23,7
@@
glk_set_style(glui32 styl)
}
/* Internal function: mapping from style enum to tag name */
}
/* Internal function: mapping from style enum to tag name */
-
gchar
*
+
static gchar
*
get_tag_name(glui32 style)
{
switch(style) {
get_tag_name(glui32 style)
{
switch(style) {
@@
-75,7
+75,7
@@
style_init_textbuffer(GtkTextBuffer *buffer)
gtk_text_buffer_create_tag(buffer, "user2", NULL);
}
gtk_text_buffer_create_tag(buffer, "user2", NULL);
}
-void
+
static
void
color_format(glui32 val, gchar *buffer)
{
sprintf(buffer, "#%02X%02X%02X",
color_format(glui32 val, gchar *buffer)
{
sprintf(buffer, "#%02X%02X%02X",
@@
-86,7
+86,7
@@
color_format(glui32 val, gchar *buffer)
}
/* Internal function: changes a GTK tag to correspond with the given style. */
}
/* Internal function: changes a GTK tag to correspond with the given style. */
-void
+
static
void
apply_stylehint_to_tag(GtkTextTag *tag, glui32 hint, glsi32 val)
{
g_return_if_fail(tag != NULL);
apply_stylehint_to_tag(GtkTextTag *tag, glui32 hint, glsi32 val)
{
g_return_if_fail(tag != NULL);