[gnome-builder/wip/gtk4-port] libide/webkit: add missing property definition
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/webkit: add missing property definition
- Date: Tue, 7 Jun 2022 04:05:22 +0000 (UTC)
commit 286302a0396fb3ff8a7573a9cb6266335cd3e49d
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 6 21:04:13 2022 -0700
libide/webkit: add missing property definition
src/libide/webkit/ide-html-generator.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/webkit/ide-html-generator.c b/src/libide/webkit/ide-html-generator.c
index 2fbca2620..7e9485346 100644
--- a/src/libide/webkit/ide-html-generator.c
+++ b/src/libide/webkit/ide-html-generator.c
@@ -130,12 +130,20 @@ ide_html_generator_class_init (IdeHtmlGeneratorClass *klass)
klass->generate_async = ide_html_generator_real_generate_async;
klass->generate_finish = ide_html_generator_real_generate_finish;
+ properties [PROP_BASE_URI] =
+ g_param_spec_string ("base-uri", NULL, NULL, NULL,
+ (G_PARAM_READWRITE |
+ G_PARAM_EXPLICIT_NOTIFY |
+ G_PARAM_STATIC_STRINGS));
+
+ g_object_class_install_properties (object_class, N_PROPS, properties);
+
/**
* IdeHtmlGenerator::invalidate:
*
* The "invalidate" signal is emitted when contents have changed.
*
- * This signal is emmitted by subclasses when the contents have changed
+ * This signal will be emitted by subclasses when the contents have changed
* and HTML will need to be regenerated.
*/
signals [INVALIDATE] =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]