From: fliep Date: Wed, 7 Oct 2009 20:47:42 +0000 (+0000) Subject: Eliminated warnings in style.h X-Git-Tag: v0.9~333 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=11d434cc69d217fb39d2bb8b25ee491dc88a7948;p=projects%2Fchimara%2Fchimara.git Eliminated warnings in style.h --- diff --git a/libchimara/style.c b/libchimara/style.c index 61764a9..2d00428 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -4,6 +4,10 @@ extern GPrivate *glk_data_key; static gboolean chimara_style_initialized = FALSE; +static gboolean style_accept(GScanner *scanner, GTokenType token); +static gboolean style_accept_style_identifier(GScanner *scanner); +static gboolean style_accept_style_hint(GScanner *scanner, GtkTextTag *current_tag); +static void style_add_tag_to_textbuffer(gpointer key, gpointer tag, gpointer tag_table); /** * glk_set_style: diff --git a/libchimara/style.h b/libchimara/style.h index 72af60a..73cbf8c 100644 --- a/libchimara/style.h +++ b/libchimara/style.h @@ -12,9 +12,5 @@ G_GNUC_INTERNAL void style_init_textbuffer(GtkTextBuffer *buffer); G_GNUC_INTERNAL void style_init(); -static gboolean style_accept(GScanner *scanner, GTokenType token); -static gboolean style_accept_style_identifier(GScanner *scanner); -static gboolean style_accept_style_hint(GScanner *scanner, GtkTextTag *current_tag); -static void style_add_tag_to_textbuffer(gpointer key, gpointer tag, gpointer tag_table); #endif