[gtksourceview: 3/21] g-i: drop uneeded since annotations
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview: 3/21] g-i: drop uneeded since annotations
- Date: Thu, 2 Dec 2021 00:02:52 +0000 (UTC)
commit 36759e5c2aca75c36fbb257f96eebe424a1a90a1
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Mon Nov 29 21:11:19 2021 +0100
g-i: drop uneeded since annotations
Similar reasoning as the guard macros
.../snippets/gtksourcecompletionsnippets.c | 2 -
gtksourceview/gtksourcebuffer.c | 35 --------
gtksourceview/gtksourcebuffer.h | 4 -
gtksourceview/gtksourcecompletion.c | 30 -------
gtksourceview/gtksourcecompletioncell.c | 2 -
gtksourceview/gtksourcecompletioncontext.c | 32 --------
gtksourceview/gtksourcecompletionlistbox.c | 8 --
gtksourceview/gtksourcecompletionproposal.c | 2 -
gtksourceview/gtksourcecompletionprovider.c | 21 -----
gtksourceview/gtksourceencoding-private.h | 2 -
gtksourceview/gtksourceencoding.c | 12 ---
gtksourceview/gtksourcefile.c | 25 ------
gtksourceview/gtksourcefile.h | 8 --
gtksourceview/gtksourcefileloader.c | 22 -----
gtksourceview/gtksourcefilesaver.c | 34 --------
gtksourceview/gtksourcefilesaver.h | 2 -
gtksourceview/gtksourcegutter.c | 7 --
gtksourceview/gtksourcegutterlines.c | 32 --------
gtksourceview/gtksourcegutterrenderer.c | 20 -----
gtksourceview/gtksourcegutterrendererpixbuf.c | 4 -
gtksourceview/gtksourcehover.c | 2 -
gtksourceview/gtksourcehovercontext.c | 2 -
gtksourceview/gtksourcehoverdisplay.c | 2 -
gtksourceview/gtksourcehoverprovider.c | 2 -
gtksourceview/gtksourceindenter.c | 8 --
gtksourceview/gtksourceinit.c | 4 -
gtksourceview/gtksourcelanguage.c | 2 -
gtksourceview/gtksourcelanguagemanager.c | 2 -
gtksourceview/gtksourcemap.c | 6 --
gtksourceview/gtksourcemark.c | 8 --
gtksourceview/gtksourceprintcompositor.c | 96 ----------------------
gtksourceview/gtksourceregion.c | 24 +-----
gtksourceview/gtksourceregion.h | 2 -
gtksourceview/gtksourcesearchcontext.c | 37 ---------
gtksourceview/gtksourcesearchsettings.c | 26 ------
gtksourceview/gtksourcesnippet.c | 32 --------
gtksourceview/gtksourcesnippetchunk.c | 24 ------
gtksourceview/gtksourcesnippetcontext.c | 14 ----
gtksourceview/gtksourcesnippetmanager.c | 16 ----
gtksourceview/gtksourcespacedrawer.c | 20 +----
gtksourceview/gtksourcespacedrawer.h | 4 -
gtksourceview/gtksourcestyle.c | 4 -
gtksourceview/gtksourcestylescheme.c | 26 ------
gtksourceview/gtksourcestyleschemechooser.c | 8 --
gtksourceview/gtksourcestyleschemechooserbutton.c | 4 -
gtksourceview/gtksourcestyleschemechooserwidget.c | 4 -
gtksourceview/gtksourcetag.c | 5 --
gtksourceview/gtksourceutils.c | 2 -
gtksourceview/gtksourceversion.c | 8 --
gtksourceview/gtksourceversion.h.in | 12 ---
gtksourceview/gtksourceview.c | 56 +------------
gtksourceview/gtksourceview.h | 2 -
52 files changed, 4 insertions(+), 764 deletions(-)
---
diff --git a/gtksourceview/completion-providers/snippets/gtksourcecompletionsnippets.c
b/gtksourceview/completion-providers/snippets/gtksourcecompletionsnippets.c
index 1edb022f..1f077946 100644
--- a/gtksourceview/completion-providers/snippets/gtksourcecompletionsnippets.c
+++ b/gtksourceview/completion-providers/snippets/gtksourcecompletionsnippets.c
@@ -43,8 +43,6 @@
* The #GtkSourceCompletionSnippets is an example of an implementation of
* the #GtkSourceCompletionProvider interface. The proposals are snippets
* registered with the #GtkSourceSnippetManager.
- *
- * Since: 5.0
*/
struct _GtkSourceSnippetResults
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index ae576739..6f1a8a41 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -350,8 +350,6 @@ gtk_source_buffer_class_init (GtkSourceBufferClass *klass)
*
* Whether the buffer has an implicit trailing newline. See
* gtk_source_buffer_set_implicit_trailing_newline().
- *
- * Since: 3.14
*/
buffer_properties[PROP_IMPLICIT_TRAILING_NEWLINE] =
g_param_spec_boolean ("implicit-trailing-newline",
@@ -369,8 +367,6 @@ gtk_source_buffer_class_init (GtkSourceBufferClass *klass)
* @buffer: a #GtkSourceBuffer
*
* The "cursor-moved" signal is emitted when then insertion mark has moved.
- *
- * Since: 5.0
*/
buffer_signals[CURSOR_MOVED] =
g_signal_new_class_handler ("cursor-moved",
@@ -439,8 +435,6 @@ gtk_source_buffer_class_init (GtkSourceBufferClass *klass)
* the cursor moves.
*
* A use-case for this signal is to show messages in a #GtkStatusbar.
- *
- * Since: 2.12
*/
buffer_signals[BRACKET_MATCHED] =
g_signal_new ("bracket-matched",
@@ -1785,8 +1779,6 @@ gtk_source_buffer_real_mark_deleted (GtkTextBuffer *buffer,
* executing instruction indication in a source file, etc..
*
* Returns: (transfer none): a new #GtkSourceMark, owned by the buffer.
- *
- * Since: 2.2
*/
GtkSourceMark *
gtk_source_buffer_create_source_mark (GtkSourceBuffer *buffer,
@@ -1880,8 +1872,6 @@ _gtk_source_buffer_source_mark_prev (GtkSourceBuffer *buffer,
* next source mark can be of any category.
*
* Returns: whether @iter was moved.
- *
- * Since: 2.2
*/
gboolean
gtk_source_buffer_forward_iter_to_source_mark (GtkSourceBuffer *buffer,
@@ -1914,8 +1904,6 @@ gtk_source_buffer_forward_iter_to_source_mark (GtkSourceBuffer *buffer,
* previous source mark can be of any category.
*
* Returns: whether @iter was moved.
- *
- * Since: 2.2
*/
gboolean
gtk_source_buffer_backward_iter_to_source_mark (GtkSourceBuffer *buffer,
@@ -1948,8 +1936,6 @@ gtk_source_buffer_backward_iter_to_source_mark (GtkSourceBuffer *buffer,
*
* Returns: (element-type GtkSource.Mark) (transfer container):
* a newly allocated #GSList.
- *
- * Since: 2.2
*/
GSList *
gtk_source_buffer_get_source_marks_at_iter (GtkSourceBuffer *buffer,
@@ -1982,8 +1968,6 @@ gtk_source_buffer_get_source_marks_at_iter (GtkSourceBuffer *buffer,
*
* Returns: (element-type GtkSource.Mark) (transfer container):
* a newly allocated #GSList.
- *
- * Since: 2.2
*/
GSList *
gtk_source_buffer_get_source_marks_at_line (GtkSourceBuffer *buffer,
@@ -2026,8 +2010,6 @@ gtk_source_buffer_get_source_marks_at_line (GtkSourceBuffer *buffer,
*
* Remove all marks of @category between @start and @end from the buffer.
* If @category is NULL, all marks in the range will be removed.
- *
- * Since: 2.2
*/
void
gtk_source_buffer_remove_source_marks (GtkSourceBuffer *buffer,
@@ -2103,7 +2085,6 @@ get_context_class_tag (GtkSourceBuffer *buffer,
* See the #GtkSourceBuffer description for the list of default context classes.
*
* Returns: whether @iter has the context class.
- * Since: 2.10
*/
gboolean
gtk_source_buffer_iter_has_context_class (GtkSourceBuffer *buffer,
@@ -2138,8 +2119,6 @@ gtk_source_buffer_iter_has_context_class (GtkSourceBuffer *buffer,
* Returns: (array zero-terminated=1) (transfer full): a new %NULL
* terminated array of context class names.
* Use g_strfreev() to free the array if it is no longer needed.
- *
- * Since: 2.10
*/
gchar **
gtk_source_buffer_get_context_classes_at_iter (GtkSourceBuffer *buffer,
@@ -2195,8 +2174,6 @@ gtk_source_buffer_get_context_classes_at_iter (GtkSourceBuffer *buffer,
* See the #GtkSourceBuffer description for the list of default context classes.
*
* Returns: whether we found a context class toggle after @iter
- *
- * Since: 2.10
*/
gboolean
gtk_source_buffer_iter_forward_to_context_class_toggle (GtkSourceBuffer *buffer,
@@ -2234,8 +2211,6 @@ gtk_source_buffer_iter_forward_to_context_class_toggle (GtkSourceBuffer *buffer,
* See the #GtkSourceBuffer description for the list of default context classes.
*
* Returns: whether we found a context class toggle before @iter
- *
- * Since: 2.10
*/
gboolean
gtk_source_buffer_iter_backward_to_context_class_toggle (GtkSourceBuffer *buffer,
@@ -2488,8 +2463,6 @@ do_title_case (GtkTextBuffer *buffer,
*
* Since 5.4, this function will update the position of @start and
* @end to surround the modified text.
- *
- * Since: 3.12
*/
void
gtk_source_buffer_change_case (GtkSourceBuffer *buffer,
@@ -2577,8 +2550,6 @@ move_to_line_text_end(GtkTextIter *iter)
* @end: a #GtkTextIter.
*
* Joins the lines of text between the specified iterators.
- *
- * Since: 3.16
*/
void
gtk_source_buffer_join_lines (GtkSourceBuffer *buffer,
@@ -2694,8 +2665,6 @@ compare_line_reversed (gconstpointer aptr,
* @column: sort considering the text starting at the given column
*
* Sort the lines of text between the specified iterators.
- *
- * Since: 3.18
*/
void
gtk_source_buffer_sort_lines (GtkSourceBuffer *buffer,
@@ -2959,8 +2928,6 @@ _gtk_source_buffer_has_invalid_chars (GtkSourceBuffer *buffer)
* On the other hand, if @implicit_trailing_newline is %FALSE, the file's
* content is not modified when loaded into the @buffer, and the @buffer's
* content is not modified when saved into a file.
- *
- * Since: 3.14
*/
void
gtk_source_buffer_set_implicit_trailing_newline (GtkSourceBuffer *buffer,
@@ -2984,7 +2951,6 @@ gtk_source_buffer_set_implicit_trailing_newline (GtkSourceBuffer *buffer,
* @buffer: a #GtkSourceBuffer.
*
* Returns: whether the @buffer has an implicit trailing newline.
- * Since: 3.14
*/
gboolean
gtk_source_buffer_get_implicit_trailing_newline (GtkSourceBuffer *buffer)
@@ -3020,7 +2986,6 @@ gtk_source_buffer_get_implicit_trailing_newline (GtkSourceBuffer *buffer)
* of properties to set on the tag, as with g_object_set().
*
* Returns: (transfer none): a new #GtkSourceTag.
- * Since: 3.20
*/
GtkTextTag *
gtk_source_buffer_create_source_tag (GtkSourceBuffer *buffer,
diff --git a/gtksourceview/gtksourcebuffer.h b/gtksourceview/gtksourcebuffer.h
index 346eefbf..c285ffcf 100644
--- a/gtksourceview/gtksourcebuffer.h
+++ b/gtksourceview/gtksourcebuffer.h
@@ -60,8 +60,6 @@ typedef enum _GtkSourceBracketMatchType
* @GTK_SOURCE_CHANGE_CASE_UPPER: change case to uppercase.
* @GTK_SOURCE_CHANGE_CASE_TOGGLE: toggle case of each character.
* @GTK_SOURCE_CHANGE_CASE_TITLE: capitalize each word.
- *
- * Since: 3.12
*/
typedef enum _GtkSourceChangeCaseType
{
@@ -77,8 +75,6 @@ typedef enum _GtkSourceChangeCaseType
* @GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE: case sensitive sort
* @GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER: sort in reverse order
* @GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES: remove duplicates
- *
- * Since: 3.18
*/
typedef enum _GtkSourceSortFlags
{
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 611dc3f7..5f305f34 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -992,8 +992,6 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
*
* The #GtkTextBuffer for the #GtkSourceCompletion:view.
* This is a convenience property for providers.
- *
- * Since: 5.0
*/
properties [PROP_BUFFER] =
g_param_spec_object ("buffer",
@@ -1006,8 +1004,6 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
* GtkSourceCompletion:page-size:
*
* The number of rows to display to the user before scrolling.
- *
- * Since: 5.0
*/
properties [PROP_PAGE_SIZE] =
g_param_spec_uint ("page-size",
@@ -1060,8 +1056,6 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
*
* The "view" property is the #GtkTextView for which this #GtkSourceCompletion
* is providing completion features.
- *
- * Since: 5.0
*/
properties [PROP_VIEW] =
g_param_spec_object ("view",
@@ -1079,8 +1073,6 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
*
* The "provided-added" signal is emitted when a new provider is
* added to the completion.
- *
- * Since: 5.0
*/
signals [PROVIDER_ADDED] =
g_signal_new ("provider-added",
@@ -1100,8 +1092,6 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
*
* The "provided-removed" signal is emitted when a provider has
* been removed from the completion.
- *
- * Since: 5.0
*/
signals [PROVIDER_REMOVED] =
g_signal_new ("provider-removed",
@@ -1120,8 +1110,6 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
*
* The "hide" signal is emitted when the completion window should
* be hidden.
- *
- * Since: 5.0
*/
signals [HIDE] =
g_signal_new_class_handler ("hide",
@@ -1141,8 +1129,6 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
*
* The "show" signal is emitted when the completion window should
* be shown.
- *
- * Since: 5.0
*/
signals [SHOW] =
g_signal_new_class_handler ("show",
@@ -1233,8 +1219,6 @@ gtk_source_completion_init (GtkSourceCompletion *self)
* Gets the #GtkSourceView that owns the #GtkSourceCompletion.
*
* Returns: (transfer none): A #GtkSourceView
- *
- * Since: 5.0
*/
GtkSourceView *
gtk_source_completion_get_view (GtkSourceCompletion *self)
@@ -1251,8 +1235,6 @@ gtk_source_completion_get_view (GtkSourceCompletion *self)
* Gets the connected #GtkSourceView's #GtkSourceBuffer
*
* Returns: (transfer none): A #GtkSourceBuffer
- *
- * Since: 5.0
*/
GtkSourceBuffer *
gtk_source_completion_get_buffer (GtkSourceCompletion *self)
@@ -1269,8 +1251,6 @@ gtk_source_completion_get_buffer (GtkSourceCompletion *self)
*
* Adds an #GtkSourceCompletionProvider to the list of providers to be queried
* for completion results.
- *
- * Since: 5.0
*/
void
gtk_source_completion_add_provider (GtkSourceCompletion *self,
@@ -1290,8 +1270,6 @@ gtk_source_completion_add_provider (GtkSourceCompletion *self,
*
* Removes an #GtkSourceCompletionProvider previously added with
* gtk_source_completion_add_provider().
- *
- * Since: 5.0
*/
void
gtk_source_completion_remove_provider (GtkSourceCompletion *self,
@@ -1320,8 +1298,6 @@ gtk_source_completion_remove_provider (GtkSourceCompletion *self,
*
* When the "show" signal is emitted, the completion window will be
* displayed if there are any results available.
- *
- * Since: 5.0
*/
void
gtk_source_completion_show (GtkSourceCompletion *self)
@@ -1345,8 +1321,6 @@ gtk_source_completion_show (GtkSourceCompletion *self)
*
* When the "hide" signal is emitted, the completion window will be
* dismissed.
- *
- * Since: 5.0
*/
void
gtk_source_completion_hide (GtkSourceCompletion *self)
@@ -1457,8 +1431,6 @@ _gtk_source_completion_get_display (GtkSourceCompletion *self)
* it will be set to zero.
*
* Returns: %TRUE if @haystack matched @casefold_needle, otherwise %FALSE.
- *
- * Since: 5.0
*/
gboolean
gtk_source_completion_fuzzy_match (const char *haystack,
@@ -1560,8 +1532,6 @@ add_attributes (PangoAttrList **attrs,
* based on @casefold_query.
*
* Returns: (transfer full) (nullable): a #PangoAttrList or %NULL
- *
- * Since: 5.0
*/
PangoAttrList *
gtk_source_completion_fuzzy_highlight (const char *haystack,
diff --git a/gtksourceview/gtksourcecompletioncell.c b/gtksourceview/gtksourcecompletioncell.c
index 671e1c01..e5e67781 100644
--- a/gtksourceview/gtksourcecompletioncell.c
+++ b/gtksourceview/gtksourcecompletioncell.c
@@ -335,8 +335,6 @@ gtk_source_completion_cell_set_paintable (GtkSourceCompletionCell *self,
* Gets the child #GtkWidget, if any.
*
* Returns: (transfer none) (nullable): a #GtkWidget or %NULL
- *
- * Since: 5.0
*/
GtkWidget *
gtk_source_completion_cell_get_widget (GtkSourceCompletionCell *self)
diff --git a/gtksourceview/gtksourcecompletioncontext.c b/gtksourceview/gtksourcecompletioncontext.c
index 4c5a7063..686bc05e 100644
--- a/gtksourceview/gtksourcecompletioncontext.c
+++ b/gtksourceview/gtksourcecompletioncontext.c
@@ -52,8 +52,6 @@
* results for the user. They are also responsible for how the contents are
* displayed using #GtkSourceCompletionCell which allows for some level of
* customization.
- *
- * Since: 5.0
*/
struct _GtkSourceCompletionContext
@@ -283,8 +281,6 @@ gtk_source_completion_context_class_init (GtkSourceCompletionContextClass *klass
*
* The "busy" property is %TRUE while the completion context is
* populating completion proposals.
- *
- * Since: 5.0
*/
properties [PROP_BUSY] =
g_param_spec_boolean ("busy",
@@ -300,8 +296,6 @@ gtk_source_completion_context_class_init (GtkSourceCompletionContextClass *klass
*
* It will be notified when the first result is added or the last
* result is removed.
- *
- * Since: 5.0
*/
properties [PROP_EMPTY] =
g_param_spec_boolean ("empty",
@@ -314,8 +308,6 @@ gtk_source_completion_context_class_init (GtkSourceCompletionContextClass *klass
* GtkSourceCompletionContext:completion:
*
* The "completion" is the #GtkSourceCompletion that was used to create the context.
- *
- * Since: 5.0
*/
properties [PROP_COMPLETION] =
g_param_spec_object ("completion",
@@ -452,8 +444,6 @@ list_model_iface_init (GListModelInterface *iface)
* current word being completed.
*
* Returns: %TRUE if the marks are still valid and @begin or @end was set.
- *
- * Since: 5.0
*/
gboolean
gtk_source_completion_context_get_bounds (GtkSourceCompletionContext *self,
@@ -507,8 +497,6 @@ gtk_source_completion_context_get_bounds (GtkSourceCompletionContext *self,
* Gets the #GtkSourceCompletion that created the context.
*
* Returns: (transfer none) (nullable): an #GtkSourceCompletion or %NULL
- *
- * Since: 5.0
*/
GtkSourceCompletion *
gtk_source_completion_context_get_completion (GtkSourceCompletionContext *self)
@@ -614,8 +602,6 @@ gtk_source_completion_context_items_changed_cb (GtkSourceCompletionContext *self
* can be used to immediately return results for a provider while it does
* additional asynchronous work. Doing so will allow the completions to
* update while the operation is in progress.
- *
- * Since: 5.0
*/
void
gtk_source_completion_context_set_proposals_for_provider (GtkSourceCompletionContext *self,
@@ -742,8 +728,6 @@ gtk_source_completion_context_notify_complete_cb (GtkSourceCompletionContext *se
*
* Asynchronously requests that the completion context load proposals
* from the registered providers.
- *
- * Since: 5.0
*/
void
_gtk_source_completion_context_complete_async (GtkSourceCompletionContext *self,
@@ -829,8 +813,6 @@ _gtk_source_completion_context_complete_async (GtkSourceCompletionContext *se
* Completes an asynchronous request to populate proposals.
*
* Returns: %TRUE if successful; otherwise %FALSE and @error is set
- *
- * Since: 5.0
*/
gboolean
_gtk_source_completion_context_complete_finish (GtkSourceCompletionContext *self,
@@ -852,8 +834,6 @@ _gtk_source_completion_context_complete_finish (GtkSourceCompletionContext *sel
* #GtkSourceCompletionProvider's.
*
* Returns: %TRUE if the context is busy
- *
- * Since: 5.0
*/
gboolean
gtk_source_completion_context_get_busy (GtkSourceCompletionContext *self)
@@ -873,8 +853,6 @@ gtk_source_completion_context_get_busy (GtkSourceCompletionContext *self)
* property.
*
* Returns: (transfer none) (nullable): a #GtkTextBuffer or %NULL
- *
- * Since: 5.0
*/
GtkSourceBuffer *
gtk_source_completion_context_get_buffer (GtkSourceCompletionContext *self)
@@ -894,8 +872,6 @@ gtk_source_completion_context_get_buffer (GtkSourceCompletionContext *self)
* Gets the text view for the context.
*
* Returns: (nullable) (transfer none): a #GtkSourceView or %NULL
- *
- * Since: 5.0
*/
GtkSourceView *
gtk_source_completion_context_get_view (GtkSourceCompletionContext *self)
@@ -958,8 +934,6 @@ _gtk_source_completion_context_iter_invalidates (GtkSourceCompletionContext *sel
* Out of convenience, this function will return %TRUE if @self is %NULL.
*
* Returns: %TRUE if there are no proposals in the context
- *
- * Since: 5.0
*/
gboolean
gtk_source_completion_context_get_empty (GtkSourceCompletionContext *self)
@@ -976,8 +950,6 @@ gtk_source_completion_context_get_empty (GtkSourceCompletionContext *self)
* Gets the word that is being completed up to the position of the insert mark.
*
* Returns: (transfer full): a string containing the current word
- *
- * Since: 5.0
*/
gchar *
gtk_source_completion_context_get_word (GtkSourceCompletionContext *self)
@@ -1034,8 +1006,6 @@ _gtk_source_completion_context_can_refilter (GtkSourceCompletionContext *self,
* @self: a #GtkSourceCompletionContext
*
* Gets the mode for which the context was activated.
- *
- * Since: 5.0
*/
GtkSourceCompletionActivation
gtk_source_completion_context_get_activation (GtkSourceCompletionContext *self)
@@ -1052,8 +1022,6 @@ gtk_source_completion_context_get_activation (GtkSourceCompletionContext *self)
* Gets the language of the underlying buffer, if any.
*
* Returns: (nullable) (transfer none): a #GtkSourceLanguage or %NULL
- *
- * Since: 5.0
*/
GtkSourceLanguage *
gtk_source_completion_context_get_language (GtkSourceCompletionContext *self)
diff --git a/gtksourceview/gtksourcecompletionlistbox.c b/gtksourceview/gtksourcecompletionlistbox.c
index f831ed45..b525c4f8 100644
--- a/gtksourceview/gtksourcecompletionlistbox.c
+++ b/gtksourceview/gtksourcecompletionlistbox.c
@@ -990,8 +990,6 @@ _gtk_source_completion_list_box_set_n_rows (GtkSourceCompletionListBox *self,
* Gets the currently selected proposal, or %NULL if no proposal is selected
*
* Returns: (nullable) (transfer full): a #GtkSourceCompletionProposal or %NULL
- *
- * Since: 5.0
*/
GtkSourceCompletionProposal *
_gtk_source_completion_list_box_get_proposal (GtkSourceCompletionListBox *self)
@@ -1021,8 +1019,6 @@ _gtk_source_completion_list_box_get_proposal (GtkSourceCompletionListBox *self)
* are set to the selected provider/proposal.
*
* Returns: %TRUE if there is a selection
- *
- * Since: 5.0
*/
gboolean
_gtk_source_completion_list_box_get_selected (GtkSourceCompletionListBox *self,
@@ -1056,8 +1052,6 @@ _gtk_source_completion_list_box_get_selected (GtkSourceCompletionListBox *self
* Gets the context that is being displayed in the list box.
*
* Returns: (transfer none) (nullable): an #GtkSourceCompletionContext or %NULL
- *
- * Since: 5.0
*/
GtkSourceCompletionContext *
_gtk_source_completion_list_box_get_context (GtkSourceCompletionListBox *self)
@@ -1094,8 +1088,6 @@ gtk_source_completion_list_box_items_changed_cb (GtkSourceCompletionListBox *sel
* @context: the #GtkSourceCompletionContext
*
* Sets the context to be displayed.
- *
- * Since: 5.0
*/
void
_gtk_source_completion_list_box_set_context (GtkSourceCompletionListBox *self,
diff --git a/gtksourceview/gtksourcecompletionproposal.c b/gtksourceview/gtksourcecompletionproposal.c
index 9e9b3a35..7b613ff5 100644
--- a/gtksourceview/gtksourcecompletionproposal.c
+++ b/gtksourceview/gtksourcecompletionproposal.c
@@ -35,8 +35,6 @@
* may be added in the future. Proposals created by
* #GtkSourceCompletionProvider can use %G_IMPLEMENT_INTERFACE to
* implement this with %NULL for the interface init function.
- *
- * Since: 5.0
*/
G_DEFINE_INTERFACE (GtkSourceCompletionProposal, gtk_source_completion_proposal, G_TYPE_OBJECT)
diff --git a/gtksourceview/gtksourcecompletionprovider.c b/gtksourceview/gtksourcecompletionprovider.c
index 193ab26c..401f52d0 100644
--- a/gtksourceview/gtksourcecompletionprovider.c
+++ b/gtksourceview/gtksourcecompletionprovider.c
@@ -36,8 +36,6 @@
* In most cases, implementations of this interface will want to use
* #GtkSourceCompletion.populate_async to asynchronously populate the results
* to avoid blocking the main loop.
- *
- * Since: 5.0
*/
G_DEFINE_INTERFACE (GtkSourceCompletionProvider, gtk_source_completion_provider, G_TYPE_OBJECT)
@@ -134,8 +132,6 @@ gtk_source_completion_provider_default_init (GtkSourceCompletionProviderInterfac
* at some point in the future when non-%NULL.
*
* Returns: (transfer full) (nullable): a title for the provider or %NULL
- *
- * Since: 5.0
*/
char *
gtk_source_completion_provider_get_title (GtkSourceCompletionProvider *self)
@@ -160,8 +156,6 @@ gtk_source_completion_provider_get_title (GtkSourceCompletionProvider *self)
* above lower priority providers.
*
* Lower value indicates higher priority.
- *
- * Since: 5.0
*/
int
gtk_source_completion_provider_get_priority (GtkSourceCompletionProvider *self,
@@ -187,8 +181,6 @@ gtk_source_completion_provider_get_priority (GtkSourceCompletionProvider *self,
*
* An example would be period '.' which might indicate that the user wants
* to complete method or field names of an object.
- *
- * Since: 5.0
*/
gboolean
gtk_source_completion_provider_is_trigger (GtkSourceCompletionProvider *self,
@@ -218,8 +210,6 @@ gtk_source_completion_provider_is_trigger (GtkSourceCompletionProvider *self,
* This is useful when using languages where convention may lead to less
* typing by the user. One example may be the use of "." or "-" to expand
* a field access in the C programming language.
- *
- * Since: 5.0
*/
gboolean
gtk_source_completion_provider_key_activates (GtkSourceCompletionProvider *self,
@@ -253,8 +243,6 @@ gtk_source_completion_provider_key_activates (GtkSourceCompletionProvider *self,
* results are displayed to the user,
* gtk_source_completion_context_set_proposals_for_provider() may be used
* to reduce latency until the user sees results.
- *
- * Since: 5.0
*/
void
gtk_source_completion_provider_populate_async (GtkSourceCompletionProvider *self,
@@ -279,8 +267,6 @@ gtk_source_completion_provider_populate_async (GtkSourceCompletionProvider *self
* Completes an asynchronous operation to populate a completion provider.
*
* Returns: (transfer full): a #GListModel of #GtkSourceCompletionProposal
- *
- * Since: 5.0
*/
GListModel *
gtk_source_completion_provider_populate_finish (GtkSourceCompletionProvider *self,
@@ -304,8 +290,6 @@ gtk_source_completion_provider_populate_finish (GtkSourceCompletionProvider *se
* This can happen as the user types additionl text onto the word so
* that previously matched items may be removed from the list instead of
* generating new #GListModel of results.
- *
- * Since: 5.0
*/
void
gtk_source_completion_provider_refilter (GtkSourceCompletionProvider *self,
@@ -334,8 +318,6 @@ gtk_source_completion_provider_refilter (GtkSourceCompletionProvider *self,
* This allows for columns of information among completion proposals
* resulting in better alignment of similar content (icons, return types,
* method names, and parameter lists).
- *
- * Since: 5.0
*/
void
gtk_source_completion_provider_display (GtkSourceCompletionProvider *self,
@@ -366,7 +348,6 @@ gtk_source_completion_provider_display (GtkSourceCompletionProvider *self,
* edit points the user may cycle through.
*
* See also: #GtkSourceSnippet, #GtkSourceSnippetChunk, gtk_source_view_push_snippet()
- * Since: 5.0
*/
void
gtk_source_completion_provider_activate (GtkSourceCompletionProvider *self,
@@ -394,8 +375,6 @@ gtk_source_completion_provider_activate (GtkSourceCompletionProvider *self,
*
* Returns: (nullable) (transfer full) (element-type GtkSourceCompletionProposal):
* a #GPtrArray of #GtkSourceCompletionProposal or %NULL.
- *
- * Since: 5.0
*/
GPtrArray *
gtk_source_completion_provider_list_alternates (GtkSourceCompletionProvider *self,
diff --git a/gtksourceview/gtksourceencoding-private.h b/gtksourceview/gtksourceencoding-private.h
index b99d4e14..d48bab94 100644
--- a/gtksourceview/gtksourceencoding-private.h
+++ b/gtksourceview/gtksourceencoding-private.h
@@ -31,8 +31,6 @@ G_BEGIN_DECLS
*
* Specifies which encoding occurrence to keep when removing duplicated
* encodings in a list with gtk_source_encoding_remove_duplicates().
- *
- * Since: 3.14
*/
typedef enum _GtkSourceEncodingDuplicates
{
diff --git a/gtksourceview/gtksourceencoding.c b/gtksourceview/gtksourceencoding.c
index c630c49a..520f966e 100644
--- a/gtksourceview/gtksourceencoding.c
+++ b/gtksourceview/gtksourceencoding.c
@@ -308,7 +308,6 @@ gtk_source_encoding_lazy_init (void)
*
* Returns: (nullable): the corresponding #GtkSourceEncoding, or %NULL
* if not found.
- * Since: 3.14
*/
const GtkSourceEncoding *
gtk_source_encoding_get_from_charset (const gchar *charset)
@@ -348,7 +347,6 @@ gtk_source_encoding_get_from_charset (const gchar *charset)
*
* Returns: (transfer container) (element-type GtkSource.Encoding): a list of
* all #GtkSourceEncoding's. Free with g_slist_free().
- * Since: 3.14
*/
GSList *
gtk_source_encoding_get_all (void)
@@ -370,7 +368,6 @@ gtk_source_encoding_get_all (void)
* gtk_source_encoding_get_utf8:
*
* Returns: the UTF-8 encoding.
- * Since: 3.14
*/
const GtkSourceEncoding *
gtk_source_encoding_get_utf8 (void)
@@ -384,7 +381,6 @@ gtk_source_encoding_get_utf8 (void)
* Gets the #GtkSourceEncoding for the current locale. See also g_get_charset().
*
* Returns: the current locale encoding.
- * Since: 3.14
*/
const GtkSourceEncoding *
gtk_source_encoding_get_current (void)
@@ -425,7 +421,6 @@ gtk_source_encoding_get_current (void)
* @enc: a #GtkSourceEncoding.
*
* Returns: a string representation. Free with g_free() when no longer needed.
- * Since: 3.14
*/
gchar *
gtk_source_encoding_to_string (const GtkSourceEncoding* enc)
@@ -458,7 +453,6 @@ gtk_source_encoding_to_string (const GtkSourceEncoding* enc)
* "ISO-8859-1".
*
* Returns: the character set of the #GtkSourceEncoding.
- * Since: 3.14
*/
const gchar *
gtk_source_encoding_get_charset (const GtkSourceEncoding* enc)
@@ -479,7 +473,6 @@ gtk_source_encoding_get_charset (const GtkSourceEncoding* enc)
* Gets the name of the #GtkSourceEncoding such as "Unicode" or "Western".
*
* Returns: the name of the #GtkSourceEncoding.
- * Since: 3.14
*/
const gchar *
gtk_source_encoding_get_name (const GtkSourceEncoding* enc)
@@ -573,7 +566,6 @@ remove_duplicates_keep_last (GSList *list)
*
* Returns: (transfer container) (element-type GtkSource.Encoding): the new
* start of the #GSList.
- * Since: 3.14
*/
GSList *
_gtk_source_encoding_remove_duplicates (GSList *list,
@@ -606,7 +598,6 @@ _gtk_source_encoding_remove_duplicates (GSList *list,
*
* Returns: (transfer container) (element-type GtkSource.Encoding): the list of
* default candidate encodings. Free with g_slist_free().
- * Since: 3.18
*/
GSList *
gtk_source_encoding_get_default_candidates (void)
@@ -689,7 +680,6 @@ gtk_source_encoding_get_default_candidates (void)
* Used by language bindings.
*
* Returns: a copy of @enc.
- * Since: 3.14
*/
GtkSourceEncoding *
gtk_source_encoding_copy (const GtkSourceEncoding *enc)
@@ -704,8 +694,6 @@ gtk_source_encoding_copy (const GtkSourceEncoding *enc)
* @enc: a #GtkSourceEncoding.
*
* Used by language bindings.
- *
- * Since: 3.14
*/
void
gtk_source_encoding_free (GtkSourceEncoding *enc)
diff --git a/gtksourceview/gtksourcefile.c b/gtksourceview/gtksourcefile.c
index a3bbf7d0..3be80460 100644
--- a/gtksourceview/gtksourcefile.c
+++ b/gtksourceview/gtksourcefile.c
@@ -163,8 +163,6 @@ gtk_source_file_class_init (GtkSourceFileClass *klass)
* GtkSourceFile:location:
*
* The location.
- *
- * Since: 3.14
*/
properties [PROP_LOCATION] =
g_param_spec_object ("location",
@@ -180,8 +178,6 @@ gtk_source_file_class_init (GtkSourceFileClass *klass)
*
* The character encoding, initially %NULL. After a successful file
* loading or saving operation, the encoding is non-%NULL.
- *
- * Since: 3.14
*/
properties[PROP_ENCODING] =
g_param_spec_boxed ("encoding",
@@ -195,8 +191,6 @@ gtk_source_file_class_init (GtkSourceFileClass *klass)
* GtkSourceFile:newline-type:
*
* The line ending type.
- *
- * Since: 3.14
*/
properties[PROP_NEWLINE_TYPE] =
g_param_spec_enum ("newline-type",
@@ -211,8 +205,6 @@ gtk_source_file_class_init (GtkSourceFileClass *klass)
* GtkSourceFile:compression-type:
*
* The compression type.
- *
- * Since: 3.14
*/
properties [PROP_COMPRESSION_TYPE] =
g_param_spec_enum ("compression-type",
@@ -228,8 +220,6 @@ gtk_source_file_class_init (GtkSourceFileClass *klass)
*
* Whether the file is read-only or not. The value of this property is
* not updated automatically (there is no file monitors).
- *
- * Since: 3.18
*/
properties [PROP_READ_ONLY] =
g_param_spec_boolean ("read-only",
@@ -256,7 +246,6 @@ gtk_source_file_init (GtkSourceFile *file)
* gtk_source_file_new:
*
* Returns: a new #GtkSourceFile object.
- * Since: 3.14
*/
GtkSourceFile *
gtk_source_file_new (void)
@@ -270,8 +259,6 @@ gtk_source_file_new (void)
* @location: (nullable): the new #GFile, or %NULL.
*
* Sets the location.
- *
- * Since: 3.14
*/
void
gtk_source_file_set_location (GtkSourceFile *file,
@@ -299,7 +286,6 @@ gtk_source_file_set_location (GtkSourceFile *file,
* @file: a #GtkSourceFile.
*
* Returns: (transfer none): the #GFile.
- * Since: 3.14
*/
GFile *
gtk_source_file_get_location (GtkSourceFile *file)
@@ -334,7 +320,6 @@ _gtk_source_file_set_encoding (GtkSourceFile *file,
* operation, the encoding is non-%NULL.
*
* Returns: the character encoding.
- * Since: 3.14
*/
const GtkSourceEncoding *
gtk_source_file_get_encoding (GtkSourceFile *file)
@@ -366,7 +351,6 @@ _gtk_source_file_set_newline_type (GtkSourceFile *file,
* @file: a #GtkSourceFile.
*
* Returns: the newline type.
- * Since: 3.14
*/
GtkSourceNewlineType
gtk_source_file_get_newline_type (GtkSourceFile *file)
@@ -398,7 +382,6 @@ _gtk_source_file_set_compression_type (GtkSourceFile *file,
* @file: a #GtkSourceFile.
*
* Returns: the compression type.
- * Since: 3.14
*/
GtkSourceCompressionType
gtk_source_file_get_compression_type (GtkSourceFile *file)
@@ -425,8 +408,6 @@ gtk_source_file_get_compression_type (GtkSourceFile *file)
*
* If a mount operation factory isn't set, g_mount_operation_new() will be
* called.
- *
- * Since: 3.14
*/
void
gtk_source_file_set_mount_operation_factory (GtkSourceFile *file,
@@ -504,7 +485,6 @@ _gtk_source_file_set_modification_time (GtkSourceFile *file,
* returns %FALSE.
*
* Returns: whether the file is local.
- * Since: 3.18
*/
gboolean
gtk_source_file_is_local (GtkSourceFile *file)
@@ -534,8 +514,6 @@ gtk_source_file_is_local (GtkSourceFile *file)
*
* Since this function is synchronous, it is advised to call it only on local
* files. See gtk_source_file_is_local().
- *
- * Since: 3.18
*/
void
gtk_source_file_check_file_on_disk (GtkSourceFile *file)
@@ -615,7 +593,6 @@ _gtk_source_file_set_externally_modified (GtkSourceFile *file,
* gtk_source_file_check_file_on_disk().
*
* Returns: whether the file is externally modified.
- * Since: 3.18
*/
gboolean
gtk_source_file_is_externally_modified (GtkSourceFile *file)
@@ -649,7 +626,6 @@ _gtk_source_file_set_deleted (GtkSourceFile *file,
* gtk_source_file_check_file_on_disk().
*
* Returns: whether the file has been deleted.
- * Since: 3.18
*/
gboolean
gtk_source_file_is_deleted (GtkSourceFile *file)
@@ -689,7 +665,6 @@ _gtk_source_file_set_readonly (GtkSourceFile *file,
* gtk_source_file_check_file_on_disk().
*
* Returns: whether the file is read-only.
- * Since: 3.18
*/
gboolean
gtk_source_file_is_readonly (GtkSourceFile *file)
diff --git a/gtksourceview/gtksourcefile.h b/gtksourceview/gtksourcefile.h
index dc4ba4e3..1ab7097d 100644
--- a/gtksourceview/gtksourcefile.h
+++ b/gtksourceview/gtksourcefile.h
@@ -37,8 +37,6 @@ G_BEGIN_DECLS
* @GTK_SOURCE_NEWLINE_TYPE_CR: carriage return, used on Mac.
* @GTK_SOURCE_NEWLINE_TYPE_CR_LF: carriage return followed by a line feed, used
* on Windows.
- *
- * Since: 3.14
*/
typedef enum _GtkSourceNewlineType
{
@@ -51,8 +49,6 @@ typedef enum _GtkSourceNewlineType
* GTK_SOURCE_NEWLINE_TYPE_DEFAULT:
*
* The default newline type on the current OS.
- *
- * Since: 3.14
*/
#ifdef G_OS_WIN32
#define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_CR_LF
@@ -64,8 +60,6 @@ typedef enum _GtkSourceNewlineType
* GtkSourceCompressionType:
* @GTK_SOURCE_COMPRESSION_TYPE_NONE: plain text.
* @GTK_SOURCE_COMPRESSION_TYPE_GZIP: gzip compression.
- *
- * Since: 3.14
*/
typedef enum _GtkSourceCompressionType
{
@@ -80,8 +74,6 @@ typedef enum _GtkSourceCompressionType
*
* Type definition for a function that will be called to create a
* #GMountOperation. This is useful for creating a #GtkMountOperation.
- *
- * Since: 3.14
*/
typedef GMountOperation *(*GtkSourceMountOperationFactory) (GtkSourceFile *file,
gpointer userdata);
diff --git a/gtksourceview/gtksourcefileloader.c b/gtksourceview/gtksourcefileloader.c
index 95479d4b..75763604 100644
--- a/gtksourceview/gtksourcefileloader.c
+++ b/gtksourceview/gtksourcefileloader.c
@@ -382,8 +382,6 @@ gtk_source_file_loader_class_init (GtkSourceFileLoaderClass *klass)
*
* The #GtkSourceBuffer to load the contents into. The
* #GtkSourceFileLoader object has a weak reference to the buffer.
- *
- * Since: 3.14
*/
g_object_class_install_property (object_class, PROP_BUFFER,
g_param_spec_object ("buffer",
@@ -399,8 +397,6 @@ gtk_source_file_loader_class_init (GtkSourceFileLoaderClass *klass)
*
* The #GtkSourceFile. The #GtkSourceFileLoader object has a weak
* reference to the file.
- *
- * Since: 3.14
*/
g_object_class_install_property (object_class, PROP_FILE,
g_param_spec_object ("file",
@@ -417,8 +413,6 @@ gtk_source_file_loader_class_init (GtkSourceFileLoaderClass *klass)
* The #GFile to load. If the #GtkSourceFileLoader:input-stream is
* %NULL, by default the location is taken from the #GtkSourceFile at
* construction time.
- *
- * Since: 3.14
*/
g_object_class_install_property (object_class, PROP_LOCATION,
g_param_spec_object ("location",
@@ -434,8 +428,6 @@ gtk_source_file_loader_class_init (GtkSourceFileLoaderClass *klass)
*
* The #GInputStream to load. Useful for reading stdin. If this property
* is set, the #GtkSourceFileLoader:location property is ignored.
- *
- * Since: 3.14
*/
g_object_class_install_property (object_class, PROP_INPUT_STREAM,
g_param_spec_object ("input-stream",
@@ -918,7 +910,6 @@ gtk_source_file_loader_error_quark (void)
* the @buffer is emptied.
*
* Returns: a new #GtkSourceFileLoader object.
- * Since: 3.14
*/
GtkSourceFileLoader *
gtk_source_file_loader_new (GtkSourceBuffer *buffer,
@@ -942,7 +933,6 @@ gtk_source_file_loader_new (GtkSourceBuffer *buffer,
* Creates a new #GtkSourceFileLoader object. The contents is read from @stream.
*
* Returns: a new #GtkSourceFileLoader object.
- * Since: 3.14
*/
GtkSourceFileLoader *
gtk_source_file_loader_new_from_stream (GtkSourceBuffer *buffer,
@@ -977,8 +967,6 @@ gtk_source_file_loader_new_from_stream (GtkSourceBuffer *buffer,
* gtk_source_file_get_encoding().
* 2. The default candidates as returned by
* gtk_source_encoding_get_default_candidates().
- *
- * Since: 3.14
*/
void
gtk_source_file_loader_set_candidate_encodings (GtkSourceFileLoader *loader,
@@ -1001,7 +989,6 @@ gtk_source_file_loader_set_candidate_encodings (GtkSourceFileLoader *loader,
* @loader: a #GtkSourceFileLoader.
*
* Returns: (transfer none): the #GtkSourceBuffer to load the contents into.
- * Since: 3.14
*/
GtkSourceBuffer *
gtk_source_file_loader_get_buffer (GtkSourceFileLoader *loader)
@@ -1016,7 +1003,6 @@ gtk_source_file_loader_get_buffer (GtkSourceFileLoader *loader)
* @loader: a #GtkSourceFileLoader.
*
* Returns: (transfer none): the #GtkSourceFile.
- * Since: 3.14
*/
GtkSourceFile *
gtk_source_file_loader_get_file (GtkSourceFileLoader *loader)
@@ -1032,7 +1018,6 @@ gtk_source_file_loader_get_file (GtkSourceFileLoader *loader)
*
* Returns: (nullable) (transfer none): the #GFile to load, or %NULL
* if an input stream is used.
- * Since: 3.14
*/
GFile *
gtk_source_file_loader_get_location (GtkSourceFileLoader *loader)
@@ -1048,7 +1033,6 @@ gtk_source_file_loader_get_location (GtkSourceFileLoader *loader)
*
* Returns: (nullable) (transfer none): the #GInputStream to load, or %NULL
* if a #GFile is used.
- * Since: 3.14
*/
GInputStream *
gtk_source_file_loader_get_input_stream (GtkSourceFileLoader *loader)
@@ -1077,8 +1061,6 @@ gtk_source_file_loader_get_input_stream (GtkSourceFileLoader *loader)
* Loads asynchronously the file or input stream contents into the
* #GtkSourceBuffer. See the #GAsyncResult documentation to know how to use this
* function.
- *
- * Since: 3.14
*/
/* The GDestroyNotify is needed, currently the following bug is not fixed:
@@ -1179,7 +1161,6 @@ gtk_source_file_loader_load_async (GtkSourceFileLoader *loader,
* type.
*
* Returns: whether the contents has been loaded successfully.
- * Since: 3.14
*/
gboolean
gtk_source_file_loader_load_finish (GtkSourceFileLoader *loader,
@@ -1281,7 +1262,6 @@ gtk_source_file_loader_load_finish (GtkSourceFileLoader *loader,
* @loader: a #GtkSourceFileLoader.
*
* Returns: the detected file encoding.
- * Since: 3.14
*/
const GtkSourceEncoding *
gtk_source_file_loader_get_encoding (GtkSourceFileLoader *loader)
@@ -1296,7 +1276,6 @@ gtk_source_file_loader_get_encoding (GtkSourceFileLoader *loader)
* @loader: a #GtkSourceFileLoader.
*
* Returns: the detected newline type.
- * Since: 3.14
*/
GtkSourceNewlineType
gtk_source_file_loader_get_newline_type (GtkSourceFileLoader *loader)
@@ -1312,7 +1291,6 @@ gtk_source_file_loader_get_newline_type (GtkSourceFileLoader *loader)
* @loader: a #GtkSourceFileLoader.
*
* Returns: the detected compression type.
- * Since: 3.14
*/
GtkSourceCompressionType
gtk_source_file_loader_get_compression_type (GtkSourceFileLoader *loader)
diff --git a/gtksourceview/gtksourcefilesaver.c b/gtksourceview/gtksourcefilesaver.c
index 2ecd084f..4c92f7ac 100644
--- a/gtksourceview/gtksourcefilesaver.c
+++ b/gtksourceview/gtksourcefilesaver.c
@@ -346,8 +346,6 @@ gtk_source_file_saver_class_init (GtkSourceFileSaverClass *klass)
*
* The #GtkSourceBuffer to save. The #GtkSourceFileSaver object has a
* weak reference to the buffer.
- *
- * Since: 3.14
*/
properties [PROP_BUFFER] =
g_param_spec_object ("buffer",
@@ -363,8 +361,6 @@ gtk_source_file_saver_class_init (GtkSourceFileSaverClass *klass)
*
* The #GtkSourceFile. The #GtkSourceFileSaver object has a weak
* reference to the file.
- *
- * Since: 3.14
*/
properties [PROP_FILE] =
g_param_spec_object ("file",
@@ -380,8 +376,6 @@ gtk_source_file_saver_class_init (GtkSourceFileSaverClass *klass)
*
* The #GFile where to save the buffer. By default the location is taken
* from the #GtkSourceFile at construction time.
- *
- * Since: 3.14
*/
properties [PROP_LOCATION] =
g_param_spec_object ("location",
@@ -396,8 +390,6 @@ gtk_source_file_saver_class_init (GtkSourceFileSaverClass *klass)
* GtkSourceFileSaver:encoding:
*
* The file's encoding.
- *
- * Since: 3.14
*/
properties [PROP_ENCODING] =
g_param_spec_boxed ("encoding",
@@ -412,8 +404,6 @@ gtk_source_file_saver_class_init (GtkSourceFileSaverClass *klass)
* GtkSourceFileSaver:newline-type:
*
* The newline type.
- *
- * Since: 3.14
*/
properties [PROP_NEWLINE_TYPE] =
g_param_spec_enum ("newline-type",
@@ -429,8 +419,6 @@ gtk_source_file_saver_class_init (GtkSourceFileSaverClass *klass)
* GtkSourceFileSaver:compression-type:
*
* The compression type.
- *
- * Since: 3.14
*/
properties [PROP_COMPRESSION_TYPE] =
g_param_spec_enum ("compression-type",
@@ -446,8 +434,6 @@ gtk_source_file_saver_class_init (GtkSourceFileSaverClass *klass)
* GtkSourceFileSaver:flags:
*
* File saving flags.
- *
- * Since: 3.14
*/
properties [PROP_FLAGS] =
g_param_spec_flags ("flags",
@@ -1096,7 +1082,6 @@ gtk_source_file_saver_error_quark (void)
* already contains a non-%NULL #GtkSourceFile:location.
*
* Returns: a new #GtkSourceFileSaver object.
- * Since: 3.14
*/
GtkSourceFileSaver *
gtk_source_file_saver_new (GtkSourceBuffer *buffer,
@@ -1126,7 +1111,6 @@ gtk_source_file_saver_new (GtkSourceBuffer *buffer,
* buffer for the first time.
*
* Returns: a new #GtkSourceFileSaver object.
- * Since: 3.14
*/
GtkSourceFileSaver *
gtk_source_file_saver_new_with_target (GtkSourceBuffer *buffer,
@@ -1149,7 +1133,6 @@ gtk_source_file_saver_new_with_target (GtkSourceBuffer *buffer,
* @saver: a #GtkSourceFileSaver.
*
* Returns: (transfer none): the #GtkSourceBuffer to save.
- * Since: 3.14
*/
GtkSourceBuffer *
gtk_source_file_saver_get_buffer (GtkSourceFileSaver *saver)
@@ -1164,7 +1147,6 @@ gtk_source_file_saver_get_buffer (GtkSourceFileSaver *saver)
* @saver: a #GtkSourceFileSaver.
*
* Returns: (transfer none): the #GtkSourceFile.
- * Since: 3.14
*/
GtkSourceFile *
gtk_source_file_saver_get_file (GtkSourceFileSaver *saver)
@@ -1179,7 +1161,6 @@ gtk_source_file_saver_get_file (GtkSourceFileSaver *saver)
* @saver: a #GtkSourceFileSaver.
*
* Returns: (transfer none): the #GFile where to save the buffer to.
- * Since: 3.14
*/
GFile *
gtk_source_file_saver_get_location (GtkSourceFileSaver *saver)
@@ -1196,8 +1177,6 @@ gtk_source_file_saver_get_location (GtkSourceFileSaver *saver)
*
* Sets the encoding. If @encoding is %NULL, the UTF-8 encoding will be set.
* By default the encoding is taken from the #GtkSourceFile.
- *
- * Since: 3.14
*/
void
gtk_source_file_saver_set_encoding (GtkSourceFileSaver *saver,
@@ -1224,7 +1203,6 @@ gtk_source_file_saver_set_encoding (GtkSourceFileSaver *saver,
* @saver: a #GtkSourceFileSaver.
*
* Returns: the encoding.
- * Since: 3.14
*/
const GtkSourceEncoding *
gtk_source_file_saver_get_encoding (GtkSourceFileSaver *saver)
@@ -1241,8 +1219,6 @@ gtk_source_file_saver_get_encoding (GtkSourceFileSaver *saver)
*
* Sets the newline type. By default the newline type is taken from the
* #GtkSourceFile.
- *
- * Since: 3.14
*/
void
gtk_source_file_saver_set_newline_type (GtkSourceFileSaver *saver,
@@ -1264,7 +1240,6 @@ gtk_source_file_saver_set_newline_type (GtkSourceFileSaver *saver,
* @saver: a #GtkSourceFileSaver.
*
* Returns: the newline type.
- * Since: 3.14
*/
GtkSourceNewlineType
gtk_source_file_saver_get_newline_type (GtkSourceFileSaver *saver)
@@ -1281,8 +1256,6 @@ gtk_source_file_saver_get_newline_type (GtkSourceFileSaver *saver)
*
* Sets the compression type. By default the compression type is taken from the
* #GtkSourceFile.
- *
- * Since: 3.14
*/
void
gtk_source_file_saver_set_compression_type (GtkSourceFileSaver *saver,
@@ -1304,7 +1277,6 @@ gtk_source_file_saver_set_compression_type (GtkSourceFileSaver *saver,
* @saver: a #GtkSourceFileSaver.
*
* Returns: the compression type.
- * Since: 3.14
*/
GtkSourceCompressionType
gtk_source_file_saver_get_compression_type (GtkSourceFileSaver *saver)
@@ -1318,8 +1290,6 @@ gtk_source_file_saver_get_compression_type (GtkSourceFileSaver *saver)
* gtk_source_file_saver_set_flags:
* @saver: a #GtkSourceFileSaver.
* @flags: the new flags.
- *
- * Since: 3.14
*/
void
gtk_source_file_saver_set_flags (GtkSourceFileSaver *saver,
@@ -1341,7 +1311,6 @@ gtk_source_file_saver_set_flags (GtkSourceFileSaver *saver,
* @saver: a #GtkSourceFileSaver.
*
* Returns: the flags.
- * Since: 3.14
*/
GtkSourceFileSaverFlags
gtk_source_file_saver_get_flags (GtkSourceFileSaver *saver)
@@ -1369,8 +1338,6 @@ gtk_source_file_saver_get_flags (GtkSourceFileSaver *saver)
*
* Saves asynchronously the buffer into the file. See the #GAsyncResult
* documentation to know how to use this function.
- *
- * Since: 3.14
*/
/* The GDestroyNotify is needed, currently the following bug is not fixed:
@@ -1456,7 +1423,6 @@ gtk_source_file_saver_save_async (GtkSourceFileSaver *saver,
* if the file has been saved successfully.
*
* Returns: whether the file was saved successfully.
- * Since: 3.14
*/
gboolean
gtk_source_file_saver_save_finish (GtkSourceFileSaver *saver,
diff --git a/gtksourceview/gtksourcefilesaver.h b/gtksourceview/gtksourcefilesaver.h
index b249f94e..a5f8a56e 100644
--- a/gtksourceview/gtksourcefilesaver.h
+++ b/gtksourceview/gtksourcefilesaver.h
@@ -44,7 +44,6 @@ G_BEGIN_DECLS
* modified.
*
* An error code used with the %GTK_SOURCE_FILE_SAVER_ERROR domain.
- * Since: 3.14
*/
typedef enum _GtkSourceFileSaverError
{
@@ -60,7 +59,6 @@ typedef enum _GtkSourceFileSaverError
* @GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP: Create a backup before saving the file.
*
* Flags to define the behavior of a #GtkSourceFileSaver.
- * Since: 3.14
*/
typedef enum _GtkSourceFileSaverFlags
{
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index 8f2cb649..23609eff 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -515,8 +515,6 @@ _gtk_source_gutter_new (GtkTextWindowType type,
* @gutter: a #GtkSourceGutter.
*
* Returns: (transfer none): the associated #GtkSourceView.
- *
- * Since: 3.24
*/
GtkSourceView *
gtk_source_gutter_get_view (GtkSourceGutter *gutter)
@@ -537,9 +535,6 @@ gtk_source_gutter_get_view (GtkSourceGutter *gutter)
* @renderer cannot be already inserted to another gutter.
*
* Returns: %TRUE if operation succeeded. Otherwise %FALSE.
- *
- * Since: 3.0
- *
**/
gboolean
gtk_source_gutter_insert (GtkSourceGutter *gutter,
@@ -637,8 +632,6 @@ gtk_source_gutter_remove (GtkSourceGutter *gutter,
* @position: the new renderer position.
*
* Reorders @renderer in @gutter to new @position.
- *
- * Since: 2.8
*/
void
gtk_source_gutter_reorder (GtkSourceGutter *gutter,
diff --git a/gtksourceview/gtksourcegutterlines.c b/gtksourceview/gtksourcegutterlines.c
index 26a62a94..c43b0a42 100644
--- a/gtksourceview/gtksourcegutterlines.c
+++ b/gtksourceview/gtksourcegutterlines.c
@@ -36,8 +36,6 @@
* necessary information on visible lines. Doing so reduces the number of
* passes through the text btree allowing GtkSourceView to reach more
* frames-per-second while performing kinetic scrolling.
- *
- * Since: 5.0
*/
struct _GtkSourceGutterLines
@@ -279,8 +277,6 @@ _gtk_source_gutter_lines_new (GtkTextView *text_view,
*
* You can remove @qname by calling
* gtk_source_gutter_lines_remove_qclass().
- *
- * Since: 5.0
*/
void
gtk_source_gutter_lines_add_qclass (GtkSourceGutterLines *lines,
@@ -311,8 +307,6 @@ gtk_source_gutter_lines_add_qclass (GtkSourceGutterLines *lines,
* faster version of this function is available via
* gtk_source_gutter_lines_add_qclass() for situations where the #GQuark is
* known ahead of time.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_lines_add_class (GtkSourceGutterLines *lines,
@@ -337,8 +331,6 @@ gtk_source_gutter_lines_add_class (GtkSourceGutterLines *lines,
* A faster version of this function is available via
* gtk_source_gutter_lines_remove_qclass() for situations where the
* #GQuark is known ahead of time.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_lines_remove_class (GtkSourceGutterLines *lines,
@@ -365,8 +357,6 @@ gtk_source_gutter_lines_remove_class (GtkSourceGutterLines *lines,
*
* Reverses a call to gtk_source_gutter_lines_add_qclass() by removing
* the #GQuark matching @qname.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_lines_remove_qclass (GtkSourceGutterLines *lines,
@@ -399,8 +389,6 @@ gtk_source_gutter_lines_remove_qclass (GtkSourceGutterLines *lines,
* is known ahead of time.
*
* Returns: %TRUE if @line contains @name
- *
- * Since: 5.0
*/
gboolean
gtk_source_gutter_lines_has_class (GtkSourceGutterLines *lines,
@@ -431,8 +419,6 @@ gtk_source_gutter_lines_has_class (GtkSourceGutterLines *lines,
* the quark denoted by @qname for @line.
*
* Returns: %TRUE if @line contains @qname
- *
- * Since: 5.0
*/
gboolean
gtk_source_gutter_lines_has_qclass (GtkSourceGutterLines *lines,
@@ -460,8 +446,6 @@ gtk_source_gutter_lines_has_qclass (GtkSourceGutterLines *lines,
* Checks to see if @line contains the insertion cursor.
*
* Returns: %TRUE if the insertion cursor is on @line
- *
- * Since: 5.0
*/
gboolean
gtk_source_gutter_lines_is_cursor (GtkSourceGutterLines *lines,
@@ -480,8 +464,6 @@ gtk_source_gutter_lines_is_cursor (GtkSourceGutterLines *lines,
* the mouse pointer is over the line within the gutter.
*
* Returns: %TRUE if the line is prelit
- *
- * Since: 5.0
*/
gboolean
gtk_source_gutter_lines_is_prelit (GtkSourceGutterLines *lines,
@@ -499,8 +481,6 @@ gtk_source_gutter_lines_is_prelit (GtkSourceGutterLines *lines,
* @line in some way.
*
* Returns: %TRUE if the line contains a selection
- *
- * Since: 5.0
*/
gboolean
gtk_source_gutter_lines_is_selected (GtkSourceGutterLines *lines,
@@ -517,8 +497,6 @@ gtk_source_gutter_lines_is_selected (GtkSourceGutterLines *lines,
* user visible.
*
* Returns: a line number starting from 0
- *
- * Since: 5.0
*/
guint
gtk_source_gutter_lines_get_first (GtkSourceGutterLines *lines)
@@ -536,8 +514,6 @@ gtk_source_gutter_lines_get_first (GtkSourceGutterLines *lines)
* user visible.
*
* Returns: a line number starting from 0
- *
- * Since: 5.0
*/
guint
gtk_source_gutter_lines_get_last (GtkSourceGutterLines *lines)
@@ -554,8 +530,6 @@ gtk_source_gutter_lines_get_last (GtkSourceGutterLines *lines)
* @line: the line number
*
* Gets a #GtkTextIter for the current buffer at @line
- *
- * Since: 5.0
*/
void
gtk_source_gutter_lines_get_iter_at_line (GtkSourceGutterLines *lines,
@@ -578,8 +552,6 @@ gtk_source_gutter_lines_get_iter_at_line (GtkSourceGutterLines *lines,
* Gets the #GtkTextView that the #GtkSourceGutterLines represents.
*
* Returns: (transfer none) (not nullable): a #GtkTextView
- *
- * Since: 5.0
*/
GtkTextView *
gtk_source_gutter_lines_get_view (GtkSourceGutterLines *lines)
@@ -596,8 +568,6 @@ gtk_source_gutter_lines_get_view (GtkSourceGutterLines *lines)
* Gets the #GtkTextBuffer that the #GtkSourceGutterLines represents.
*
* Returns: (transfer none) (not nullable): a #GtkTextBuffer
- *
- * Since: 5.0
*/
GtkTextBuffer *
gtk_source_gutter_lines_get_buffer (GtkSourceGutterLines *lines)
@@ -618,8 +588,6 @@ gtk_source_gutter_lines_get_buffer (GtkSourceGutterLines *lines)
* Gets the Y range for a line based on @mode.
*
* The value for @y is relative to the renderers widget coordinates.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_lines_get_line_yrange (GtkSourceGutterLines *lines,
diff --git a/gtksourceview/gtksourcegutterrenderer.c b/gtksourceview/gtksourcegutterrenderer.c
index df0881d8..ec7e66f2 100644
--- a/gtksourceview/gtksourcegutterrenderer.c
+++ b/gtksourceview/gtksourcegutterrenderer.c
@@ -762,8 +762,6 @@ get_line_rect (GtkSourceGutterRenderer *renderer,
*
* It is encouraged that renderers use this function when snappshotting
* to ensure consistent placement of their contents.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_renderer_align_cell (GtkSourceGutterRenderer *renderer,
@@ -790,8 +788,6 @@ gtk_source_gutter_renderer_align_cell (GtkSourceGutterRenderer *renderer,
*
* Gets the "xpad" property of the #GtkSourceGutterRenderer. This may be used
* to adjust the cell rectangle that the renderer will use to draw.
- *
- * Since: 5.0
*/
gint
gtk_source_gutter_renderer_get_xpad (GtkSourceGutterRenderer *renderer)
@@ -810,8 +806,6 @@ gtk_source_gutter_renderer_get_xpad (GtkSourceGutterRenderer *renderer)
*
* Adjusts the "xpad" property of the #GtkSourceGutterRenderer. This may be
* used to adjust the cell rectangle that the renderer will use to draw.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_renderer_set_xpad (GtkSourceGutterRenderer *renderer,
@@ -837,8 +831,6 @@ gtk_source_gutter_renderer_set_xpad (GtkSourceGutterRenderer *renderer,
*
* Gets the "ypad" property of the #GtkSourceGutterRenderer. This may be used
* to adjust the cell rectangle that the renderer will use to draw.
- *
- * Since: 5.0
*/
gint
gtk_source_gutter_renderer_get_ypad (GtkSourceGutterRenderer *renderer)
@@ -857,8 +849,6 @@ gtk_source_gutter_renderer_get_ypad (GtkSourceGutterRenderer *renderer)
*
* Adjusts the "ypad" property of the #GtkSourceGutterRenderer. This may be
* used to adjust the cell rectangle that the renderer will use to draw.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_renderer_set_ypad (GtkSourceGutterRenderer *renderer,
@@ -884,8 +874,6 @@ gtk_source_gutter_renderer_set_ypad (GtkSourceGutterRenderer *renderer,
*
* Gets the "xalign" property of the #GtkSourceGutterRenderer. This may be used
* to adjust where within the cell rectangle the renderer will draw.
- *
- * Since: 5.0
*/
gfloat
gtk_source_gutter_renderer_get_xalign (GtkSourceGutterRenderer *renderer)
@@ -904,8 +892,6 @@ gtk_source_gutter_renderer_get_xalign (GtkSourceGutterRenderer *renderer)
*
* Adjusts the "xalign" property of the #GtkSourceGutterRenderer. This may be
* used to adjust where within the cell rectangle the renderer will draw.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_renderer_set_xalign (GtkSourceGutterRenderer *renderer,
@@ -931,8 +917,6 @@ gtk_source_gutter_renderer_set_xalign (GtkSourceGutterRenderer *renderer,
*
* Gets the "yalign" property of the #GtkSourceGutterRenderer. This may be used
* to adjust where within the cell rectangle the renderer will draw.
- *
- * Since: 5.0
*/
gfloat
gtk_source_gutter_renderer_get_yalign (GtkSourceGutterRenderer *renderer)
@@ -951,8 +935,6 @@ gtk_source_gutter_renderer_get_yalign (GtkSourceGutterRenderer *renderer)
*
* Adjusts the "yalign" property of the #GtkSourceGutterRenderer. This may be
* used to adjust where within the cell rectangle the renderer will draw.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_renderer_set_yalign (GtkSourceGutterRenderer *renderer,
@@ -979,8 +961,6 @@ gtk_source_gutter_renderer_set_yalign (GtkSourceGutterRenderer *renderer,
* Gets the #GtkSourceBuffer for which the gutter renderer is drawing.
*
* Returns: (transfer none) (nullable): a #GtkTextBuffer or %NULL
- *
- * Since: 5.0
*/
GtkSourceBuffer *
gtk_source_gutter_renderer_get_buffer (GtkSourceGutterRenderer *renderer)
diff --git a/gtksourceview/gtksourcegutterrendererpixbuf.c b/gtksourceview/gtksourcegutterrendererpixbuf.c
index f7e2d101..a0562d94 100644
--- a/gtksourceview/gtksourcegutterrendererpixbuf.c
+++ b/gtksourceview/gtksourcegutterrendererpixbuf.c
@@ -417,8 +417,6 @@ gtk_source_gutter_renderer_pixbuf_set_paintable (GtkSourceGutterRendererPixbuf *
* gtk_source_gutter_renderer_pixbuf_set_paintable()
*
* Returns: (transfer none) (nullable): a #GdkPaintable or %NULL
- *
- * Since: 5.0
*/
GdkPaintable *
gtk_source_gutter_renderer_pixbuf_get_paintable (GtkSourceGutterRendererPixbuf *renderer)
@@ -438,8 +436,6 @@ gtk_source_gutter_renderer_pixbuf_get_paintable (GtkSourceGutterRendererPixbuf *
* Allows overlaying a paintable on top of any other image that
* has been set for the pixbuf. This will be applied when the
* widget is next snapshot.
- *
- * Since: 5.0
*/
void
gtk_source_gutter_renderer_pixbuf_overlay_paintable (GtkSourceGutterRendererPixbuf *renderer,
diff --git a/gtksourceview/gtksourcehover.c b/gtksourceview/gtksourcehover.c
index 7cebc680..36e26826 100644
--- a/gtksourceview/gtksourcehover.c
+++ b/gtksourceview/gtksourcehover.c
@@ -50,8 +50,6 @@
*
* You can change how long to wait to display the interactive tooltip by
* setting the #GtkSourceHover:hover-delay property in milliseconds.
- *
- * Since: 5.0
*/
struct _GtkSourceHover
diff --git a/gtksourceview/gtksourcehovercontext.c b/gtksourceview/gtksourcehovercontext.c
index 6e166738..a7eb79f4 100644
--- a/gtksourceview/gtksourcehovercontext.c
+++ b/gtksourceview/gtksourcehovercontext.c
@@ -42,8 +42,6 @@
* Use gtk_source_hover_context_get_bounds() to get the word that was
* requested. gtk_source_hover_contents_get_iter() will get you the location
* of the pointer when the request was made.
- *
- * Since: 5.0
*/
struct _GtkSourceHoverContext
diff --git a/gtksourceview/gtksourcehoverdisplay.c b/gtksourceview/gtksourcehoverdisplay.c
index a68f40b5..1938acfd 100644
--- a/gtksourceview/gtksourcehoverdisplay.c
+++ b/gtksourceview/gtksourcehoverdisplay.c
@@ -35,8 +35,6 @@
*
* Implement the #GtkSourceHoverProvider interface to be notified of when
* to populate a #GtkSourceHoverDisplay on behalf of the user.
- *
- * Since: 5.0
*/
struct _GtkSourceHoverDisplay
diff --git a/gtksourceview/gtksourcehoverprovider.c b/gtksourceview/gtksourcehoverprovider.c
index a368d924..9ff3a80a 100644
--- a/gtksourceview/gtksourcehoverprovider.c
+++ b/gtksourceview/gtksourcehoverprovider.c
@@ -39,8 +39,6 @@
* #GtkSourceHoverProvider.populate. Otherwise, interface implementations that
* may take additional time should use #GtkSourceHoverProvider.populate_async
* to avoid blocking the main loop.
- *
- * Since: 5.0
*/
G_DEFINE_INTERFACE (GtkSourceHoverProvider, gtk_source_hover_provider, G_TYPE_OBJECT)
diff --git a/gtksourceview/gtksourceindenter.c b/gtksourceview/gtksourceindenter.c
index aac1cf7d..ae8ae156 100644
--- a/gtksourceview/gtksourceindenter.c
+++ b/gtksourceview/gtksourceindenter.c
@@ -57,8 +57,6 @@
*
* All changes are encapsulated within a single user action so that the
* user may undo them using standard undo/redo accelerators.
- *
- * Since: 5.0
*/
/**
@@ -67,8 +65,6 @@
* @indent: the virtual function pointer for gtk_source_indenter_indent()
*
* The virtual function table for #GtkSourceIndenter.
- *
- * Since: 5.0
*/
static inline gboolean
@@ -186,8 +182,6 @@ gtk_source_indenter_default_init (GtkSourceIndenterInterface *iface)
*
* Returns: %TRUE if indentation should be automatically triggered;
* otherwise %FALSE and no indentation will be performed.
- *
- * Since: 5.0
*/
gboolean
gtk_source_indenter_is_trigger (GtkSourceIndenter *self,
@@ -226,8 +220,6 @@ gtk_source_indenter_is_trigger (GtkSourceIndenter *self,
*
* The default implementation for this virtual function will copy the
* indentation of the previous line.
- *
- * Since: 5.0
*/
void
gtk_source_indenter_indent (GtkSourceIndenter *self,
diff --git a/gtksourceview/gtksourceinit.c b/gtksourceview/gtksourceinit.c
index 28c305c8..028d60e9 100644
--- a/gtksourceview/gtksourceinit.c
+++ b/gtksourceview/gtksourceinit.c
@@ -160,8 +160,6 @@ get_locale_dir (void)
*
* This function can be called several times, but is meant to be called at the
* beginning of main(), before any other GtkSourceView function call.
- *
- * Since: 4.0
*/
void
gtk_source_init (void)
@@ -240,8 +238,6 @@ gtk_source_init (void)
* It is not mandatory to call this function, it's just to be friendlier to
* memory debugging tools. This function is meant to be called at the end of
* main(). It can be called several times.
- *
- * Since: 4.0
*/
/* Another way is to use a DSO destructor, see gconstructor.h in GLib.
diff --git a/gtksourceview/gtksourcelanguage.c b/gtksourceview/gtksourcelanguage.c
index 590e68fe..93706286 100644
--- a/gtksourceview/gtksourcelanguage.c
+++ b/gtksourceview/gtksourcelanguage.c
@@ -944,8 +944,6 @@ gtk_source_language_get_style_name (GtkSourceLanguage *language,
* specified @style_id is not present in the current style scheme or %NULL
* if the style has no fallback defined.
* The returned string is owned by the @language and must not be modified.
- *
- * Since: 3.4
*/
const gchar *
gtk_source_language_get_style_fallback (GtkSourceLanguage *language,
diff --git a/gtksourceview/gtksourcelanguagemanager.c b/gtksourceview/gtksourcelanguagemanager.c
index 90d58484..e6ea9b18 100644
--- a/gtksourceview/gtksourcelanguagemanager.c
+++ b/gtksourceview/gtksourcelanguagemanager.c
@@ -645,8 +645,6 @@ pick_lang_for_mime_type (GtkSourceLanguageManager *lm,
* Returns: (nullable) (transfer none): a #GtkSourceLanguage, or %NULL if there
* is no suitable language for given @filename and/or @content_type. Return
* value is owned by @lm and should not be freed.
- *
- * Since: 2.4
*/
GtkSourceLanguage *
gtk_source_language_manager_guess_language (GtkSourceLanguageManager *lm,
diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c
index 968f2c0f..ccc7d5d5 100644
--- a/gtksourceview/gtksourcemap.c
+++ b/gtksourceview/gtksourcemap.c
@@ -1320,8 +1320,6 @@ gtk_source_map_init (GtkSourceMap *map)
* Creates a new #GtkSourceMap.
*
* Returns: a new #GtkSourceMap.
- *
- * Since: 3.18
*/
GtkWidget *
gtk_source_map_new (void)
@@ -1335,8 +1333,6 @@ gtk_source_map_new (void)
* @view: a #GtkSourceView
*
* Sets the view that @map will be doing the mapping to.
- *
- * Since: 3.18
*/
void
gtk_source_map_set_view (GtkSourceMap *map,
@@ -1374,8 +1370,6 @@ gtk_source_map_set_view (GtkSourceMap *map,
* Gets the #GtkSourceMap:view property, which is the view this widget is mapping.
*
* Returns: (transfer none) (nullable): a #GtkSourceView or %NULL.
- *
- * Since: 3.18
*/
GtkSourceView *
gtk_source_map_get_view (GtkSourceMap *map)
diff --git a/gtksourceview/gtksourcemark.c b/gtksourceview/gtksourcemark.c
index 0ed9dfd7..5a5970e0 100644
--- a/gtksourceview/gtksourcemark.c
+++ b/gtksourceview/gtksourcemark.c
@@ -158,8 +158,6 @@ gtk_source_mark_init (GtkSourceMark *mark)
* gtk_source_buffer_create_source_mark().
*
* Returns: a new #GtkSourceMark that can be added using gtk_text_buffer_add_mark().
- *
- * Since: 2.2
*/
GtkSourceMark *
gtk_source_mark_new (const gchar *name,
@@ -181,8 +179,6 @@ gtk_source_mark_new (const gchar *name,
* Returns the mark category.
*
* Returns: the category of the #GtkSourceMark.
- *
- * Since: 2.2
*/
const gchar *
gtk_source_mark_get_category (GtkSourceMark *mark)
@@ -205,8 +201,6 @@ gtk_source_mark_get_category (GtkSourceMark *mark)
* If @category is %NULL, looks for marks of any category.
*
* Returns: (nullable) (transfer none): the next #GtkSourceMark, or %NULL.
- *
- * Since: 2.2
*/
GtkSourceMark *
gtk_source_mark_next (GtkSourceMark *mark,
@@ -239,8 +233,6 @@ gtk_source_mark_next (GtkSourceMark *mark,
* If @category is %NULL, looks for marks of any category
*
* Returns: (nullable) (transfer none): the previous #GtkSourceMark, or %NULL.
- *
- * Since: 2.2
*/
GtkSourceMark *
gtk_source_mark_prev (GtkSourceMark *mark,
diff --git a/gtksourceview/gtksourceprintcompositor.c b/gtksourceview/gtksourceprintcompositor.c
index 1c359320..9221e0a3 100644
--- a/gtksourceview/gtksourceprintcompositor.c
+++ b/gtksourceview/gtksourceprintcompositor.c
@@ -433,8 +433,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
* GtkSourcePrintCompositor:buffer:
*
* The GtkSourceBuffer object to print.
- *
- * Since: 2.2
*/
properties[PROP_BUFFER] =
g_param_spec_object ("buffer",
@@ -452,8 +450,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_TAB_WIDTH] =
g_param_spec_uint ("tab-width",
@@ -474,8 +470,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_WRAP_MODE] =
g_param_spec_enum ("wrap-mode",
@@ -494,8 +488,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_HIGHLIGHT_SYNTAX] =
g_param_spec_boolean ("highlight-syntax",
@@ -515,8 +507,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_PRINT_LINE_NUMBERS] =
g_param_spec_uint ("print-line-numbers",
@@ -538,8 +528,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_PRINT_HEADER] =
g_param_spec_boolean ("print-header",
@@ -561,8 +549,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_PRINT_FOOTER] =
g_param_spec_boolean ("print-footer",
@@ -584,8 +570,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_BODY_FONT_NAME] =
g_param_spec_string ("body-font-name",
@@ -608,8 +592,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_LINE_NUMBERS_FONT_NAME] =
g_param_spec_string ("line-numbers-font-name",
@@ -632,8 +614,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_HEADER_FONT_NAME] =
g_param_spec_string ("header-font-name",
@@ -656,8 +636,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The value of this property cannot be changed anymore after the first
* call to the gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
properties [PROP_FOOTER_FONT_NAME] =
g_param_spec_string ("footer-font-name",
@@ -673,8 +651,6 @@ gtk_source_print_compositor_class_init (GtkSourcePrintCompositorClass *klass)
*
* The number of pages in the document or <code>-1</code> if the
* document has not been completely paginated.
- *
- * Since: 2.2
*/
properties [PROP_N_PAGES] =
g_param_spec_int ("n-pages",
@@ -753,8 +729,6 @@ gtk_source_print_compositor_init (GtkSourcePrintCompositor *compositor)
* Creates a new print compositor that can be used to print @buffer.
*
* Return value: a new print compositor object.
- *
- * Since: 2.2
**/
GtkSourcePrintCompositor *
gtk_source_print_compositor_new (GtkSourceBuffer *buffer)
@@ -779,8 +753,6 @@ gtk_source_print_compositor_new (GtkSourceBuffer *buffer)
* #GtkSourcePrintCompositor:print-line-numbers.
*
* Return value: a new print compositor object.
- *
- * Since: 2.2
**/
GtkSourcePrintCompositor *
gtk_source_print_compositor_new_from_view (GtkSourceView *view)
@@ -825,8 +797,6 @@ gtk_source_print_compositor_new_from_view (GtkSourceView *view)
* should not be unreferenced.
*
* Return value: (transfer none): the #GtkSourceBuffer associated with the compositor.
- *
- * Since: 2.2
**/
GtkSourceBuffer *
gtk_source_print_compositor_get_buffer (GtkSourcePrintCompositor *compositor)
@@ -847,8 +817,6 @@ gtk_source_print_compositor_get_buffer (GtkSourcePrintCompositor *compositor)
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_tab_width (GtkSourcePrintCompositor *compositor,
@@ -876,8 +844,6 @@ gtk_source_print_compositor_set_tab_width (GtkSourcePrintCompositor *compositor,
* Returns the width of tabulation in characters for printed text.
*
* Return value: width of tab.
- *
- * Since: 2.2
*/
guint
gtk_source_print_compositor_get_tab_width (GtkSourcePrintCompositor *compositor)
@@ -898,8 +864,6 @@ gtk_source_print_compositor_get_tab_width (GtkSourcePrintCompositor *compositor)
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_wrap_mode (GtkSourcePrintCompositor *compositor,
@@ -926,8 +890,6 @@ gtk_source_print_compositor_set_wrap_mode (GtkSourcePrintCompositor *compositor,
* Gets the line wrapping mode for the printed text.
*
* Return value: the line wrap mode.
- *
- * Since: 2.2
*/
GtkWrapMode
gtk_source_print_compositor_get_wrap_mode (GtkSourcePrintCompositor *compositor)
@@ -949,8 +911,6 @@ gtk_source_print_compositor_get_wrap_mode (GtkSourcePrintCompositor *compositor)
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
**/
void
gtk_source_print_compositor_set_highlight_syntax (GtkSourcePrintCompositor *compositor,
@@ -981,8 +941,6 @@ gtk_source_print_compositor_set_highlight_syntax (GtkSourcePrintCompositor *comp
* only if the buffer to print has highlighting activated.
*
* Return value: %TRUE if the printed output will be highlighted.
- *
- * Since: 2.2
**/
gboolean
gtk_source_print_compositor_get_highlight_syntax (GtkSourcePrintCompositor *compositor)
@@ -1007,8 +965,6 @@ gtk_source_print_compositor_get_highlight_syntax (GtkSourcePrintCompositor *comp
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
**/
void
gtk_source_print_compositor_set_print_line_numbers (GtkSourcePrintCompositor *compositor,
@@ -1044,8 +1000,6 @@ gtk_source_print_compositor_set_print_line_numbers (GtkSourcePrintCompositor *co
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
**/
void
gtk_source_print_compositor_set_print_header (GtkSourcePrintCompositor *compositor,
@@ -1077,8 +1031,6 @@ gtk_source_print_compositor_set_print_header (GtkSourcePrintCompositor *composit
* with gtk_source_print_compositor_set_header_format().
*
* Return value: %TRUE if the header is set to be printed.
- *
- * Since: 2.2
**/
gboolean
gtk_source_print_compositor_get_print_header (GtkSourcePrintCompositor *compositor)
@@ -1105,8 +1057,6 @@ gtk_source_print_compositor_get_print_header (GtkSourcePrintCompositor *composit
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
**/
void
gtk_source_print_compositor_set_print_footer (GtkSourcePrintCompositor *compositor,
@@ -1138,8 +1088,6 @@ gtk_source_print_compositor_set_print_footer (GtkSourcePrintCompositor *composit
* with gtk_source_print_compositor_set_footer_format().
*
* Return value: %TRUE if the footer is set to be printed.
- *
- * Since: 2.2
**/
gboolean
gtk_source_print_compositor_get_print_footer (GtkSourcePrintCompositor *compositor)
@@ -1180,8 +1128,6 @@ gtk_source_print_compositor_get_print_footer (GtkSourcePrintCompositor *composit
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
**/
void
gtk_source_print_compositor_set_header_format (GtkSourcePrintCompositor *compositor,
@@ -1217,8 +1163,6 @@ gtk_source_print_compositor_set_header_format (GtkSourcePrintCompositor *composi
*
* See gtk_source_print_compositor_set_header_format() for more information
* about the parameters.
- *
- * Since: 2.2
**/
void
gtk_source_print_compositor_set_footer_format (GtkSourcePrintCompositor *compositor,
@@ -1253,8 +1197,6 @@ gtk_source_print_compositor_set_footer_format (GtkSourcePrintCompositor *composi
* 1 (i.e. numbers printed in all lines).
*
* Return value: the interval of printed line numbers.
- *
- * Since: 2.2
**/
guint
gtk_source_print_compositor_get_print_line_numbers (GtkSourcePrintCompositor *compositor)
@@ -1312,8 +1254,6 @@ set_font_description_from_name (GtkSourcePrintCompositor *compositor,
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_body_font_name (GtkSourcePrintCompositor *compositor,
@@ -1343,8 +1283,6 @@ gtk_source_print_compositor_set_body_font_name (GtkSourcePrintCompositor *compos
*
* Return value: a new string containing the name of the font used to print the
* text body.
- *
- * Since: 2.2
*/
gchar *
gtk_source_print_compositor_get_body_font_name (GtkSourcePrintCompositor *compositor)
@@ -1372,8 +1310,6 @@ gtk_source_print_compositor_get_body_font_name (GtkSourcePrintCompositor *compos
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_line_numbers_font_name (GtkSourcePrintCompositor *compositor,
@@ -1403,8 +1339,6 @@ gtk_source_print_compositor_set_line_numbers_font_name (GtkSourcePrintCompositor
*
* Return value: a new string containing the name of the font used to print
* line numbers on the left margin.
- *
- * Since: 2.2
*/
gchar *
gtk_source_print_compositor_get_line_numbers_font_name (GtkSourcePrintCompositor *compositor)
@@ -1438,8 +1372,6 @@ gtk_source_print_compositor_get_line_numbers_font_name (GtkSourcePrintCompositor
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_header_font_name (GtkSourcePrintCompositor *compositor,
@@ -1470,8 +1402,6 @@ gtk_source_print_compositor_set_header_font_name (GtkSourcePrintCompositor *comp
*
* Return value: a new string containing the name of the font used to print
* the page header.
- *
- * Since: 2.2
*/
gchar *
gtk_source_print_compositor_get_header_font_name (GtkSourcePrintCompositor *compositor)
@@ -1505,8 +1435,6 @@ gtk_source_print_compositor_get_header_font_name (GtkSourcePrintCompositor *comp
*
* This function cannot be called anymore after the first call to the
* gtk_source_print_compositor_paginate() function.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_footer_font_name (GtkSourcePrintCompositor *compositor,
@@ -1537,8 +1465,6 @@ gtk_source_print_compositor_set_footer_font_name (GtkSourcePrintCompositor *comp
*
* Return value: a new string containing the name of the font used to print
* the page footer.
- *
- * Since: 2.2
*/
gchar *
gtk_source_print_compositor_get_footer_font_name (GtkSourcePrintCompositor *compositor)
@@ -1563,8 +1489,6 @@ gtk_source_print_compositor_get_footer_font_name (GtkSourcePrintCompositor *comp
* @unit: the units for @margin
*
* Sets the top margin used by @compositor.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_top_margin (GtkSourcePrintCompositor *compositor,
@@ -1586,8 +1510,6 @@ gtk_source_print_compositor_set_top_margin (GtkSourcePrintCompositor *compositor
* Gets the top margin in units of @unit.
*
* Return value: the top margin.
- *
- * Since: 2.2
*/
gdouble
gtk_source_print_compositor_get_top_margin (GtkSourcePrintCompositor *compositor,
@@ -1607,8 +1529,6 @@ gtk_source_print_compositor_get_top_margin (GtkSourcePrintCompositor *compositor
* @unit: the units for @margin.
*
* Sets the bottom margin used by @compositor.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_bottom_margin (GtkSourcePrintCompositor *compositor,
@@ -1630,8 +1550,6 @@ gtk_source_print_compositor_set_bottom_margin (GtkSourcePrintCompositor *composi
* Gets the bottom margin in units of @unit.
*
* Return value: the bottom margin.
- *
- * Since: 2.2
*/
gdouble
gtk_source_print_compositor_get_bottom_margin (GtkSourcePrintCompositor *compositor,
@@ -1651,8 +1569,6 @@ gtk_source_print_compositor_get_bottom_margin (GtkSourcePrintCompositor *composi
* @unit: the units for @margin.
*
* Sets the left margin used by @compositor.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_left_margin (GtkSourcePrintCompositor *compositor,
@@ -1674,8 +1590,6 @@ gtk_source_print_compositor_set_left_margin (GtkSourcePrintCompositor *composito
* Gets the left margin in units of @unit.
*
* Return value: the left margin
- *
- * Since: 2.2
*/
gdouble
gtk_source_print_compositor_get_left_margin (GtkSourcePrintCompositor *compositor,
@@ -1695,8 +1609,6 @@ gtk_source_print_compositor_get_left_margin (GtkSourcePrintCompositor *composito
* @unit: the units for @margin.
*
* Sets the right margin used by @compositor.
- *
- * Since: 2.2
*/
void
gtk_source_print_compositor_set_right_margin (GtkSourcePrintCompositor *compositor,
@@ -1718,8 +1630,6 @@ gtk_source_print_compositor_set_right_margin (GtkSourcePrintCompositor *composit
* Gets the right margin in units of @unit.
*
* Return value: the right margin.
- *
- * Since: 2.2
*/
gdouble
gtk_source_print_compositor_get_right_margin (GtkSourcePrintCompositor *compositor,
@@ -1741,8 +1651,6 @@ gtk_source_print_compositor_get_right_margin (GtkSourcePrintCompositor *composit
*
* Return value: the number of pages in the document or <code>-1</code> if the
* document has not been completely paginated.
- *
- * Since: 2.2
*/
gint
gtk_source_print_compositor_get_n_pages (GtkSourcePrintCompositor *compositor)
@@ -2558,8 +2466,6 @@ set_pango_layouts_width (GtkSourcePrintCompositor *compositor)
* </programlisting></informalexample>
*
* Return value: %TRUE if the document has been completely paginated, %FALSE otherwise.
- *
- * Since: 2.2
*/
gboolean
gtk_source_print_compositor_paginate (GtkSourcePrintCompositor *compositor,
@@ -2809,8 +2715,6 @@ gtk_source_print_compositor_paginate (GtkSourcePrintCompositor *compositor,
* Returns the current fraction of the document pagination that has been completed.
*
* Return value: a fraction from 0.0 to 1.0 inclusive.
- *
- * Since: 2.2
*/
gdouble
gtk_source_print_compositor_get_pagination_progress (GtkSourcePrintCompositor *compositor)
diff --git a/gtksourceview/gtksourceregion.c b/gtksourceview/gtksourceregion.c
index bdb161ab..4d5413e1 100644
--- a/gtksourceview/gtksourceregion.c
+++ b/gtksourceview/gtksourceregion.c
@@ -300,9 +300,7 @@ gtk_source_region_class_init (GtkSourceRegionClass *klass)
* GtkSourceRegion:buffer:
*
* The #GtkTextBuffer. The #GtkSourceRegion has a weak reference to the
- * buffer.
- *
- * Since: 3.22
+ * buffer.2
*/
properties[PROP_BUFFER] =
g_param_spec_object ("buffer",
@@ -326,7 +324,6 @@ gtk_source_region_init (GtkSourceRegion *region)
* @buffer: a #GtkTextBuffer.
*
* Returns: a new #GtkSourceRegion object for @buffer.
- * Since: 3.22
*/
GtkSourceRegion *
gtk_source_region_new (GtkTextBuffer *buffer)
@@ -343,7 +340,6 @@ gtk_source_region_new (GtkTextBuffer *buffer)
* @region: a #GtkSourceRegion.
*
* Returns: (transfer none) (nullable): the #GtkTextBuffer.
- * Since: 3.22
*/
GtkTextBuffer *
gtk_source_region_get_buffer (GtkSourceRegion *region)
@@ -403,8 +399,6 @@ gtk_source_region_clear_zero_length_subregions (GtkSourceRegion *region)
* @_end: the end of the subregion.
*
* Adds the subregion delimited by @_start and @_end to @region.
- *
- * Since: 3.22
*/
void
gtk_source_region_add_subregion (GtkSourceRegion *region,
@@ -526,8 +520,6 @@ gtk_source_region_add_subregion (GtkSourceRegion *region,
* @region_to_add: (nullable): the #GtkSourceRegion to add to @region, or %NULL.
*
* Adds @region_to_add to @region. @region_to_add is not modified.
- *
- * Since: 3.22
*/
void
gtk_source_region_add_region (GtkSourceRegion *region,
@@ -583,8 +575,6 @@ gtk_source_region_add_region (GtkSourceRegion *region,
* @_end: the end of the subregion.
*
* Subtracts the subregion delimited by @_start and @_end from @region.
- *
- * Since: 3.22
*/
void
gtk_source_region_subtract_subregion (GtkSourceRegion *region,
@@ -758,8 +748,6 @@ gtk_source_region_subtract_subregion (GtkSourceRegion *region,
*
* Subtracts @region_to_subtract from @region. @region_to_subtract is not
* modified.
- *
- * Since: 3.22
*/
void
gtk_source_region_subtract_region (GtkSourceRegion *region,
@@ -810,7 +798,6 @@ gtk_source_region_subtract_region (GtkSourceRegion *region,
* Returns whether the @region is empty. A %NULL @region is considered empty.
*
* Returns: whether the @region is empty.
- * Since: 3.22
*/
gboolean
gtk_source_region_is_empty (GtkSourceRegion *region)
@@ -867,7 +854,6 @@ gtk_source_region_is_empty (GtkSourceRegion *region)
*
* Returns: %TRUE if @start and @end have been set successfully (if non-%NULL),
* or %FALSE if the @region is empty.
- * Since: 3.22
*/
gboolean
gtk_source_region_get_bounds (GtkSourceRegion *region,
@@ -914,7 +900,6 @@ gtk_source_region_get_bounds (GtkSourceRegion *region,
*
* Returns: (transfer full) (nullable): the intersection as a new
* #GtkSourceRegion.
- * Since: 3.22
*/
GtkSourceRegion *
gtk_source_region_intersect_subregion (GtkSourceRegion *region,
@@ -1086,7 +1071,6 @@ gtk_source_region_intersect_subregion (GtkSourceRegion *region,
*
* Returns: (transfer full) (nullable): the intersection as a #GtkSourceRegion
* object.
- * Since: 3.22
*/
GtkSourceRegion *
gtk_source_region_intersect_region (GtkSourceRegion *region1,
@@ -1189,8 +1173,6 @@ invalid:
*
* Initializes a #GtkSourceRegionIter to the first subregion of @region. If
* @region is empty, @iter will be initialized to the end iterator.
- *
- * Since: 3.22
*/
void
gtk_source_region_get_start_region_iter (GtkSourceRegion *region,
@@ -1217,7 +1199,6 @@ gtk_source_region_get_start_region_iter (GtkSourceRegion *region,
* @iter: a #GtkSourceRegionIter.
*
* Returns: whether @iter is the end iterator.
- * Since: 3.22
*/
gboolean
gtk_source_region_iter_is_end (GtkSourceRegionIter *iter)
@@ -1240,7 +1221,6 @@ gtk_source_region_iter_is_end (GtkSourceRegionIter *iter)
*
* Returns: %TRUE if @iter moved and is dereferenceable, or %FALSE if @iter has
* been set to the end iterator.
- * Since: 3.22
*/
gboolean
gtk_source_region_iter_next (GtkSourceRegionIter *iter)
@@ -1271,7 +1251,6 @@ gtk_source_region_iter_next (GtkSourceRegionIter *iter)
*
* Returns: %TRUE if @start and @end have been set successfully (if non-%NULL),
* or %FALSE if @iter is the end iterator or if the region is empty.
- * Since: 3.22
*/
gboolean
gtk_source_region_iter_get_subregion (GtkSourceRegionIter *iter,
@@ -1326,7 +1305,6 @@ gtk_source_region_iter_get_subregion (GtkSourceRegionIter *iter,
*
* Returns: (transfer full) (nullable): a string represention of @region. Free
* with g_free() when no longer needed.
- * Since: 3.22
*/
gchar *
gtk_source_region_to_string (GtkSourceRegion *region)
diff --git a/gtksourceview/gtksourceregion.h b/gtksourceview/gtksourceregion.h
index b83ec4a8..d28e24f7 100644
--- a/gtksourceview/gtksourceregion.h
+++ b/gtksourceview/gtksourceregion.h
@@ -48,8 +48,6 @@ struct _GtkSourceRegionClass
*
* #GtkSourceRegionIter is an opaque datatype; ignore all its fields.
* Initialize the iter with gtk_source_region_get_start_region_iter().
- *
- * Since: 3.22
*/
typedef struct _GtkSourceRegionIter GtkSourceRegionIter;
struct _GtkSourceRegionIter
diff --git a/gtksourceview/gtksourcesearchcontext.c b/gtksourceview/gtksourcesearchcontext.c
index 5c67cfef..0847cbb8 100644
--- a/gtksourceview/gtksourcesearchcontext.c
+++ b/gtksourceview/gtksourcesearchcontext.c
@@ -2783,8 +2783,6 @@ gtk_source_search_context_class_init (GtkSourceSearchContextClass *klass)
* GtkSourceSearchContext:buffer:
*
* The #GtkSourceBuffer associated to the search context.
- *
- * Since: 3.10
*/
properties [PROP_BUFFER] =
g_param_spec_object ("buffer",
@@ -2801,8 +2799,6 @@ gtk_source_search_context_class_init (GtkSourceSearchContextClass *klass)
* The #GtkSourceSearchSettings associated to the search context.
*
* This property is construct-only since version 4.0.
- *
- * Since: 3.10
*/
properties [PROP_SETTINGS] =
g_param_spec_object ("settings",
@@ -2817,8 +2813,6 @@ gtk_source_search_context_class_init (GtkSourceSearchContextClass *klass)
* GtkSourceSearchContext:highlight:
*
* Highlight the search occurrences.
- *
- * Since: 3.10
*/
properties [PROP_HIGHLIGHT] =
g_param_spec_boolean ("highlight",
@@ -2833,8 +2827,6 @@ gtk_source_search_context_class_init (GtkSourceSearchContextClass *klass)
* GtkSourceSearchContext:match-style:
*
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
- *
- * Since: 3.16
*/
properties [PROP_MATCH_STYLE] =
g_param_spec_object ("match-style",
@@ -2851,8 +2843,6 @@ gtk_source_search_context_class_init (GtkSourceSearchContextClass *klass)
* The total number of search occurrences. If the search is disabled,
* the value is 0. If the buffer is not already fully scanned, the value
* is -1.
- *
- * Since: 3.10
*/
properties [PROP_OCCURRENCES_COUNT] =
g_param_spec_int ("occurrences-count",
@@ -2872,8 +2862,6 @@ gtk_source_search_context_class_init (GtkSourceSearchContextClass *klass)
* %NULL.
*
* Free with g_error_free().
- *
- * Since: 3.10
*/
properties [PROP_REGEX_ERROR] =
g_param_spec_boxed ("regex-error",
@@ -2903,7 +2891,6 @@ gtk_source_search_context_init (GtkSourceSearchContext *search)
* gtk_source_search_context_get_settings().
*
* Returns: a new search context.
- * Since: 3.10
*/
GtkSourceSearchContext *
gtk_source_search_context_new (GtkSourceBuffer *buffer,
@@ -2923,7 +2910,6 @@ gtk_source_search_context_new (GtkSourceBuffer *buffer,
* @search: a #GtkSourceSearchContext.
*
* Returns: (transfer none): the associated buffer.
- * Since: 3.10
*/
GtkSourceBuffer *
gtk_source_search_context_get_buffer (GtkSourceSearchContext *search)
@@ -2938,7 +2924,6 @@ gtk_source_search_context_get_buffer (GtkSourceSearchContext *search)
* @search: a #GtkSourceSearchContext.
*
* Returns: (transfer none): the search settings.
- * Since: 3.10
*/
GtkSourceSearchSettings *
gtk_source_search_context_get_settings (GtkSourceSearchContext *search)
@@ -2953,7 +2938,6 @@ gtk_source_search_context_get_settings (GtkSourceSearchContext *search)
* @search: a #GtkSourceSearchContext.
*
* Returns: whether to highlight the search occurrences.
- * Since: 3.10
*/
gboolean
gtk_source_search_context_get_highlight (GtkSourceSearchContext *search)
@@ -2969,8 +2953,6 @@ gtk_source_search_context_get_highlight (GtkSourceSearchContext *search)
* @highlight: the setting.
*
* Enables or disables the search occurrences highlighting.
- *
- * Since: 3.10
*/
void
gtk_source_search_context_set_highlight (GtkSourceSearchContext *search,
@@ -2994,8 +2976,6 @@ gtk_source_search_context_set_highlight (GtkSourceSearchContext *search,
* @search: a #GtkSourceSearchContext.
*
* Returns: (transfer none): the #GtkSourceStyle to apply on search matches.
- *
- * Since: 3.16
*/
GtkSourceStyle *
gtk_source_search_context_get_match_style (GtkSourceSearchContext *search)
@@ -3014,8 +2994,6 @@ gtk_source_search_context_get_match_style (GtkSourceSearchContext *search)
* theme's scheme 'match-style' will be used.
* To enable or disable the search highlighting, use
* gtk_source_search_context_set_highlight().
- *
- * Since: 3.16
*/
void
gtk_source_search_context_set_match_style (GtkSourceSearchContext *search,
@@ -3056,8 +3034,6 @@ gtk_source_search_context_set_match_style (GtkSourceSearchContext *search,
*
* Returns: (transfer full) (nullable): the #GError, or %NULL if the
* pattern is valid.
- *
- * Since: 3.10
*/
GError *
gtk_source_search_context_get_regex_error (GtkSourceSearchContext *search)
@@ -3081,7 +3057,6 @@ gtk_source_search_context_get_regex_error (GtkSourceSearchContext *search)
* returned.
*
* Returns: the total number of search occurrences, or -1 if unknown.
- * Since: 3.10
*/
gint
gtk_source_search_context_get_occurrences_count (GtkSourceSearchContext *search)
@@ -3110,8 +3085,6 @@ gtk_source_search_context_get_occurrences_count (GtkSourceSearchContext *search)
* Returns: the position of the search occurrence. The first occurrence has the
* position 1 (not 0). Returns 0 if @match_start and @match_end don't delimit
* an occurrence. Returns -1 if the position is not yet known.
- *
- * Since: 3.10
*/
gint
gtk_source_search_context_get_occurrence_position (GtkSourceSearchContext *search,
@@ -3222,7 +3195,6 @@ gtk_source_search_context_get_occurrence_position (GtkSourceSearchContext *searc
* the same value as the #GtkSourceSearchSettings:wrap-around property.
*
* Returns: whether a match was found.
- * Since: 4.0
*/
gboolean
gtk_source_search_context_forward (GtkSourceSearchContext *search,
@@ -3294,8 +3266,6 @@ gtk_source_search_context_forward (GtkSourceSearchContext *search,
* If the operation is cancelled, the @callback will only be called if
* @cancellable was not %NULL. gtk_source_search_context_forward_async() takes
* ownership of @cancellable, so you can unref it after calling this function.
- *
- * Since: 3.10
*/
void
gtk_source_search_context_forward_async (GtkSourceSearchContext *search,
@@ -3335,7 +3305,6 @@ gtk_source_search_context_forward_async (GtkSourceSearchContext *search,
* details.
*
* Returns: whether a match was found.
- * Since: 4.0
*/
gboolean
gtk_source_search_context_forward_finish (GtkSourceSearchContext *search,
@@ -3418,7 +3387,6 @@ gtk_source_search_context_forward_finish (GtkSourceSearchContext *search,
* the same value as the #GtkSourceSearchSettings:wrap-around property.
*
* Returns: whether a match was found.
- * Since: 4.0
*/
gboolean
gtk_source_search_context_backward (GtkSourceSearchContext *search,
@@ -3491,8 +3459,6 @@ gtk_source_search_context_backward (GtkSourceSearchContext *search,
* If the operation is cancelled, the @callback will only be called if
* @cancellable was not %NULL. gtk_source_search_context_backward_async() takes
* ownership of @cancellable, so you can unref it after calling this function.
- *
- * Since: 3.10
*/
void
gtk_source_search_context_backward_async (GtkSourceSearchContext *search,
@@ -3532,7 +3498,6 @@ gtk_source_search_context_backward_async (GtkSourceSearchContext *search,
* details.
*
* Returns: whether a match was found.
- * Since: 4.0
*/
gboolean
gtk_source_search_context_backward_finish (GtkSourceSearchContext *search,
@@ -3667,7 +3632,6 @@ end:
* backreferences.
*
* Returns: whether the match has been replaced.
- * Since: 4.0
*/
gboolean
gtk_source_search_context_replace (GtkSourceSearchContext *search,
@@ -3746,7 +3710,6 @@ gtk_source_search_context_replace (GtkSourceSearchContext *search,
* backreferences.
*
* Returns: the number of replaced matches.
- * Since: 3.10
*/
guint
gtk_source_search_context_replace_all (GtkSourceSearchContext *search,
diff --git a/gtksourceview/gtksourcesearchsettings.c b/gtksourceview/gtksourcesearchsettings.c
index d03a3b77..25504c33 100644
--- a/gtksourceview/gtksourcesearchsettings.c
+++ b/gtksourceview/gtksourcesearchsettings.c
@@ -156,8 +156,6 @@ gtk_source_search_settings_class_init (GtkSourceSearchSettingsClass *klass)
* A search string, or %NULL if the search is disabled. If the regular
* expression search is enabled, #GtkSourceSearchSettings:search-text is
* the pattern.
- *
- * Since: 3.10
*/
properties[PROP_SEARCH_TEXT] =
g_param_spec_string ("search-text",
@@ -170,8 +168,6 @@ gtk_source_search_settings_class_init (GtkSourceSearchSettingsClass *klass)
* GtkSourceSearchSettings:case-sensitive:
*
* Whether the search is case sensitive.
- *
- * Since: 3.10
*/
properties[PROP_CASE_SENSITIVE] =
g_param_spec_boolean ("case-sensitive",
@@ -185,8 +181,6 @@ gtk_source_search_settings_class_init (GtkSourceSearchSettingsClass *klass)
*
* If %TRUE, a search match must start and end a word. The match can
* span multiple words.
- *
- * Since: 3.10
*/
properties[PROP_AT_WORD_BOUNDARIES] =
g_param_spec_boolean ("at-word-boundaries",
@@ -201,8 +195,6 @@ gtk_source_search_settings_class_init (GtkSourceSearchSettingsClass *klass)
* For a forward search, continue at the beginning of the buffer if no
* search occurrence is found. For a backward search, continue at the
* end of the buffer.
- *
- * Since: 3.10
*/
properties[PROP_WRAP_AROUND] =
g_param_spec_boolean ("wrap-around",
@@ -216,8 +208,6 @@ gtk_source_search_settings_class_init (GtkSourceSearchSettingsClass *klass)
*
* Search by regular expressions with
* #GtkSourceSearchSettings:search-text as the pattern.
- *
- * Since: 3.10
*/
properties[PROP_REGEX_ENABLED] =
g_param_spec_boolean ("regex-enabled",
@@ -240,7 +230,6 @@ gtk_source_search_settings_init (GtkSourceSearchSettings *self)
* Creates a new search settings object.
*
* Returns: a new search settings object.
- * Since: 3.10
*/
GtkSourceSearchSettings *
gtk_source_search_settings_new (void)
@@ -259,8 +248,6 @@ gtk_source_search_settings_new (void)
*
* You may be interested to call gtk_source_utils_unescape_search_text() before
* this function.
- *
- * Since: 3.10
*/
void
gtk_source_search_settings_set_search_text (GtkSourceSearchSettings *settings,
@@ -302,7 +289,6 @@ gtk_source_search_settings_set_search_text (GtkSourceSearchSettings *settings,
* this function.
*
* Returns: (nullable): the text to search, or %NULL if the search is disabled.
- * Since: 3.10
*/
const gchar *
gtk_source_search_settings_get_search_text (GtkSourceSearchSettings *settings)
@@ -320,8 +306,6 @@ gtk_source_search_settings_get_search_text (GtkSourceSearchSettings *settings)
* @case_sensitive: the setting.
*
* Enables or disables the case sensitivity for the search.
- *
- * Since: 3.10
*/
void
gtk_source_search_settings_set_case_sensitive (GtkSourceSearchSettings *settings,
@@ -345,7 +329,6 @@ gtk_source_search_settings_set_case_sensitive (GtkSourceSearchSettings *settings
* @settings: a #GtkSourceSearchSettings.
*
* Returns: whether the search is case sensitive.
- * Since: 3.10
*/
gboolean
gtk_source_search_settings_get_case_sensitive (GtkSourceSearchSettings *settings)
@@ -366,8 +349,6 @@ gtk_source_search_settings_get_case_sensitive (GtkSourceSearchSettings *settings
* is %TRUE, a search match must start and end a word. The match can span
* multiple words. See also gtk_text_iter_starts_word() and
* gtk_text_iter_ends_word().
- *
- * Since: 3.10
*/
void
gtk_source_search_settings_set_at_word_boundaries (GtkSourceSearchSettings *settings,
@@ -391,7 +372,6 @@ gtk_source_search_settings_set_at_word_boundaries (GtkSourceSearchSettings *sett
* @settings: a #GtkSourceSearchSettings.
*
* Returns: whether to search at word boundaries.
- * Since: 3.10
*/
gboolean
gtk_source_search_settings_get_at_word_boundaries (GtkSourceSearchSettings *settings)
@@ -412,8 +392,6 @@ gtk_source_search_settings_get_at_word_boundaries (GtkSourceSearchSettings *sett
* forward search continues at the beginning of the buffer if no search
* occurrences are found. Similarly, the backward search continues to search at
* the end of the buffer.
- *
- * Since: 3.10
*/
void
gtk_source_search_settings_set_wrap_around (GtkSourceSearchSettings *settings,
@@ -437,7 +415,6 @@ gtk_source_search_settings_set_wrap_around (GtkSourceSearchSettings *settings,
* @settings: a #GtkSourceSearchSettings.
*
* Returns: whether to wrap around the search.
- * Since: 3.10
*/
gboolean
gtk_source_search_settings_get_wrap_around (GtkSourceSearchSettings *settings)
@@ -461,8 +438,6 @@ gtk_source_search_settings_get_wrap_around (GtkSourceSearchSettings *settings)
* #GtkSourceSearchContext uses #GRegex when regex search is enabled. See the
* [Regular expression syntax](https://developer.gnome.org/glib/stable/glib-regex-syntax.html)
* page in the GLib reference manual.
- *
- * Since: 3.10
*/
void
gtk_source_search_settings_set_regex_enabled (GtkSourceSearchSettings *settings,
@@ -486,7 +461,6 @@ gtk_source_search_settings_set_regex_enabled (GtkSourceSearchSettings *settings,
* @settings: a #GtkSourceSearchSettings.
*
* Returns: whether to search by regular expressions.
- * Since: 3.10
*/
gboolean
gtk_source_search_settings_get_regex_enabled (GtkSourceSearchSettings *settings)
diff --git a/gtksourceview/gtksourcesnippet.c b/gtksourceview/gtksourcesnippet.c
index 1bdfd595..e2dc1859 100644
--- a/gtksourceview/gtksourcesnippet.c
+++ b/gtksourceview/gtksourcesnippet.c
@@ -43,8 +43,6 @@
*
* Snippet chunks can reference other snippet chunks as well as post-process
* the values from other chunks such as capitalization.
- *
- * Since: 5.0
*/
G_DEFINE_TYPE (GtkSourceSnippet, gtk_source_snippet, G_TYPE_OBJECT)
@@ -121,8 +119,6 @@ gtk_source_snippet_restore_insert (GtkSourceSnippet *snippet)
* Creates a new #GtkSourceSnippet
*
* Returns: (transfer full): A new #GtkSourceSnippet
- *
- * Since: 5.0
*/
GtkSourceSnippet *
gtk_source_snippet_new (const gchar *trigger,
@@ -141,8 +137,6 @@ gtk_source_snippet_new (const gchar *trigger,
* Does a deep copy of the snippet.
*
* Returns: (transfer full): A new #GtkSourceSnippet
- *
- * Since: 5.0
*/
GtkSourceSnippet *
gtk_source_snippet_copy (GtkSourceSnippet *snippet)
@@ -176,8 +170,6 @@ gtk_source_snippet_copy (GtkSourceSnippet *snippet)
* as the user tabs through focus locations.
*
* Returns: The focus position, or -1 if unset.
- *
- * Since: 5.0
*/
gint
gtk_source_snippet_get_focus_position (GtkSourceSnippet *snippet)
@@ -196,8 +188,6 @@ gtk_source_snippet_get_focus_position (GtkSourceSnippet *snippet)
* Note that not all chunks are editable.
*
* Returns: The number of chunks.
- *
- * Since: 5.0
*/
guint
gtk_source_snippet_get_n_chunks (GtkSourceSnippet *snippet)
@@ -215,8 +205,6 @@ gtk_source_snippet_get_n_chunks (GtkSourceSnippet *snippet)
* Gets the chunk at @nth.
*
* Returns: (transfer none): an #GtkSourceSnippetChunk
- *
- * Since: 5.0
*/
GtkSourceSnippetChunk *
gtk_source_snippet_get_nth_chunk (GtkSourceSnippet *snippet,
@@ -239,8 +227,6 @@ gtk_source_snippet_get_nth_chunk (GtkSourceSnippet *snippet,
* the user presses Tab.
*
* Returns: (nullable): A string or %NULL
- *
- * Since: 5.0
*/
const gchar *
gtk_source_snippet_get_trigger (GtkSourceSnippet *snippet)
@@ -256,8 +242,6 @@ gtk_source_snippet_get_trigger (GtkSourceSnippet *snippet)
* @trigger: the trigger word
*
* Sets the trigger for the snippet.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_set_trigger (GtkSourceSnippet *snippet,
@@ -284,8 +268,6 @@ gtk_source_snippet_set_trigger (GtkSourceSnippet *snippet,
* source language #GtkSourceLanguage:id property.
*
* Returns: the language identifier
- *
- * Since: 5.0
*/
const gchar *
gtk_source_snippet_get_language_id (GtkSourceSnippet *snippet)
@@ -303,8 +285,6 @@ gtk_source_snippet_get_language_id (GtkSourceSnippet *snippet)
* Sets the language identifier for the snippet.
*
* This should match the #GtkSourceLanguage:id identifier.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_set_language_id (GtkSourceSnippet *snippet,
@@ -327,8 +307,6 @@ gtk_source_snippet_set_language_id (GtkSourceSnippet *snippet,
* @snippet: a #GtkSourceSnippet
*
* Gets the description for the snippet.
- *
- * Since: 5.0
*/
const gchar *
gtk_source_snippet_get_description (GtkSourceSnippet *snippet)
@@ -344,8 +322,6 @@ gtk_source_snippet_get_description (GtkSourceSnippet *snippet)
* @description: the snippet description
*
* Sets the description for the snippet.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_set_description (GtkSourceSnippet *snippet,
@@ -367,8 +343,6 @@ gtk_source_snippet_set_description (GtkSourceSnippet *snippet,
* @snippet: a #GtkSourceSnippet
*
* Gets the name for the snippet.
- *
- * Since: 5.0
*/
const gchar *
gtk_source_snippet_get_name (GtkSourceSnippet *snippet)
@@ -384,8 +358,6 @@ gtk_source_snippet_get_name (GtkSourceSnippet *snippet)
* @name: the snippet name
*
* Sets the name for the snippet.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_set_name (GtkSourceSnippet *snippet,
@@ -866,8 +838,6 @@ _gtk_source_snippet_finish (GtkSourceSnippet *snippet)
* Appends @chunk to the @snippet.
*
* This may only be called before the snippet has been expanded.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_add_chunk (GtkSourceSnippet *snippet,
@@ -1203,8 +1173,6 @@ _gtk_source_snippet_count_affected_chunks (GtkSourceSnippet *snippet,
* Gets the context used for expanding the snippet.
*
* Returns: (nullable) (transfer none): an #GtkSourceSnippetContext
- *
- * Since: 5.0
*/
GtkSourceSnippetContext *
gtk_source_snippet_get_context (GtkSourceSnippet *snippet)
diff --git a/gtksourceview/gtksourcesnippetchunk.c b/gtksourceview/gtksourcesnippetchunk.c
index e925654b..6a9d2ae3 100644
--- a/gtksourceview/gtksourcesnippetchunk.c
+++ b/gtksourceview/gtksourcesnippetchunk.c
@@ -31,8 +31,6 @@
* may or may not be an edit point within the snippet. Chunks that are
* an edit point (also called a tab stop) have the
* #GtkSourceSnippetChunk:focus-position property set.
- *
- * Since: 5.0
*/
G_DEFINE_TYPE (GtkSourceSnippetChunk, gtk_source_snippet_chunk, G_TYPE_INITIALLY_UNOWNED)
@@ -55,8 +53,6 @@ static GParamSpec *properties[N_PROPS];
*
* Create a new #GtkSourceSnippetChunk that can be added to
* a #GtkSourceSnippet.
- *
- * Since: 5.0
*/
GtkSourceSnippetChunk *
gtk_source_snippet_chunk_new (void)
@@ -71,8 +67,6 @@ gtk_source_snippet_chunk_new (void)
* Copies the source snippet.
*
* Returns: (transfer full): A #GtkSourceSnippetChunk
- *
- * Since: 5.0
*/
GtkSourceSnippetChunk *
gtk_source_snippet_chunk_copy (GtkSourceSnippetChunk *chunk)
@@ -109,8 +103,6 @@ on_context_changed (GtkSourceSnippetContext *context,
* Gets the context for the snippet insertion.
*
* Returns: (transfer none): A #GtkSourceSnippetContext
- *
- * Since: 5.0
*/
GtkSourceSnippetContext *
gtk_source_snippet_chunk_get_context (GtkSourceSnippetChunk *chunk)
@@ -161,8 +153,6 @@ gtk_source_snippet_chunk_set_context (GtkSourceSnippetChunk *chunk,
* are updated.
*
* Returns: (transfer none) (nullable): the specification, if any
- *
- * Since: 5.0
*/
const gchar *
gtk_source_snippet_chunk_get_spec (GtkSourceSnippetChunk *chunk)
@@ -183,8 +173,6 @@ gtk_source_snippet_chunk_get_spec (GtkSourceSnippetChunk *chunk)
* within the snippet context. If the user has changed the text, the
* #GtkSourceSnippetChunk:text and #GtkSourceSnippetChunk:text-set properties
* are updated.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_chunk_set_spec (GtkSourceSnippetChunk *chunk,
@@ -216,8 +204,6 @@ gtk_source_snippet_chunk_set_spec (GtkSourceSnippetChunk *chunk,
* A focus-position of -1 means the chunk cannot be focused by the user.
*
* Returns: the focus-position
- *
- * Since: 5.0
*/
gint
gtk_source_snippet_chunk_get_focus_position (GtkSourceSnippetChunk *chunk)
@@ -241,8 +227,6 @@ gtk_source_snippet_chunk_get_focus_position (GtkSourceSnippetChunk *chunk)
* and snippet editing ends when it has been reached.
*
* A focus-position of -1 means the chunk cannot be focused by the user.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_chunk_set_focus_position (GtkSourceSnippetChunk *chunk,
@@ -271,8 +255,6 @@ gtk_source_snippet_chunk_set_focus_position (GtkSourceSnippetChunk *chunk,
* returned.
*
* Returns: (not nullable): the text of the chunk
- *
- * Since: 5.0
*/
const gchar *
gtk_source_snippet_chunk_get_text (GtkSourceSnippetChunk *chunk)
@@ -292,8 +274,6 @@ gtk_source_snippet_chunk_get_text (GtkSourceSnippetChunk *chunk)
* This is usually used by the snippet engine to update the text, but may
* be useful when creating custom snippets to avoid expansion of any
* specification.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_chunk_set_text (GtkSourceSnippetChunk *chunk,
@@ -317,8 +297,6 @@ gtk_source_snippet_chunk_set_text (GtkSourceSnippetChunk *chunk,
* Gets the #GtkSourceSnippetChunk:text-set property.
*
* This is typically set when the user has edited a snippet chunk.
- *
- * Since: 5.0
*/
gboolean
gtk_source_snippet_chunk_get_text_set (GtkSourceSnippetChunk *chunk)
@@ -337,8 +315,6 @@ gtk_source_snippet_chunk_get_text_set (GtkSourceSnippetChunk *chunk)
*
* This is typically set when the user has edited a snippet chunk by the
* snippet engine.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_chunk_set_text_set (GtkSourceSnippetChunk *chunk,
diff --git a/gtksourceview/gtksourcesnippetcontext.c b/gtksourceview/gtksourcesnippetcontext.c
index 9d36b8cd..3064c73f 100644
--- a/gtksourceview/gtksourcesnippetcontext.c
+++ b/gtksourceview/gtksourcesnippetcontext.c
@@ -37,8 +37,6 @@
*
* The #GtkSourceSnippet will build the context and then expand each of the
* chunks during the insertion/edit phase.
- *
- * Since: 5.0
*/
struct _GtkSourceSnippetContext
@@ -78,8 +76,6 @@ static guint signals[N_SIGNALS];
* expansion of snippets manually.
*
* Returns: (transfer full): a #GtkSourceSnippetContext
- *
- * Since: 5.0
*/
GtkSourceSnippetContext *
gtk_source_snippet_context_new (void)
@@ -92,8 +88,6 @@ gtk_source_snippet_context_new (void)
* @self: a #GtkSourceSnippetContext
*
* Removes all variables from the context.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_context_clear_variables (GtkSourceSnippetContext *self)
@@ -113,8 +107,6 @@ gtk_source_snippet_context_clear_variables (GtkSourceSnippetContext *self)
*
* This variable may be overridden by future updates to the
* context.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_context_set_variable (GtkSourceSnippetContext *self,
@@ -138,8 +130,6 @@ gtk_source_snippet_context_set_variable (GtkSourceSnippetContext *self,
* but is expected to not change during use of the snippet.
*
* Examples would be the date or users name.
- *
- * Since: 5.0
*/
void
gtk_source_snippet_context_set_constant (GtkSourceSnippetContext *self,
@@ -160,8 +150,6 @@ gtk_source_snippet_context_set_constant (GtkSourceSnippetContext *self,
* Gets the current value for a variable named @key.
*
* Returns: (transfer none) (nullable): the value for the variable, or %NULL
- *
- * Since: 5.0
*/
const gchar *
gtk_source_snippet_context_get_variable (GtkSourceSnippetContext *self,
@@ -844,8 +832,6 @@ gtk_source_snippet_context_class_init (GtkSourceSnippetContextClass *klass)
* discovered in one of the chunks of the snippet which has
* caused a variable or other dynamic data within the context
* to have changed.
- *
- * Since: 5.0
*/
signals[CHANGED] =
g_signal_new ("changed",
diff --git a/gtksourceview/gtksourcesnippetmanager.c b/gtksourceview/gtksourcesnippetmanager.c
index 3c1b1b9b..770867dd 100644
--- a/gtksourceview/gtksourcesnippetmanager.c
+++ b/gtksourceview/gtksourcesnippetmanager.c
@@ -38,8 +38,6 @@
*
* Use gtk_source_snippet_manager_get_snippets() to retrieve snippets for
* a given snippets.
- *
- * Since: 5.0
*/
#define SNIPPET_DIR "snippets"
@@ -163,8 +161,6 @@ gtk_source_snippet_manager_class_init (GtkSourceSnippetManagerClass *klass)
*
* The "search-path" property contains a list of directories to search
* for files containing snippets (*.snippets).
- *
- * Since: 5.0
*/
properties[PROP_SEARCH_PATH] =
g_param_spec_boxed ("search-path",
@@ -190,8 +186,6 @@ gtk_source_snippet_manager_init (GtkSourceSnippetManager *self)
*
* Returns: (transfer none) (not nullable): a #GtkSourceSnippetManager which
* is owned by GtkSourceView library and must not be unref'd.
- *
- * Since: 5.0
*/
GtkSourceSnippetManager *
gtk_source_snippet_manager_get_default (void)
@@ -249,8 +243,6 @@ _gtk_source_snippet_manager_intern (GtkSourceSnippetManager *self,
* you have to call this function right after creating it.
* </para>
* </note>
- *
- * Since: 5.0
*/
void
gtk_source_snippet_manager_set_search_path (GtkSourceSnippetManager *self,
@@ -282,8 +274,6 @@ gtk_source_snippet_manager_set_search_path (GtkSourceSnippetManager *self,
* Returns: (array zero-terminated=1) (transfer none): %NULL-terminated array
* containing a list of snippet files directories.
* The array is owned by @lm and must not be modified.
- *
- * Since: 5.0
*/
const gchar * const *
gtk_source_snippet_manager_get_search_path (GtkSourceSnippetManager *self)
@@ -345,8 +335,6 @@ ensure_snippets (GtkSourceSnippetManager *self)
*
* Returns: (transfer container) (array zero-terminated=1) (element-type utf8):
* An array of strings which should be freed with g_free().
- *
- * Since: 5.0
*/
const gchar **
gtk_source_snippet_manager_list_groups (GtkSourceSnippetManager *self)
@@ -375,8 +363,6 @@ gtk_source_snippet_manager_list_groups (GtkSourceSnippetManager *self)
* the calling application.
*
* Returns: (transfer full): a #GListModel of #GtkSourceSnippet.
- *
- * Since: 5.0
*/
GListModel *
gtk_source_snippet_manager_list_matching (GtkSourceSnippetManager *self,
@@ -403,8 +389,6 @@ gtk_source_snippet_manager_list_matching (GtkSourceSnippetManager *self,
*
* Returns: (transfer full) (nullable): a #GtkSourceSnippet or %NULL if no
* matching snippet was found.
- *
- * Since: 5.0
*/
GtkSourceSnippet *
gtk_source_snippet_manager_get_snippet (GtkSourceSnippetManager *self,
diff --git a/gtksourceview/gtksourcespacedrawer.c b/gtksourceview/gtksourcespacedrawer.c
index 9644d2ff..84d7ba76 100644
--- a/gtksourceview/gtksourcespacedrawer.c
+++ b/gtksourceview/gtksourcespacedrawer.c
@@ -355,9 +355,7 @@ gtk_source_space_drawer_class_init (GtkSourceSpaceDrawerClass *klass)
/**
* GtkSourceSpaceDrawer:enable-matrix:
*
- * Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
- *
- * Since: 3.24
+ * Whether the #GtkSourceSpaceDrawer:matrix property is enabled.4
*/
properties[PROP_ENABLE_MATRIX] =
g_param_spec_boolean ("enable-matrix",
@@ -383,9 +381,7 @@ gtk_source_space_drawer_class_init (GtkSourceSpaceDrawerClass *klass)
* If the array is shorter than the number of locations, then the value
* for the missing locations will be %GTK_SOURCE_SPACE_TYPE_NONE.
*
- * By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.
- *
- * Since: 3.24
+ * By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.4
*/
properties[PROP_MATRIX] =
g_param_spec_variant ("matrix",
@@ -413,7 +409,6 @@ gtk_source_space_drawer_init (GtkSourceSpaceDrawer *drawer)
* settings independently of a #GtkSourceView.
*
* Returns: a new #GtkSourceSpaceDrawer.
- * Since: 3.24
*/
GtkSourceSpaceDrawer *
gtk_source_space_drawer_new (void)
@@ -436,7 +431,6 @@ gtk_source_space_drawer_new (void)
* specified @locations.
*
* Returns: a combination of #GtkSourceSpaceTypeFlags.
- * Since: 3.24
*/
GtkSourceSpaceTypeFlags
gtk_source_space_drawer_get_types_for_locations (GtkSourceSpaceDrawer *drawer,
@@ -455,8 +449,6 @@ gtk_source_space_drawer_get_types_for_locations (GtkSourceSpaceDrawer *dr
*
* Modifies the #GtkSourceSpaceDrawer:matrix property at the specified
* @locations.
- *
- * Since: 3.24
*/
void
gtk_source_space_drawer_set_types_for_locations (GtkSourceSpaceDrawer *drawer,
@@ -503,7 +495,6 @@ gtk_source_space_drawer_set_types_for_locations (GtkSourceSpaceDrawer *dr
*
* Returns: the #GtkSourceSpaceDrawer:matrix value as a new floating #GVariant
* instance.
- * Since: 3.24
*/
GVariant *
gtk_source_space_drawer_get_matrix (GtkSourceSpaceDrawer *drawer)
@@ -547,8 +538,6 @@ gtk_source_space_drawer_get_matrix (GtkSourceSpaceDrawer *drawer)
*
* The gtk_source_space_drawer_set_types_for_locations() function may be more
* convenient to use.
- *
- * Since: 3.24
*/
void
gtk_source_space_drawer_set_matrix (GtkSourceSpaceDrawer *drawer,
@@ -624,7 +613,6 @@ gtk_source_space_drawer_set_matrix (GtkSourceSpaceDrawer *drawer,
* @drawer: a #GtkSourceSpaceDrawer.
*
* Returns: whether the #GtkSourceSpaceDrawer:matrix property is enabled.
- * Since: 3.24
*/
gboolean
gtk_source_space_drawer_get_enable_matrix (GtkSourceSpaceDrawer *drawer)
@@ -640,8 +628,6 @@ gtk_source_space_drawer_get_enable_matrix (GtkSourceSpaceDrawer *drawer)
* @enable_matrix: the new value.
*
* Sets whether the #GtkSourceSpaceDrawer:matrix property is enabled.
- *
- * Since: 3.24
*/
void
gtk_source_space_drawer_set_enable_matrix (GtkSourceSpaceDrawer *drawer,
@@ -691,8 +677,6 @@ matrix_set_mapping (const GValue *value,
* mapping functions don't support #GVariant properties (maybe it will be
* supported by a future GIO version, in which case this function can be
* deprecated).
- *
- * Since: 3.24
*/
void
gtk_source_space_drawer_bind_matrix_setting (GtkSourceSpaceDrawer *drawer,
diff --git a/gtksourceview/gtksourcespacedrawer.h b/gtksourceview/gtksourcespacedrawer.h
index 04c590a4..b2c37574 100644
--- a/gtksourceview/gtksourcespacedrawer.h
+++ b/gtksourceview/gtksourcespacedrawer.h
@@ -43,8 +43,6 @@ G_BEGIN_DECLS
* @GTK_SOURCE_SPACE_TYPE_ALL: All white spaces.
*
* #GtkSourceSpaceTypeFlags contains flags for white space types.
- *
- * Since: 3.24
*/
typedef enum _GtkSourceSpaceTypeFlags
{
@@ -69,8 +67,6 @@ typedef enum _GtkSourceSpaceTypeFlags
*
* If a line contains only white spaces (no text), the white spaces match both
* %GTK_SOURCE_SPACE_LOCATION_LEADING and %GTK_SOURCE_SPACE_LOCATION_TRAILING.
- *
- * Since: 3.24
*/
typedef enum _GtkSourceSpaceLocationFlags
{
diff --git a/gtksourceview/gtksourcestyle.c b/gtksourceview/gtksourcestyle.c
index bb8aba14..92567652 100644
--- a/gtksourceview/gtksourcestyle.c
+++ b/gtksourceview/gtksourcestyle.c
@@ -486,8 +486,6 @@ gtk_source_style_get_property (GObject *object,
*
* Returns: (transfer full): copy of @style, call g_object_unref()
* when you are done with it.
- *
- * Since: 2.0
*/
GtkSourceStyle *
gtk_source_style_copy (const GtkSourceStyle *style)
@@ -524,8 +522,6 @@ gtk_source_style_copy (const GtkSourceStyle *style)
*
* If @style is %NULL, the related *-set properties of #GtkTextTag are set to
* %FALSE.
- *
- * Since: 3.22
*/
void
gtk_source_style_apply (const GtkSourceStyle *style,
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 5b931a53..92028fe6 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -296,8 +296,6 @@ gtk_source_style_scheme_init (GtkSourceStyleScheme *scheme)
* @scheme: a #GtkSourceStyleScheme.
*
* Returns: @scheme id.
- *
- * Since: 2.0
*/
const gchar *
gtk_source_style_scheme_get_id (GtkSourceStyleScheme *scheme)
@@ -313,8 +311,6 @@ gtk_source_style_scheme_get_id (GtkSourceStyleScheme *scheme)
* @scheme: a #GtkSourceStyleScheme.
*
* Returns: @scheme name.
- *
- * Since: 2.0
*/
const gchar *
gtk_source_style_scheme_get_name (GtkSourceStyleScheme *scheme)
@@ -330,8 +326,6 @@ gtk_source_style_scheme_get_name (GtkSourceStyleScheme *scheme)
* @scheme: a #GtkSourceStyleScheme.
*
* Returns: (nullable): @scheme description (if defined), or %NULL.
- *
- * Since: 2.0
*/
const gchar *
gtk_source_style_scheme_get_description (GtkSourceStyleScheme *scheme)
@@ -348,8 +342,6 @@ gtk_source_style_scheme_get_description (GtkSourceStyleScheme *scheme)
* Returns: (nullable) (array zero-terminated=1) (transfer none): a
* %NULL-terminated array containing the @scheme authors or %NULL if
* no author is specified by the style scheme.
- *
- * Since: 2.0
*/
const gchar * const *
gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme)
@@ -370,8 +362,6 @@ gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme)
*
* Returns: (nullable): @scheme file name if the scheme was created
* parsing a style scheme file or %NULL in the other cases.
- *
- * Since: 2.0
*/
const gchar *
gtk_source_style_scheme_get_filename (GtkSourceStyleScheme *scheme)
@@ -413,8 +403,6 @@ color_parse (const gchar *color,
* Returned value is actual color string suitable for gdk_rgba_parse().
* It may be @name or part of @name so copy it or something, if you need
* it to stay around.
- *
- * Since: 2.0
*/
static const gchar *
get_color_by_name (GtkSourceStyleScheme *scheme,
@@ -544,8 +532,6 @@ gtk_source_style_scheme_get_style_internal (GtkSourceStyleScheme *scheme,
* Returns: (nullable) (transfer none): style which corresponds to @style_id in
* the @scheme, or %NULL when no style with this name found. It is owned by
* @scheme and may not be unref'ed.
- *
- * Since: 2.0
*/
/*
* It's a little weird because we have named colors: styles loaded from
@@ -804,8 +790,6 @@ apply_css_style_cursors (GtkSourceStyleScheme *scheme,
* @widget: (nullable): a #GtkWidget to apply styles to.
*
* Sets style colors from @scheme to the @widget.
- *
- * Since: 2.0
*/
void
_gtk_source_style_scheme_apply (GtkSourceStyleScheme *scheme,
@@ -833,8 +817,6 @@ _gtk_source_style_scheme_apply (GtkSourceStyleScheme *scheme,
* @widget: (nullable): a (#GtkWidget to unapply styles to.
*
* Removes the styles from @scheme in the @widget.
- *
- * Since: 3.0
*/
void
_gtk_source_style_scheme_unapply (GtkSourceStyleScheme *scheme,
@@ -1337,8 +1319,6 @@ parse_style_scheme_element (GtkSourceStyleScheme *scheme,
*
* Returns: (nullable): new #GtkSourceStyleScheme created from file,
* or %NULL on error.
- *
- * Since: 2.0
*/
GtkSourceStyleScheme *
_gtk_source_style_scheme_new_from_file (const gchar *filename)
@@ -1416,8 +1396,6 @@ _gtk_source_style_scheme_new_from_file (const gchar *filename)
* @scheme: a #GtkSourceStyleScheme.
*
* Returns: (nullable): parent style scheme id or %NULL.
- *
- * Since: 2.0
*/
const gchar *
_gtk_source_style_scheme_get_parent_id (GtkSourceStyleScheme *scheme)
@@ -1435,8 +1413,6 @@ _gtk_source_style_scheme_get_parent_id (GtkSourceStyleScheme *scheme)
* Sets @parent_scheme as parent scheme for @scheme, @scheme will
* look for styles in @parent_scheme if it doesn't have style set
* for given name.
- *
- * Since: 2.0
*/
void
_gtk_source_style_scheme_set_parent (GtkSourceStyleScheme *scheme,
@@ -1469,8 +1445,6 @@ _gtk_source_style_scheme_set_parent (GtkSourceStyleScheme *scheme,
*
* Returns: default style scheme to be used when user didn't set
* style scheme explicitly.
- *
- * Since: 2.0
*/
GtkSourceStyleScheme *
_gtk_source_style_scheme_get_default (void)
diff --git a/gtksourceview/gtksourcestyleschemechooser.c b/gtksourceview/gtksourcestyleschemechooser.c
index ea19b508..2d7230a4 100644
--- a/gtksourceview/gtksourcestyleschemechooser.c
+++ b/gtksourceview/gtksourcestyleschemechooser.c
@@ -33,8 +33,6 @@
*
* In GtkSourceView, the main widgets that implement this interface are
* #GtkSourceStyleSchemeChooserWidget and #GtkSourceStyleSchemeChooserButton.
- *
- * Since: 3.16
*/
G_DEFINE_INTERFACE (GtkSourceStyleSchemeChooser, gtk_source_style_scheme_chooser, G_TYPE_OBJECT);
@@ -48,8 +46,6 @@ gtk_source_style_scheme_chooser_default_init (GtkSourceStyleSchemeChooserInterfa
* The :style-scheme property contains the currently selected style
* scheme. The property can be set to change
* the current selection programmatically.
- *
- * Since: 3.16
*/
g_object_interface_install_property (iface,
g_param_spec_object ("style-scheme",
@@ -66,8 +62,6 @@ gtk_source_style_scheme_chooser_default_init (GtkSourceStyleSchemeChooserInterfa
* Gets the currently-selected scheme.
*
* Returns: (transfer none): the currently-selected scheme.
- *
- * Since: 3.16
*/
GtkSourceStyleScheme *
gtk_source_style_scheme_chooser_get_style_scheme (GtkSourceStyleSchemeChooser *chooser)
@@ -83,8 +77,6 @@ gtk_source_style_scheme_chooser_get_style_scheme (GtkSourceStyleSchemeChooser *c
* @scheme: a #GtkSourceStyleScheme
*
* Sets the scheme.
- *
- * Since: 3.16
*/
void
gtk_source_style_scheme_chooser_set_style_scheme (GtkSourceStyleSchemeChooser *chooser,
diff --git a/gtksourceview/gtksourcestyleschemechooserbutton.c
b/gtksourceview/gtksourcestyleschemechooserbutton.c
index 6aeaa016..6b14921e 100644
--- a/gtksourceview/gtksourcestyleschemechooserbutton.c
+++ b/gtksourceview/gtksourcestyleschemechooserbutton.c
@@ -40,8 +40,6 @@
*
* In #GtkSourceStyleSchemeChooserButton, a #GtkSourceStyleSchemeChooserWidget
* is used to provide a dialog for selecting style schemes.
- *
- * Since: 3.16
*/
typedef struct
@@ -305,8 +303,6 @@ style_scheme_chooser_interface_init (GtkSourceStyleSchemeChooserInterface *iface
* Creates a new #GtkSourceStyleSchemeChooserButton.
*
* Returns: a new #GtkSourceStyleSchemeChooserButton.
- *
- * Since: 3.16
*/
GtkWidget *
gtk_source_style_scheme_chooser_button_new (void)
diff --git a/gtksourceview/gtksourcestyleschemechooserwidget.c
b/gtksourceview/gtksourcestyleschemechooserwidget.c
index daffb366..dad9c632 100644
--- a/gtksourceview/gtksourcestyleschemechooserwidget.c
+++ b/gtksourceview/gtksourcestyleschemechooserwidget.c
@@ -44,8 +44,6 @@
* use gtk_source_style_scheme_chooser_set_style_scheme().
* To get the selected style scheme
* use gtk_source_style_scheme_chooser_get_style_scheme().
- *
- * Since: 3.16
*/
typedef struct
@@ -257,8 +255,6 @@ style_scheme_chooser_interface_init (GtkSourceStyleSchemeChooserInterface *iface
* Creates a new #GtkSourceStyleSchemeChooserWidget.
*
* Returns: a new #GtkSourceStyleSchemeChooserWidget.
- *
- * Since: 3.16
*/
GtkWidget *
gtk_source_style_scheme_chooser_widget_new (void)
diff --git a/gtksourceview/gtksourcetag.c b/gtksourceview/gtksourcetag.c
index 5eced477..96e40fea 100644
--- a/gtksourceview/gtksourcetag.c
+++ b/gtksourceview/gtksourcetag.c
@@ -131,8 +131,6 @@ gtk_source_tag_class_init (GtkSourceTagClass *klass)
*
* Setting this property also changes #GtkSourceTag:draw-spaces-set to
* %TRUE.
- *
- * Since: 3.20
*/
properties [PROP_DRAW_SPACES] =
g_param_spec_boolean ("draw-spaces",
@@ -148,8 +146,6 @@ gtk_source_tag_class_init (GtkSourceTagClass *klass)
*
* Whether the #GtkSourceTag:draw-spaces property is set and must be
* taken into account.
- *
- * Since: 3.20
*/
properties [PROP_DRAW_SPACES_SET] =
g_param_spec_boolean ("draw-spaces-set",
@@ -179,7 +175,6 @@ gtk_source_tag_init (GtkSourceTag *tag)
* use.
*
* Returns: a new #GtkSourceTag.
- * Since: 3.20
*/
GtkTextTag *
gtk_source_tag_new (const gchar *name)
diff --git a/gtksourceview/gtksourceutils.c b/gtksourceview/gtksourceutils.c
index e3ee8682..cbf1e72e 100644
--- a/gtksourceview/gtksourceutils.c
+++ b/gtksourceview/gtksourceutils.c
@@ -51,7 +51,6 @@
* See also: gtk_source_utils_escape_search_text().
*
* Returns: the unescaped @text.
- * Since: 3.10
*/
gchar *
gtk_source_utils_unescape_search_text (const gchar *text)
@@ -151,7 +150,6 @@ gtk_source_utils_unescape_search_text (const gchar *text)
* </warning>
*
* Returns: the escaped @text.
- * Since: 3.10
*/
gchar *
gtk_source_utils_escape_search_text (const gchar* text)
diff --git a/gtksourceview/gtksourceversion.c b/gtksourceview/gtksourceversion.c
index 938ac882..0f5e1371 100644
--- a/gtksourceview/gtksourceversion.c
+++ b/gtksourceview/gtksourceversion.c
@@ -39,8 +39,6 @@
* have included when compiling your code.
*
* Returns: the major version number of the GtkSourceView library
- *
- * Since: 3.20
*/
guint
gtk_source_get_major_version (void)
@@ -60,8 +58,6 @@ gtk_source_get_major_version (void)
* have included when compiling your code.
*
* Returns: the minor version number of the GtkSourceView library
- *
- * Since: 3.20
*/
guint
gtk_source_get_minor_version (void)
@@ -81,8 +77,6 @@ gtk_source_get_minor_version (void)
* have included when compiling your code.
*
* Returns: the micro version number of the GtkSourceView library
- *
- * Since: 3.20
*/
guint
gtk_source_get_micro_version (void)
@@ -103,8 +97,6 @@ gtk_source_get_micro_version (void)
*
* Returns: %TRUE if the version of the GtkSourceView currently loaded
* is the same as or newer than the passed-in version.
- *
- * Since: 3.20
*/
gboolean
gtk_source_check_version (guint major,
diff --git a/gtksourceview/gtksourceversion.h.in b/gtksourceview/gtksourceversion.h.in
index 6cd1336f..657f8b43 100644
--- a/gtksourceview/gtksourceversion.h.in
+++ b/gtksourceview/gtksourceversion.h.in
@@ -30,8 +30,6 @@ G_BEGIN_DECLS
* Like gtk_source_get_major_version(), but from the headers used at
* application compile time, rather than from the library linked
* against at application run time.
- *
- * Since: 3.20
*/
#define GTK_SOURCE_MAJOR_VERSION (@GTK_SOURCE_MAJOR_VERSION@)
@@ -41,8 +39,6 @@ G_BEGIN_DECLS
* Like gtk_source_get_minor_version(), but from the headers used at
* application compile time, rather than from the library linked
* against at application run time.
- *
- * Since: 3.20
*/
#define GTK_SOURCE_MINOR_VERSION (@GTK_SOURCE_MINOR_VERSION@)
@@ -52,8 +48,6 @@ G_BEGIN_DECLS
* Like gtk_source_get_micro_version(), but from the headers used at
* application compile time, rather than from the library linked
* against at application run time.
- *
- * Since: 3.20
*/
#define GTK_SOURCE_MICRO_VERSION (@GTK_SOURCE_MICRO_VERSION@)
@@ -68,8 +62,6 @@ G_BEGIN_DECLS
*
* Returns: %TRUE if the version of the GtkSourceView header files
* is the same as or newer than the passed-in version.
- *
- * Since: 3.20
*/
#define GTK_SOURCE_CHECK_VERSION(major, minor, micro) \
(GTK_SOURCE_MAJOR_VERSION > (major) || \
@@ -151,8 +143,6 @@ G_BEGIN_DECLS
* Warning: if you define this macro, do not forget to update it! Especially
* when writing new code. Otherwise you can miss the new deprecations.
* </warning>
- *
- * Since: 3.20
*/
#ifndef GTK_SOURCE_VERSION_MIN_REQUIRED
#define GTK_SOURCE_VERSION_MIN_REQUIRED (GTK_SOURCE_VERSION_CUR_STABLE)
@@ -171,8 +161,6 @@ G_BEGIN_DECLS
* If a function has been introduced in a newer version of GtkSourceView,
* it is possible to use this symbol to get compiler warnings when
* trying to use that function.
- *
- * Since: 3.20
*/
#ifndef GTK_SOURCE_VERSION_MAX_ALLOWED
#if GTK_SOURCE_VERSION_MIN_REQUIRED > GTK_SOURCE_VERSION_PREV_STABLE
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index fc40e87e..028292a1 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -566,8 +566,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* The user may tab through focus-positions of the snippet if any
* are available by pressing Tab repeatedly until the desired focus
* position is selected.
- *
- * Since: 5.0
*/
properties [PROP_ENABLE_SNIPPETS] =
g_param_spec_boolean ("enable-snippets",
@@ -627,8 +625,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
*
* The "indenter" property is a #GtkSourceIndenter to use to indent
* as the user types into the #GtkSourceView.
- *
- * Since: 5.0
*/
properties [PROP_INDENTER] =
g_param_spec_object ("indenter",
@@ -707,8 +703,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* GtkSourceView:smart-home-end:
*
* Set the behavior of the HOME and END keys.
- *
- * Since: 2.0
*/
properties [PROP_SMART_HOME_END] =
g_param_spec_enum ("smart-home-end",
@@ -744,8 +738,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* GtkSourceView:background-pattern:
*
* Draw a specific background pattern on the view.
- *
- * Since: 3.16
*/
properties [PROP_BACKGROUND_PATTERN] =
g_param_spec_enum ("background-pattern",
@@ -761,8 +753,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* GtkSourceView:smart-backspace:
*
* Whether smart Backspace should be used.
- *
- * Since: 3.18
*/
properties [PROP_SMART_BACKSPACE] =
g_param_spec_boolean ("smart-backspace",
@@ -776,9 +766,7 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
/**
* GtkSourceView:space-drawer:
*
- * The #GtkSourceSpaceDrawer object associated with the view.
- *
- * Since: 3.24
+ * The #GtkSourceSpaceDrawer object associated with the view.4
*/
properties [PROP_SPACE_DRAWER] =
g_param_spec_object ("space-drawer",
@@ -878,8 +866,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* when the user initiates moving a word. The default binding key
* is Alt+Left/Right Arrow and moves the current selection, or the current
* word by one word.
- *
- * Since: 3.0
*/
signals[MOVE_WORDS] =
g_signal_new ("move-words",
@@ -905,8 +891,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* focus positions of @snippet have been exhausted.
*
* @location will be updated to point at the end of the snippet.
- *
- * Since: 5.0
*/
signals[PUSH_SNIPPET] =
g_signal_new ("push-snippet",
@@ -934,8 +918,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* during the GtkTextView::move-cursor action. This can be used to find
* out whether the cursor was moved by a normal home/end or by a smart
* home/end.
- *
- * Since: 3.0
*/
signals[SMART_HOME_END] =
g_signal_new ("smart-home-end",
@@ -958,8 +940,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* @extend_selection: %TRUE if the move should extend the selection
*
* Keybinding signal to move the cursor to the matching bracket.
- *
- * Since: 3.16
*/
signals[MOVE_TO_MATCHING_BRACKET] =
/* we have to do it this way since we do not have any more vfunc slots */
@@ -982,8 +962,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* @count: the number to add to the number at the current position
*
* Keybinding signal to edit a number at the current cursor position.
- *
- * Since: 3.16
*/
signals[CHANGE_NUMBER] =
g_signal_new_class_handler ("change-number",
@@ -1005,8 +983,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* @case_type: the case to use
*
* Keybinding signal to change case of the text at the current cursor position.
- *
- * Since: 3.16
*/
signals[CHANGE_CASE] =
g_signal_new_class_handler ("change-case",
@@ -1027,8 +1003,6 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
* @view: the #GtkSourceView
*
* Keybinding signal to join the lines currently selected.
- *
- * Since: 3.16
*/
signals[JOIN_LINES] =
g_signal_new_class_handler ("join-lines",
@@ -2925,8 +2899,6 @@ gtk_source_view_set_show_line_numbers (GtkSourceView *view,
* Returns whether line marks are displayed beside the text.
*
* Return value: %TRUE if the line marks are displayed.
- *
- * Since: 2.2
*/
gboolean
gtk_source_view_get_show_line_marks (GtkSourceView *view)
@@ -2957,8 +2929,6 @@ gutter_renderer_marks_activate (GtkSourceGutterRenderer *renderer,
* @show: whether line marks should be displayed.
*
* If %TRUE line marks will be displayed beside the text.
- *
- * Since: 2.2
*/
void
gtk_source_view_set_show_line_marks (GtkSourceView *view,
@@ -3185,8 +3155,6 @@ get_indent_string (guint tabs,
*
* Inserts one indentation level at the beginning of the specified lines. The
* empty lines are not indented.
- *
- * Since: 3.16
*/
void
gtk_source_view_indent_lines (GtkSourceView *view,
@@ -3340,8 +3308,6 @@ gtk_source_view_indent_lines (GtkSourceView *view,
*
* Removes one indentation level at the beginning of the
* specified lines.
- *
- * Since: 3.16
*/
void
gtk_source_view_unindent_lines (GtkSourceView *view,
@@ -4484,8 +4450,6 @@ gtk_source_view_set_right_margin_position (GtkSourceView *view,
*
* When set to %TRUE, pressing the Backspace key will try to delete spaces
* up to the previous tab stop.
- *
- * Since: 3.18
*/
void
gtk_source_view_set_smart_backspace (GtkSourceView *view,
@@ -4513,8 +4477,6 @@ gtk_source_view_set_smart_backspace (GtkSourceView *view,
* up to the previous tab stop.
*
* Returns: %TRUE if smart Backspace handling is enabled.
- *
- * Since: 3.18
*/
gboolean
gtk_source_view_get_smart_backspace (GtkSourceView *view)
@@ -4981,8 +4943,6 @@ gtk_source_view_get_hover (GtkSourceView *view)
* respectively corresponding to the left and right gutter. The line numbers
* and mark category icons are rendered in the left gutter.
*
- * Since: 2.8
- *
* Returns: (transfer none): the #GtkSourceGutter.
*/
GtkSourceGutter *
@@ -5106,8 +5066,6 @@ gtk_source_view_get_mark_attributes (GtkSourceView *view,
* @background_pattern: the #GtkSourceBackgroundPatternType.
*
* Set if and how the background pattern should be displayed.
- *
- * Since: 3.16
*/
void
gtk_source_view_set_background_pattern (GtkSourceView *view,
@@ -5136,7 +5094,6 @@ gtk_source_view_set_background_pattern (GtkSourceView *view,
* the background pattern should be displayed for this @view.
*
* Returns: the #GtkSourceBackgroundPatternType.
- * Since: 3.16
*/
GtkSourceBackgroundPatternType
gtk_source_view_get_background_pattern (GtkSourceView *view)
@@ -5157,7 +5114,6 @@ gtk_source_view_get_background_pattern (GtkSourceView *view)
* object has a different #GtkSourceSpaceDrawer.
*
* Returns: (transfer none): the #GtkSourceSpaceDrawer associated with @view.
- * Since: 3.24
*/
GtkSourceSpaceDrawer *
gtk_source_view_get_space_drawer (GtkSourceView *view)
@@ -5276,8 +5232,6 @@ gtk_source_view_real_push_snippet (GtkSourceView *view,
* If another snippet was already active, it will be paused and the new
* snippet will become active. Once the focus positions of @snippet have
* been exhausted, editing will return to the previous snippet.
- *
- * Since: 5.0
*/
void
gtk_source_view_push_snippet (GtkSourceView *view,
@@ -5332,8 +5286,6 @@ gtk_source_view_push_snippet (GtkSourceView *view,
* #GtkSourceView.
*
* Returns: %TRUE if enabled
- *
- * Since: 5.0
*/
gboolean
gtk_source_view_get_enable_snippets (GtkSourceView *view)
@@ -5355,8 +5307,6 @@ gtk_source_view_get_enable_snippets (GtkSourceView *view)
* If @enable_snippets is %TRUE, matching snippets found in the
* #GtkSourceSnippetManager may be expanded when the user presses
* Tab after a word in the #GtkSourceView.
- *
- * Since: 5.0
*/
void
gtk_source_view_set_enable_snippets (GtkSourceView *view,
@@ -5384,8 +5334,6 @@ gtk_source_view_set_enable_snippets (GtkSourceView *view,
* Gets the #GtkSourceView:indenter property.
*
* Returns: (transfer none) (nullable): a #GtkSourceIndenter or %NULL
- *
- * Since: 5.0
*/
GtkSourceIndenter *
gtk_source_view_get_indenter (GtkSourceView *view)
@@ -5406,8 +5354,6 @@ gtk_source_view_get_indenter (GtkSourceView *view)
*
* Note that the indenter will not be used unless #GtkSourceView:auto-indent
* has been set to %TRUE.
- *
- * Since: 5.0
*/
void
gtk_source_view_set_indenter (GtkSourceView *view,
diff --git a/gtksourceview/gtksourceview.h b/gtksourceview/gtksourceview.h
index 7c8d905a..8d4514d6 100644
--- a/gtksourceview/gtksourceview.h
+++ b/gtksourceview/gtksourceview.h
@@ -70,8 +70,6 @@ typedef enum _GtkSourceSmartHomeEndType
* GtkSourceBackgroundPatternType:
* @GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE: no pattern
* @GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID: grid pattern
- *
- * Since: 3.16
*/
typedef enum _GtkSourceBackgroundPatternType
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]