[gtk/wip/otte/lottie: 1/16] build: Include GSK types in gtk_test_register_all_type()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/lottie: 1/16] build: Include GSK types in gtk_test_register_all_type()
- Date: Mon, 16 Nov 2020 23:36:06 +0000 (UTC)
commit 9d0abbef54ac701287543975c71086d702205cfb
Author: Benjamin Otte <otte redhat com>
Date: Mon Nov 16 20:16:53 2020 +0100
build: Include GSK types in gtk_test_register_all_type()
gtk/gtktestutils.c | 10 ++++++++++
gtk/meson.build | 1 +
2 files changed, 11 insertions(+)
---
diff --git a/gtk/gtktestutils.c b/gtk/gtktestutils.c
index 35691d0c3d..690931a153 100644
--- a/gtk/gtktestutils.c
+++ b/gtk/gtktestutils.c
@@ -40,6 +40,16 @@
#include <gtk/gtk.h>
#define GTK_COMPILATION
+#include <gsk/gl/gskglrenderer.h>
+
+#ifdef GDK_WINDOWING_BROADWAY
+#include <gsk/broadway/gskbroadwayrenderer.h>
+#endif
+
+#ifdef GDK_RENDERING_VULKAN
+#include <gsk/vulkan/gskvulkanrenderer.h>
+#endif
+
#ifdef GDK_WINDOWING_X11
#include <gdk/x11/gdkx.h>
#endif
diff --git a/gtk/meson.build b/gtk/meson.build
index 614b4079f8..77936af567 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -925,6 +925,7 @@ typefuncs = custom_target('gtktypefuncs.inc',
depends: [ gdkenum_h, gskenum_h, ],
output: 'gtktypefuncs.inc',
input: gdk_headers +
+ gsk_public_headers +
gtk_public_headers +
gtk_deprecated_headers +
[ gtktypebuiltins_h, ] +
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]