summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-19 18:41:33 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-19 18:41:33 +0000
commitc31eadc3a10210d0013503af82b08d3f99da7a0e (patch)
tree13589520f3cf683150b24a8321b33c77f606f113 /gtk/gtkcssprovider.c
parent963152a85a9dbfea926636fa9dfa2daeca6218ec (diff)
downloadgtk+-c31eadc3a10210d0013503af82b08d3f99da7a0e.tar.gz
css provider: Make not subclassable
Part of being more explicit about what we allow to be subclassed and what not.
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r--gtk/gtkcssprovider.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index f3dfa9922b..6d6571b59b 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -73,6 +73,14 @@
* way back to 4.0.
*/
+struct _GtkCssProviderClass
+{
+ GObjectClass parent_class;
+
+ void (* parsing_error) (GtkCssProvider *provider,
+ GtkCssSection *section,
+ const GError * error);
+};
typedef struct GtkCssRuleset GtkCssRuleset;
typedef struct _GtkCssScanner GtkCssScanner;