[gtksourceview/wip/chergert/vim] constness
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim] constness
- Date: Fri, 5 Nov 2021 05:45:18 +0000 (UTC)
commit 3b7e395e8593afbc971417caa3809fb62d3cac52
Author: Christian Hergert <chergert redhat com>
Date: Thu Nov 4 22:32:36 2021 -0700
constness
gtksourceview/vim/gtk-source-vim-motion.c | 8 ++---
gtksourceview/vim/gtk-source-vim-motion.h | 52 +++++++++++++++----------------
2 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-motion.c b/gtksourceview/vim/gtk-source-vim-motion.c
index e11694c6..8a57c19b 100644
--- a/gtksourceview/vim/gtk-source-vim-motion.c
+++ b/gtksourceview/vim/gtk-source-vim-motion.c
@@ -2290,7 +2290,7 @@ gtk_source_vim_iter_backward_quote_grave (GtkTextIter *iter)
}
gboolean
-gtk_source_vim_iter_starts_word (GtkTextIter *iter)
+gtk_source_vim_iter_starts_word (const GtkTextIter *iter)
{
GtkTextIter prev;
@@ -2315,7 +2315,7 @@ gtk_source_vim_iter_starts_word (GtkTextIter *iter)
}
gboolean
-gtk_source_vim_iter_ends_word (GtkTextIter *iter)
+gtk_source_vim_iter_ends_word (const GtkTextIter *iter)
{
GtkTextIter next;
@@ -2339,7 +2339,7 @@ gtk_source_vim_iter_ends_word (GtkTextIter *iter)
}
gboolean
-gtk_source_vim_iter_starts_WORD (GtkTextIter *iter)
+gtk_source_vim_iter_starts_WORD (const GtkTextIter *iter)
{
GtkTextIter prev;
@@ -2363,7 +2363,7 @@ gtk_source_vim_iter_starts_WORD (GtkTextIter *iter)
}
gboolean
-gtk_source_vim_iter_ends_WORD (GtkTextIter *iter)
+gtk_source_vim_iter_ends_WORD (const GtkTextIter *iter)
{
GtkTextIter next;
diff --git a/gtksourceview/vim/gtk-source-vim-motion.h b/gtksourceview/vim/gtk-source-vim-motion.h
index 7edab761..fa25daa4 100644
--- a/gtksourceview/vim/gtk-source-vim-motion.h
+++ b/gtksourceview/vim/gtk-source-vim-motion.h
@@ -55,31 +55,31 @@ gboolean gtk_source_vim_motion_apply (GtkSourceVim
gboolean gtk_source_vim_motion_invalidates_visual_column (GtkSourceVimMotion *self);
gboolean gtk_source_vim_motion_is_linewise (GtkSourceVimMotion *self);
-gboolean gtk_source_vim_iter_backward_block_brace_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_block_bracket_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_block_lt_gt_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_block_paren_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_paragraph_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_quote_double (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_quote_grave (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_quote_single (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_sentence_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_word_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_backward_WORD_start (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_block_brace_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_block_bracket_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_block_lt_gt_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_block_paren_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_paragraph_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_quote_double (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_quote_grave (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_quote_single (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_sentence_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_word_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_forward_WORD_end (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_ends_word (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_ends_WORD (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_starts_word (GtkTextIter *iter);
-gboolean gtk_source_vim_iter_starts_WORD (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_block_brace_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_block_bracket_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_block_lt_gt_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_block_paren_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_paragraph_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_quote_double (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_quote_grave (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_quote_single (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_sentence_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_word_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_backward_WORD_start (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_block_brace_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_block_bracket_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_block_lt_gt_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_block_paren_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_paragraph_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_quote_double (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_quote_grave (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_quote_single (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_sentence_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_word_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_forward_WORD_end (GtkTextIter *iter);
+gboolean gtk_source_vim_iter_ends_word (const GtkTextIter *iter);
+gboolean gtk_source_vim_iter_ends_WORD (const GtkTextIter *iter);
+gboolean gtk_source_vim_iter_starts_word (const GtkTextIter *iter);
+gboolean gtk_source_vim_iter_starts_WORD (const GtkTextIter *iter);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]