[gtksourceview/wip/chergert/gsv-gtk4: 234/259] snippets: add missing GParamSpec for tooltip-text




commit 6063535beb71f7e31abef21e60bf0045a4316b67
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]