summaryrefslogtreecommitdiff
path: root/gtk/gtkcsssectionprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-06-17 07:39:11 +0200
committerBenjamin Otte <otte@redhat.com>2011-08-26 16:26:28 +0200
commit26e9d0771848e6a7ff510dd1819788781968edaa (patch)
tree7216ac794ed263e7ba71ee32e809c4d4ec2f9f67 /gtk/gtkcsssectionprivate.h
parent8d6b560ff366394374dc0a96005cac14efe8d5ac (diff)
downloadgtk+-26e9d0771848e6a7ff510dd1819788781968edaa.tar.gz
API: cssprovider: Change parsing-error signal
Instead of path, line and position, emit the section the error happened in. This has a lot more information to consume.
Diffstat (limited to 'gtk/gtkcsssectionprivate.h')
-rw-r--r--gtk/gtkcsssectionprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcsssectionprivate.h b/gtk/gtkcsssectionprivate.h
index 776fd5d9c5..ba70414721 100644
--- a/gtk/gtkcsssectionprivate.h
+++ b/gtk/gtkcsssectionprivate.h
@@ -30,6 +30,8 @@ GtkCssSection * _gtk_css_section_new (GtkCssSection *pa
GtkCssSectionType type,
GtkCssParser *parser,
GFile *file);
+GtkCssSection * _gtk_css_section_new_for_file (GtkCssSectionType type,
+ GFile *file);
void _gtk_css_section_end (GtkCssSection *section);