diff options
author | Robert Staudinger <robsta@gnome.org> | 2009-08-07 16:11:21 +0200 |
---|---|---|
committer | Robert Staudinger <robsta@gnome.org> | 2009-08-07 16:11:21 +0200 |
commit | 8861d7990f9bf5818db62f5129b44859d652978c (patch) | |
tree | 3b6a2cd241294ae6f68b5c249d908470d58f33e3 | |
parent | a927af118513a5e5dcec1bf9c7363fe9f3510915 (diff) |
[cairo-appearance] Use 'ccss-appearance' for module support.
Since it is a non-standard extension.
-rw-r--r-- | ccss-cairo/ccss-cairo-appearance-parser.c | 2 | ||||
-rw-r--r-- | ccss-cairo/ccss-cairo-style.c | 2 | ||||
-rw-r--r-- | examples/example-8.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ccss-cairo/ccss-cairo-appearance-parser.c b/ccss-cairo/ccss-cairo-appearance-parser.c index 3fa62d4..9ad3405 100644 --- a/ccss-cairo/ccss-cairo-appearance-parser.c +++ b/ccss-cairo/ccss-cairo-appearance-parser.c @@ -214,7 +214,7 @@ appearance_destroy (ccss_cairo_appearance_t *self) static ccss_property_class_t const _ptable[] = { { - .name = "appearance", + .name = "ccss-appearance", .property_create = NULL, .property_destroy = (ccss_property_destroy_f) appearance_destroy, .property_convert = (ccss_property_convert_f) appearance_convert, diff --git a/ccss-cairo/ccss-cairo-style.c b/ccss-cairo/ccss-cairo-style.c index e1a2472..e176a3c 100644 --- a/ccss-cairo/ccss-cairo-style.c +++ b/ccss-cairo/ccss-cairo-style.c @@ -347,7 +347,7 @@ ccss_cairo_style_draw_rectangle (ccss_style_t const *self, ccss_cairo_appearance_t *appearance = NULL; if (ccss_style_get_property (self, - "appearance", + "ccss-appearance", (ccss_property_base_t const **) &appearance) && appearance->base.state == CCSS_PROPERTY_STATE_SET && appearance->draw_function) { diff --git a/examples/example-8.c b/examples/example-8.c index 8fd103a..cd9b851 100644 --- a/examples/example-8.c +++ b/examples/example-8.c @@ -69,7 +69,7 @@ expose_cb (GtkWidget *widget, static char const _css[] = " \ box { \ - appearance: custom_box example-8; \ + ccss-appearance: custom_box example-8; \ } \ "; |