summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libcroco/cr-stylesheet.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-11-15 13:08:04 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-11-15 13:08:04 +0000
commita4ee55bc416d5afdd9538f951c27e2df2379a76c (patch)
tree67e74cf00b74da3fc800f69265630f6f22d9b28b /src/3rdparty/libcroco/cr-stylesheet.h
parentCorrect order of stylesheet list insertion (after bug fix to libcroco). (diff)
downloadinkscape-a4ee55bc416d5afdd9538f951c27e2df2379a76c.tar.gz
inkscape-a4ee55bc416d5afdd9538f951c27e2df2379a76c.zip
Add unlinking function to CRStyleSheet.
Diffstat (limited to 'src/3rdparty/libcroco/cr-stylesheet.h')
-rw-r--r--src/3rdparty/libcroco/cr-stylesheet.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/3rdparty/libcroco/cr-stylesheet.h b/src/3rdparty/libcroco/cr-stylesheet.h
index 7ebaf7a60..d6e720d90 100644
--- a/src/3rdparty/libcroco/cr-stylesheet.h
+++ b/src/3rdparty/libcroco/cr-stylesheet.h
@@ -91,6 +91,11 @@ struct _CRStyleSheet
* A link to the next stylesheet.
*/
CRStyleSheet *next;
+
+ /**
+ * A link to the previous stylesheet.
+ */
+ CRStyleSheet *prev;
} ;
CRStyleSheet * cr_stylesheet_new (CRStatement *a_stmts) ;
@@ -107,6 +112,8 @@ CRStyleSheet * cr_stylesheet_append_import (CRStyleSheet *a_this, CRStyleSheet *
CRStyleSheet * cr_stylesheet_append_stylesheet (CRStyleSheet *a_this, CRStyleSheet *a_new_stylesheet) ;
+CRStyleSheet * cr_stylesheet_unlink (CRStyleSheet *a_this) ;
+
void cr_stylesheet_ref (CRStyleSheet *a_this) ;
gboolean cr_stylesheet_unref (CRStyleSheet *a_this) ;