[gnome-notes] Fix spelling mistakes found by codespell
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] Fix spelling mistakes found by codespell
- Date: Sun, 18 Apr 2021 20:15:24 +0000 (UTC)
commit 33a23a1e4e57d6ab5c46ed348698f5b3ca0c6257
Author: yasharjit <yasharjitm10 gmail com>
Date: Sun Apr 18 16:48:38 2021 +0530
Fix spelling mistakes found by codespell
src/bjb-controller.c | 2 +-
src/bjb-import-dialog.c | 2 +-
src/bjb-main-toolbar.c | 2 +-
src/libbiji/biji-item.h | 2 +-
src/libbiji/biji-manager.c | 2 +-
src/libbiji/biji-note-obj.c | 2 +-
src/libbiji/biji-note-obj.h | 6 +++---
src/libbiji/biji-notebook.c | 2 +-
src/libbiji/biji-tracker.c | 2 +-
src/libbiji/provider/biji-memo-note.c | 6 +++---
src/libbiji/provider/biji-provider.c | 4 ++--
src/libbiji/serializer/biji-lazy-serializer.c | 2 +-
src/libbiji/serializer/biji-lazy-serializer.h | 2 +-
13 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/src/bjb-controller.c b/src/bjb-controller.c
index 6a707e9..e02a485 100644
--- a/src/bjb-controller.c
+++ b/src/bjb-controller.c
@@ -296,7 +296,7 @@ bjb_controller_add_item_if_needed (BjbController *self,
need_to_add_item = TRUE;
/* To do : we might have a notebook
- * but have to udpate the view */
+ * but have to update the view */
}
/* a search.. we test...*/
diff --git a/src/bjb-import-dialog.c b/src/bjb-import-dialog.c
index cfeeef3..b8aecf6 100644
--- a/src/bjb-import-dialog.c
+++ b/src/bjb-import-dialog.c
@@ -20,7 +20,7 @@
/* TODO
*
* - better label for dialog (pango for head label)
- * - maybe align diffrently
+ * - maybe align differently
* - we might also trigger spinner view when import runs
*/
diff --git a/src/bjb-main-toolbar.c b/src/bjb-main-toolbar.c
index 5a4aad3..57a7426 100644
--- a/src/bjb-main-toolbar.c
+++ b/src/bjb-main-toolbar.c
@@ -161,7 +161,7 @@ on_view_selection_changed_cb (BjbMainToolbar *self)
populate_main_toolbar (self);
/* If we were already on selection mode,
- * the bar is not totaly refreshed. just udpate label */
+ * the bar is not totally refreshed. just update label */
if (self->type == BJB_TOOLBAR_SELECT)
update_selection_label (self);
}
diff --git a/src/libbiji/biji-item.h b/src/libbiji/biji-item.h
index 5221f14..93153fb 100644
--- a/src/libbiji/biji-item.h
+++ b/src/libbiji/biji-item.h
@@ -124,7 +124,7 @@ gboolean biji_item_has_notebook (BijiItem *item,
/* Add Collection:
* either provide an existing notebook object
* or a title, in which case it's considered not on user action
- * and no notifiy happens */
+ * and no notify happens */
gboolean biji_item_add_notebook (BijiItem *item, BijiItem *collection, gchar *title);
diff --git a/src/libbiji/biji-manager.c b/src/libbiji/biji-manager.c
index a3509b3..4d1d466 100644
--- a/src/libbiji/biji-manager.c
+++ b/src/libbiji/biji-manager.c
@@ -854,7 +854,7 @@ biji_manager_load_providers_finish (BijiManager *self,
/* Create the importer == switch depending on the uri.
* That's all, the importer is responsible
- * for emiting the signal transfering the notes
+ * for emitting the signal transferring the notes
* And no need to _add_provider, it's a tmp provider. */
void
biji_manager_import_uri (BijiManager *manager,
diff --git a/src/libbiji/biji-note-obj.c b/src/libbiji/biji-note-obj.c
index 898b3f9..ccbd3d3 100644
--- a/src/libbiji/biji-note-obj.c
+++ b/src/libbiji/biji-note-obj.c
@@ -43,7 +43,7 @@ typedef struct
BijiTimeout *timeout;
gboolean needs_save;
- /* Icon might be null untill usefull
+ /* Icon might be null until useful
* Emblem is smaller & just shows the color */
cairo_surface_t *icon;
cairo_surface_t *emblem;
diff --git a/src/libbiji/biji-note-obj.h b/src/libbiji/biji-note-obj.h
index 2ec07a2..dfd81fb 100644
--- a/src/libbiji/biji-note-obj.h
+++ b/src/libbiji/biji-note-obj.h
@@ -25,7 +25,7 @@
G_BEGIN_DECLS
-/* Available formating for biji_note_obj_editor_apply_format
+/* Available formatting for biji_note_obj_editor_apply_format
* If note is opened, and if text is opened
* This toggle the format
* eg bold text will become normal and normal text becomes bold */
@@ -54,7 +54,7 @@ struct _BijiNoteObjClass
/*
* Mandatory. Provide the latest note html.
* Use html_from_plain_text if needed.
- * This sring must be allocated. use g_strdup if needed. */
+ * This string must be allocated. use g_strdup if needed. */
char *(*get_html) (BijiNoteObj *note);
/*
@@ -81,7 +81,7 @@ struct _BijiNoteObjClass
*
* Return FALSE if the note is note trashed.
*
- * If the provider does not suport this, return FALSE */
+ * If the provider does not support this, return FALSE */
gboolean (*is_trashed) (BijiNoteObj *note);
/*
diff --git a/src/libbiji/biji-notebook.c b/src/libbiji/biji-notebook.c
index f749b2e..84084c3 100644
--- a/src/libbiji/biji-notebook.c
+++ b/src/libbiji/biji-notebook.c
@@ -381,7 +381,7 @@ on_collected_item_change (BijiNotebook *self)
manager = biji_item_get_manager (BIJI_ITEM (self));
- /* Diconnected any handler */
+ /* Disconnected any handler */
for (l = self->collected_items; l != NULL; l = l->next)
{
g_signal_handlers_disconnect_by_func (l->data, on_collected_item_change, self);
diff --git a/src/libbiji/biji-tracker.c b/src/libbiji/biji-tracker.c
index 53b1192..37eaf89 100644
--- a/src/libbiji/biji-tracker.c
+++ b/src/libbiji/biji-tracker.c
@@ -36,7 +36,7 @@ typedef enum
/* To perform something after async tracker query
- * TODO : implemet this with GObject */
+ * TODO : implement this with GObject */
typedef struct {
BijiManager *manager;
diff --git a/src/libbiji/provider/biji-memo-note.c b/src/libbiji/provider/biji-memo-note.c
index 88c81fd..191abbe 100644
--- a/src/libbiji/provider/biji-memo-note.c
+++ b/src/libbiji/provider/biji-memo-note.c
@@ -145,7 +145,7 @@ fill_in_components (ECalComponent *comp,
/* X-EVOLUTION-OPTIONS-DELAY */
- /* -------------- OHER FILEDS (from specification) -------
+ /* -------------- OTHER FIELDS (from specification) -------
* FIXME: some of theme belong somewhere above....
*
* Unique: created / description / dtstamp / recurid / status / url /
@@ -295,8 +295,8 @@ memo_delete (BijiNoteObj *note)
e_cal_client_remove_object (self->client,
uid,
- NULL, /* rid : all occurences */
- E_CAL_OBJ_MOD_ALL, /* all occurences */
+ NULL, /* rid : all occurrences */
+ E_CAL_OBJ_MOD_ALL, /* all occurrences */
E_CAL_OPERATION_FLAG_NONE,
NULL, /* Cancellable */
on_memo_deleted,
diff --git a/src/libbiji/provider/biji-provider.c b/src/libbiji/provider/biji-provider.c
index 8e41bcb..5b0e705 100644
--- a/src/libbiji/provider/biji-provider.c
+++ b/src/libbiji/provider/biji-provider.c
@@ -18,11 +18,11 @@
/*
* TODO: the generic provider should at least
- * be the one emiting the signals
+ * be the one emitting the signals
*
* So 1. for each provider, the manager connects to the same
* & provider does not reinvent anything
- * 2. it might be a right place for running the approriate
+ * 2. it might be the right place for running the appropriate
* threads - or even processes.
*
*/
diff --git a/src/libbiji/serializer/biji-lazy-serializer.c b/src/libbiji/serializer/biji-lazy-serializer.c
index 37d6f4a..e864556 100644
--- a/src/libbiji/serializer/biji-lazy-serializer.c
+++ b/src/libbiji/serializer/biji-lazy-serializer.c
@@ -43,7 +43,7 @@ struct _BijiLazySerializer
xmlBufferPtr buf;
xmlTextWriterPtr writer;
- /* To get accross the html tree */
+ /* To get across the html tree */
xmlTextReaderPtr inner;
};
diff --git a/src/libbiji/serializer/biji-lazy-serializer.h b/src/libbiji/serializer/biji-lazy-serializer.h
index 9839b3f..4e96faf 100644
--- a/src/libbiji/serializer/biji-lazy-serializer.h
+++ b/src/libbiji/serializer/biji-lazy-serializer.h
@@ -16,7 +16,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* This serializer is used for developement at first.
+/* This serializer is used for development at first.
* It combines XML format for metadata
* and HTML format for note body.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]