[gtk+/gtk-style-context] GtkCssProvider: Allow '\t' when parsing values.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context] GtkCssProvider: Allow '\t' when parsing values.
- Date: Sat, 23 Oct 2010 19:41:40 +0000 (UTC)
commit 953c610f96747e1f55a49f71dafb56ac05ea695c
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Oct 23 21:40:49 2010 +0200
GtkCssProvider: Allow '\t' when parsing values.
gtk/gtkcssprovider.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 4462789..19c44f9 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1143,7 +1143,7 @@ scanner_apply_scope (GScanner *scanner,
if (scope == SCOPE_VALUE)
{
scanner->config->cset_identifier_first = G_CSET_a_2_z "@#-_0123456789" G_CSET_A_2_Z;
- scanner->config->cset_identifier_nth = G_CSET_a_2_z "@#-_ 0123456789(),.\n" G_CSET_A_2_Z;
+ scanner->config->cset_identifier_nth = G_CSET_a_2_z "@#-_ 0123456789(),.\t\n" G_CSET_A_2_Z;
scanner->config->scan_identifier_1char = TRUE;
}
else if (scope == SCOPE_SELECTOR)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]