X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstyle.c;h=2d00428d5ec6c889b2abb1f14a5acc8d0b9ddc10;hb=4f03c8413a60636e8c953ac694337a782e6a173f;hp=3f86bad2573b2f54565e6ef605b266c1183f03f9;hpb=deed9ccb2dacd8c2b4e58c2fdd947850299902bc;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/style.c b/libchimara/style.c index 3f86bad..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: @@ -484,3 +488,9 @@ glk_style_distinguish(winid_t win, glui32 styl1, glui32 styl2) { return styl1 != styl2; } + +glui32 +glk_style_measure(winid_t win, glui32 styl, glui32 hint, glui32 *result) +{ + return FALSE; +}