gtk-css-engine r107 - in trunk: . libccd/ccd
- From: robsta svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-css-engine r107 - in trunk: . libccd/ccd
- Date: Mon, 15 Sep 2008 10:18:08 +0000 (UTC)
Author: robsta
Date: Mon Sep 15 10:18:07 2008
New Revision: 107
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=107&view=rev
Log:
* libccd/ccd/ccd-selector.c: fix specificity initialisation of
attribute- and pseudo-class selectors.
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/libccd/ccd/ccd-selector.c
Modified: trunk/libccd/ccd/ccd-selector.c
==============================================================================
--- trunk/libccd/ccd/ccd-selector.c (original)
+++ trunk/libccd/ccd/ccd-selector.c Mon Sep 15 10:18:07 2008
@@ -304,6 +304,7 @@
self = g_new0 (ccd_attribute_selector_t, 1);
self->parent.modality = CCD_SELECTOR_MODALITY_ATTRIBUTE;
+ self->parent.c = 1;
self->name = g_strdup (name);
self->value = g_strdup (value);
self->match = match;
@@ -367,6 +368,7 @@
self = g_new0 (ccd_pseudo_class_selector_t, 1);
self->parent.modality = CCD_SELECTOR_MODALITY_PSEUDO_CLASS;
+ self->parent.d = 1;
self->pseudo_class = g_strdup (pseudo_class);
return (ccd_selector_t *) self;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]