[gnome-builder/wip/gtk4-port] libide/webkit: register IdeWebkitPage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/webkit: register IdeWebkitPage
- Date: Fri, 3 Jun 2022 05:20:11 +0000 (UTC)
commit 12771cda998e1637a7b381c79824122376bbdbba
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]