summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2022-04-19 10:52:18 -0700
committerChristian Hergert <chergert@redhat.com>2022-04-21 13:02:49 -0700
commit0d9b82a5c5390c98d9e4e5c724d3df9731718506 (patch)
treef05915931bbdfdc339726c9140ec68a6e92ec6b7
parent48ee5aee43bc0ed1ca0ecb4835d6e9609da7e100 (diff)
downloadgtksourceview-0d9b82a5c5390c98d9e4e5c724d3df9731718506.tar.gz
completioncell: add gi-doc for set_text()
-rw-r--r--gtksourceview/gtksourcecompletioncell.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtksourceview/gtksourcecompletioncell.c b/gtksourceview/gtksourcecompletioncell.c
index f3dc8f5f..2829454a 100644
--- a/gtksourceview/gtksourcecompletioncell.c
+++ b/gtksourceview/gtksourcecompletioncell.c
@@ -266,6 +266,13 @@ gtk_source_completion_cell_set_markup (GtkSourceCompletionCell *self,
gtk_label_set_use_markup (GTK_LABEL (self->child), TRUE);
}
+/**
+ * gtk_source_completion_cell_set_text:
+ * @self: a #GtkSourceCompletionCell
+ * @text: (nullable): the text to set or %NULL
+ *
+ * Sets the text for the column cell. Use %NULL to unset.
+ */
void
gtk_source_completion_cell_set_text (GtkSourceCompletionCell *self,
const char *text)