summaryrefslogtreecommitdiff
path: root/ccss-gtk/ccss-gtk.c
diff options
context:
space:
mode:
authorRobert Staudinger <robsta@gnome.org>2008-12-03 13:38:24 +0100
committerRobert Staudinger <robsta@gnome.org>2008-12-03 13:38:24 +0100
commit3d795cdfe294f7a09d939be97da9fefb192d80ed (patch)
tree4dc9b4b7c2c46050c43e107319135f64153a5c26 /ccss-gtk/ccss-gtk.c
parent39d1fcfcf34054cb673192ec26e9e0d3d05466a4 (diff)
* ccss-gtk/Makefile.am:
* ccss-gtk/ccss-gtk-grammar.c (ccss_gtk_grammar_create): * ccss-gtk/ccss-gtk-grammar.h: * ccss-gtk/ccss-gtk-style.c (ccss_gtk_style_serialize): * ccss-gtk/ccss-gtk-style.h: * ccss-gtk/ccss-gtk.c (ccss_gtk_init), (ccss_gtk_shutdown): * ccss-gtk/ccss-gtk.h: * ccss-gtk/ccss-gtk.sym: Skeleton implementation for gtk support, not in the build chain yet.
Diffstat (limited to 'ccss-gtk/ccss-gtk.c')
-rw-r--r--ccss-gtk/ccss-gtk.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/ccss-gtk/ccss-gtk.c b/ccss-gtk/ccss-gtk.c
new file mode 100644
index 0000000..9804515
--- /dev/null
+++ b/ccss-gtk/ccss-gtk.c
@@ -0,0 +1,44 @@
+/* The Gtk+ CSS Drawing Library.
+ * Copyright (C) 2008 Robert Staudinger
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+
+#include "ccss-gtk.h"
+#include "config.h"
+
+/**
+ * ccss_gtk_init:
+ *
+ * Initialize the ccss-gtk library before making any calls to it.
+ **/
+void
+ccss_gtk_init (void)
+{
+ ccss_cairo_init ();
+}
+
+/**
+ * ccss_gtk_shutdown:
+ *
+ * Shut down the ccss-gtk library.
+ **/
+void
+ccss_gtk_shutdown (void)
+{
+ ccss_cairo_shutdown ();
+}
+