summaryrefslogtreecommitdiff
path: root/ccss-gtk
diff options
context:
space:
mode:
authorRobert Staudinger <robsta@gnome.org>2009-08-09 12:07:19 +0200
committerRobert Staudinger <robsta@gnome.org>2009-08-09 12:07:19 +0200
commit83ae1af9a5291d11d57f8d9367667acc0bd4d7c2 (patch)
tree4478c7513524fb5d0f3979d17c63ca3c73ff2ae5 /ccss-gtk
parent5c90460a14e5c7cf5f1804dcf27477d1932c2a95 (diff)
[gtk] Document ccss-gtk.
Diffstat (limited to 'ccss-gtk')
-rw-r--r--ccss-gtk/ccss-gtk-stylesheet.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ccss-gtk/ccss-gtk-stylesheet.c b/ccss-gtk/ccss-gtk-stylesheet.c
index a76105d..2532285 100644
--- a/ccss-gtk/ccss-gtk-stylesheet.c
+++ b/ccss-gtk/ccss-gtk-stylesheet.c
@@ -484,6 +484,15 @@ iter_func (ccss_stylesheet_t *stylesheet,
}
}
+/**
+ * ccss_gtk_stylesheet_to_gtkrc:
+ * @self: a #ccss_stylesheet_t.
+ *
+ * Convert a stylesheet to a gtkrc string. CSS and gtkrc do not match one to
+ * one onto each other so this is a best effort conversion.
+ *
+ * Returns: a gtkrc string.
+ */
char *
ccss_gtk_stylesheet_to_gtkrc (ccss_stylesheet_t *self)
{