[gtksourceview/wip/chergert/gsv-gtk4] snippets: add missing GParamSpec for tooltip-text
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4] snippets: add missing GParamSpec for tooltip-text
- Date: Wed, 9 Sep 2020 21:36:41 +0000 (UTC)
commit fc0a1b80287f4817e3924191193381b9a703e4c1
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 9 14:15:48 2020 -0700
snippets: add missing GParamSpec for tooltip-text
gtksourceview/gtksourcesnippetchunk.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/gtksourceview/gtksourcesnippetchunk.c b/gtksourceview/gtksourcesnippetchunk.c
index 4259f20f..2fb038fc 100644
--- a/gtksourceview/gtksourcesnippetchunk.c
+++ b/gtksourceview/gtksourcesnippetchunk.c
@@ -512,6 +512,15 @@ gtk_source_snippet_chunk_class_init (GtkSourceSnippetChunkClass *klass)
G_PARAM_EXPLICIT_NOTIFY |
G_PARAM_STATIC_STRINGS));
+ properties[PROP_TOOLTIP_TEXT] =
+ g_param_spec_string ("tooltip-text",
+ "Tooltip Text",
+ "The tooltip text for the chunk.",
+ NULL,
+ (G_PARAM_READWRITE |
+ G_PARAM_EXPLICIT_NOTIFY |
+ G_PARAM_STATIC_STRINGS));
+
g_object_class_install_properties (object_class, N_PROPS, properties);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]