[gtk/matthiasc/glshader-node] css: Move the last parser api to the new header
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/glshader-node] css: Move the last parser api to the new header
- Date: Mon, 28 Sep 2020 17:11:44 +0000 (UTC)
commit 003cf4f6ce0f941e816f27141213efac90aeaf47
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 28 13:09:54 2020 -0400
css: Move the last parser api to the new header
This lets us use it from the render node parser
in gsk.
gtk/css/gtkcssparserprivate.h | 3 +++
gtk/gtkcssparserprivate.h | 9 ---------
2 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/gtk/css/gtkcssparserprivate.h b/gtk/css/gtkcssparserprivate.h
index 349ad67999..9239477020 100644
--- a/gtk/css/gtkcssparserprivate.h
+++ b/gtk/css/gtkcssparserprivate.h
@@ -151,6 +151,9 @@ gsize gtk_css_parser_consume_any (GtkCssParser
gsize n_options,
gpointer user_data);
+
+void _gtk_css_print_string (GString *str,
+ const char *string);
G_END_DECLS
#endif /* __GTK_CSS_PARSER_H__ */
diff --git a/gtk/gtkcssparserprivate.h b/gtk/gtkcssparserprivate.h
index c2445b3c3b..68fa8a18d2 100644
--- a/gtk/gtkcssparserprivate.h
+++ b/gtk/gtkcssparserprivate.h
@@ -24,13 +24,4 @@
#include "gtk/css/gtkcsstokenizerprivate.h"
#include "gtk/css/gtkcssparserprivate.h"
-G_BEGIN_DECLS
-
-/* XXX: Find better place to put it? */
-void _gtk_css_print_string (GString *str,
- const char *string);
-
-
-G_END_DECLS
-
#endif /* __GTK_CSS_PARSER_PRIVATE_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]