[gtk: 6/15] css: Move the last parser api to the new header
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 6/15] css: Move the last parser api to the new header
- Date: Tue, 29 Sep 2020 08:30:50 +0000 (UTC)
commit a91b6b47861614c385798b1cd0c5427e4e55bdf2
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]