summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRobert Staudinger <robsta@gnome.org>2009-08-07 13:16:51 +0200
committerRobert Staudinger <robsta@gnome.org>2009-08-07 13:16:51 +0200
commit03780dee6396a96fc3489f433838da998c89c4fe (patch)
tree4d04835f24b8bdfd9b9913ae9b7e36931e8093c8 /configure.in
parent6cdc8e793ddda1fcc629954497c7cb8957e8d9c8 (diff)
[stylesheet] Implement ccss_stylesheet_unload() to unload css parts.
Every selector now stores a descriptor of the CSS file or buffer it originates from. For unloading a file or buffer the internal stylesheet representation is iterated and all selectors and blocks with matching descriptors are destroyed. This also requires an update to ccss_node_get_style(), the descriptor for the inline style is passed to the callback, which the consumer must store in order to unload the inline style later on. The above change in turn obsoletes ccss_stylesheet_invalidate_node() since all unloading now uses a consistent API. Also fix a related memory leak, selectors and -groups would be left over when destroying a stylesheet.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e32ba86..15fe81f 100644
--- a/configure.in
+++ b/configure.in
@@ -7,8 +7,8 @@
AC_PREREQ(2.54)
m4_define([ccss_version_major], [0])
-m4_define([ccss_version_minor], [4])
-m4_define([ccss_version_micro], [1])
+m4_define([ccss_version_minor], [5])
+m4_define([ccss_version_micro], [0])
m4_define([ccss_version_extra], [])
m4_define([ccss_version],
[ccss_version_major.ccss_version_minor.ccss_version_micro[]ccss_version_extra])