summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylefuncsprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-01 18:14:51 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:53 +0100
commit078fc725e0a83250ea7e1bf37dfc4f5f95b990c8 (patch)
tree76e9a84676859a8adc9040a25c91e886577599a6 /gtk/gtkcssstylefuncsprivate.h
parentf5fafb18c994106362b33ac990dde9030a67cd26 (diff)
downloadgtk+-078fc725e0a83250ea7e1bf37dfc4f5f95b990c8.tar.gz
css: Split generic parse/print functions out
It seems to be some sort of sport for me to split them out and merge them back in...
Diffstat (limited to 'gtk/gtkcssstylefuncsprivate.h')
-rw-r--r--gtk/gtkcssstylefuncsprivate.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/gtk/gtkcssstylefuncsprivate.h b/gtk/gtkcssstylefuncsprivate.h
new file mode 100644
index 0000000000..d4d2932b39
--- /dev/null
+++ b/gtk/gtkcssstylefuncsprivate.h
@@ -0,0 +1,35 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
+ *
+ * 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., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_CSS_STYLE_FUNCS_PRIVATE_H__
+#define __GTK_CSS_STYLE_FUNCS_PRIVATE_H__
+
+#include "gtkcssparserprivate.h"
+
+G_BEGIN_DECLS
+
+gboolean _gtk_css_style_parse_value (GValue *value,
+ GtkCssParser *parser,
+ GFile *base);
+void _gtk_css_style_print_value (const GValue *value,
+ GString *string);
+
+G_END_DECLS
+
+#endif /* __GTK_CSS_STYLE_FUNCS_PRIVATE_H__ */