[evince] libview: Fix typos in comments



commit 822e8a28907b537e0ba6d50ca9b9fdcb4b450165
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Thu May 21 21:56:10 2020 -0400

    libview: Fix typos in comments

 libview/ev-job-scheduler.c | 2 +-
 libview/ev-view.c          | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libview/ev-job-scheduler.c b/libview/ev-job-scheduler.c
index c91dc951..d754c136 100644
--- a/libview/ev-job-scheduler.c
+++ b/libview/ev-job-scheduler.c
@@ -270,7 +270,7 @@ ev_job_scheduler_update_job (EvJob         *job,
        EvSchedulerJob *s_job = NULL;
        gboolean        need_resort = FALSE;
 
-       /* Main loop jobs are scheduled inmediately */
+       /* Main loop jobs are scheduled immediately */
        if (ev_job_get_run_mode (job) == EV_JOB_RUN_MAIN_LOOP)
                return;
 
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 9c307a00..b805ea6a 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -6470,7 +6470,7 @@ cursor_forward_word_end (EvView *view)
        if (!log_attrs)
                return FALSE;
 
-       /* Skip current current word ends */
+       /* Skip current word ends */
        for (i = view->cursor_offset; i < n_attrs && log_attrs[i].is_word_end; i++);
        if (i >= n_attrs) {
                if (cursor_go_to_next_page (view))
@@ -9231,7 +9231,7 @@ jump_to_find_result (EvView *view)
  * @direction: Direction to look
  * @shift: Shift from current page
  *
- * Jumps to the first page that has occurences of searched word.
+ * Jumps to the first page that has occurrences of searched word.
  * Uses a direction where to look and a shift from current page. 
  *
  */
@@ -9597,7 +9597,7 @@ compute_new_selection (EvView          *view,
 }
 
 /* This function takes the newly calculated list, and figures out which regions
- * have changed.  It then queues a redraw approporiately.
+ * have changed.  It then queues a redraw appropriately.
  */
 static void
 merge_selection_region (EvView *view,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]