X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.c;h=698536f101f29417d98ecfacb75ae540e498b17e;hb=eb3f9ee12bbfee60b165430910a300d225ba9326;hp=77ef15809202bd18cdf08ec460d14c77e189a22b;hpb=a0b2b4f418ff022535c747843fd68f8778dc3a33;p=rodin%2Fchimara.git diff --git a/libchimara/style.c b/libchimara/style.c index 77ef158..698536f 100644 --- 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 */ -gchar* +static gchar * get_tag_name(glui32 style) { switch(style) { @@ -75,7 +75,7 @@ style_init_textbuffer(GtkTextBuffer *buffer) gtk_text_buffer_create_tag(buffer, "user2", NULL); } -void +static void 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. */ -void +static void apply_stylehint_to_tag(GtkTextTag *tag, glui32 hint, glsi32 val) { g_return_if_fail(tag != NULL);