projects
/
projects
/
chimara
/
chimara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e70e5d0
)
Avoid code duplication
author
P. F. Chimento
<philip.chimento@gmail.com>
Sat, 18 Jun 2011 13:03:43 +0000
(15:03 +0200)
committer
P. F. Chimento
<philip.chimento@gmail.com>
Sat, 18 Jun 2011 13:03:43 +0000
(15:03 +0200)
libchimara/style.c
patch
|
blob
|
history
diff --git
a/libchimara/style.c
b/libchimara/style.c
index 9b82a6637d260241f017d5b2c7289b55364d3aff..207a7f7cb9342ca7005e65f8faf15bc4636d45dd 100644
(file)
--- a/
libchimara/style.c
+++ b/
libchimara/style.c
@@
-405,8
+405,6
@@
create_css_file_scanner(void)
void
scan_css_file(GScanner *scanner, ChimaraGlk *glk)
{
void
scan_css_file(GScanner *scanner, ChimaraGlk *glk)
{
- CHIMARA_GLK_USE_PRIVATE(glk, priv);
-
while( g_scanner_peek_next_token(scanner) != G_TOKEN_EOF) {
if( !style_accept_style_selector(scanner, glk) )
break;
while( g_scanner_peek_next_token(scanner) != G_TOKEN_EOF) {
if( !style_accept_style_selector(scanner, glk) )
break;
@@
-415,8
+413,7
@@
scan_css_file(GScanner *scanner, ChimaraGlk *glk)
g_scanner_destroy(scanner);
/* Update the pager prompt to the new style */
g_scanner_destroy(scanner);
/* Update the pager prompt to the new style */
- GtkTextTag *pager_tag = GTK_TEXT_TAG( g_hash_table_lookup(priv->styles->text_buffer, "pager") );
- text_tag_to_attr_list(pager_tag, priv->pager_attr_list);
+ style_update(glk);
}
/* Internal function: parses a token */
}
/* Internal function: parses a token */