[gnome-builder/wip/gtk4-port: 1322/1774] libide/webkit: register IdeWebkitPage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1322/1774] libide/webkit: register IdeWebkitPage
- Date: Mon, 11 Jul 2022 22:31:42 +0000 (UTC)
commit 5dd13f32ce6673a69146f4a72d2b26ebdc3d33f8
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 2 22:18:57 2022 -0700
libide/webkit: register IdeWebkitPage
The goal here being so that it's always available from plugins if the
plugin is registered.
src/libide/webkit/ide-webkit-plugin.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/src/libide/webkit/ide-webkit-plugin.c b/src/libide/webkit/ide-webkit-plugin.c
index 63c520f4e..bffc4601e 100644
--- a/src/libide/webkit/ide-webkit-plugin.c
+++ b/src/libide/webkit/ide-webkit-plugin.c
@@ -26,6 +26,10 @@
#include <webkit2/webkit2.h>
#include <girepository.h>
+#include <libide-core.h>
+
+#include "ide-webkit-page.h"
+
_IDE_EXTERN void _ide_webkit_register_types (PeasObjectModule *module);
void
@@ -35,6 +39,7 @@ _ide_webkit_register_types (PeasObjectModule *module)
g_autoptr(GError) error = NULL;
g_type_ensure (WEBKIT_TYPE_WEB_VIEW);
+ g_type_ensure (IDE_TYPE_WEBKIT_PAGE);
if (!g_irepository_require (NULL, "WebKit2", "5.0", 0, &error))
g_warning ("%s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]