[evolution-data-server] M!72 - Typos its <=> it's



commit 0c86c091a06037481df97fef6201d4be2cd81bac
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Mon Jun 7 14:01:20 2021 +0200

    M!72 - Typos its <=> it's
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/72

 cmake/modules/GObjectIntrospection.cmake                     | 2 +-
 src/addressbook/libebook-contacts/e-contact.c                | 2 +-
 src/addressbook/libebook-contacts/e-phone-number-private.cpp | 2 +-
 src/addressbook/libebook/e-destination.c                     | 2 +-
 src/addressbook/libedata-book/e-book-backend-sqlitedb.c      | 8 ++++----
 src/addressbook/libedata-book/e-book-sqlite.c                | 6 +++---
 src/addressbook/libedata-book/e-book-sqlite.h                | 2 +-
 src/addressbook/libedata-book/e-data-book-cursor.c           | 2 +-
 src/addressbook/libedata-book/e-data-book-cursor.h           | 2 +-
 src/addressbook/libedata-book/e-data-book-factory.h          | 2 +-
 src/calendar/backends/file/e-cal-backend-file.c              | 2 +-
 src/calendar/libedata-cal/e-cal-backend-intervaltree.c       | 2 +-
 src/camel/camel-block-file.c                                 | 4 ++--
 src/camel/camel-filter-driver.h                              | 2 +-
 src/libedataserver/e-time-utils.c                            | 2 +-
 tests/libebook/client/test-book-client-photo-is-uri.c        | 4 ++--
 tests/libedataserver/e-collator-test.c                       | 2 +-
 17 files changed, 24 insertions(+), 24 deletions(-)
---
diff --git a/cmake/modules/GObjectIntrospection.cmake b/cmake/modules/GObjectIntrospection.cmake
index 1ebf42d83..9d2e6e74e 100644
--- a/cmake/modules/GObjectIntrospection.cmake
+++ b/cmake/modules/GObjectIntrospection.cmake
@@ -115,7 +115,7 @@ macro(gir_add_introspection gir)
                _gir_list_prefix(_gir_packages ${_gir_name}_PACKAGES "--pkg=")
                _gir_list_prefix(_gir_includes ${_gir_name}_INCLUDES "--include=")
 
-               # Reuse the LIBTOOL variable from by automake if it's set
+               # Reuse the LIBTOOL variable from automake if it's set
                set(_gir_libtool "--no-libtool")
 
                _gir_list_prefix_path_to_string(_gir_files ${${_gir_name}_FILES} 
"${CMAKE_CURRENT_SOURCE_DIR}")
diff --git a/src/addressbook/libebook-contacts/e-contact.c b/src/addressbook/libebook-contacts/e-contact.c
index 38c2b926f..c8d88d538 100644
--- a/src/addressbook/libebook-contacts/e-contact.c
+++ b/src/addressbook/libebook-contacts/e-contact.c
@@ -932,7 +932,7 @@ n_setter (EContact *contact,
        e_vcard_attribute_add_value (attr, name->prefixes ? name->prefixes : "");
        e_vcard_attribute_add_value (attr, name->suffixes ? name->suffixes : "");
 
-       /* now find the attribute for FileAs.  if it's not present, fill it in */
+       /* now find the attribute for FileAs.  If it's not present, fill it in */
        attr = e_vcard_get_attribute (E_VCARD (contact), EVC_X_FILE_AS);
        if (!attr) {
                gchar *strings[3], **stringptr;
diff --git a/src/addressbook/libebook-contacts/e-phone-number-private.cpp 
b/src/addressbook/libebook-contacts/e-phone-number-private.cpp
index 35e6f8567..0e39dd6a9 100644
--- a/src/addressbook/libebook-contacts/e-phone-number-private.cpp
+++ b/src/addressbook/libebook-contacts/e-phone-number-private.cpp
@@ -50,7 +50,7 @@ e_phone_number_util_get_instance (void)
 
        if (g_once_init_enter (&instance)) {
                /* FIXME: Ideally PhoneNumberUtil would not be a singleton,
-                * so that we could safely tweak it's attributes without
+                * so that we could safely tweak its attributes without
                 * influencing other users of the library. */
                PhoneNumberUtil *new_instance = PhoneNumberUtil::GetInstance ();
 
diff --git a/src/addressbook/libebook/e-destination.c b/src/addressbook/libebook/e-destination.c
index a880fbef7..475bbe45f 100644
--- a/src/addressbook/libebook/e-destination.c
+++ b/src/addressbook/libebook/e-destination.c
@@ -660,7 +660,7 @@ e_destination_set_contact_uid (EDestination *dest,
                dest->priv->contact_uid = g_strdup (uid);
                dest->priv->email_num = email_num;
 
-               /* If we already have a contact, remove it unless it's uid matches the one
+               /* If we already have a contact, remove it unless its uid matches the one
                 * we just set. */
                if (dest->priv->contact && strcmp (uid,
                                                   e_contact_get_const (dest->priv->contact, E_CONTACT_UID))) 
{
diff --git a/src/addressbook/libedata-book/e-book-backend-sqlitedb.c 
b/src/addressbook/libedata-book/e-book-backend-sqlitedb.c
index b87a2b199..d0847d6a9 100644
--- a/src/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/src/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -3617,19 +3617,19 @@ field_name_and_query_term (EBookBackendSqliteDB *ebsdb,
                gboolean suffix_search = FALSE;
                gboolean phone_search = FALSE;
 
-               /* If its a suffix search and we have reverse data to search... */
+               /* If it's a suffix search and we have reverse data to search... */
                if (match == MATCH_ENDS_WITH &&
                    (ebsdb->priv->summary_fields[summary_index].index & INDEX_SUFFIX) != 0)
                        suffix_search = TRUE;
 
-               /* If its a phone-number search and we have E.164 data to search... */
+               /* If it's a phone-number search and we have E.164 data to search... */
                else if ((match == MATCH_PHONE_NUMBER ||
                                match == MATCH_NATIONAL_PHONE_NUMBER ||
                                match == MATCH_SHORT_PHONE_NUMBER) &&
                    (ebsdb->priv->summary_fields[summary_index].index & INDEX_PHONE) != 0)
                        phone_search = TRUE;
 
-               /* Or also if its an exact match, and we *only* have reverse data which is indexed,
+               /* Or also if it's an exact match, and we *only* have reverse data which is indexed,
                 * then prefer the indexed reverse search. */
                else if (match == MATCH_IS &&
                         (ebsdb->priv->summary_fields[summary_index].index & INDEX_SUFFIX) != 0 &&
@@ -6149,7 +6149,7 @@ collect_results_for_cursor_cb (gpointer ref,
  *   A return location to store the results, or %NULL if %EBSDB_CURSOR_STEP_FETCH is not specified in @flags.
  * @error: A location to store any error that may have occurred.
  *
- * Steps @cursor through it's sorted query by a maximum of @count contacts
+ * Steps @cursor through its sorted query by a maximum of @count contacts
  * starting from @origin.
  *
  * If @count is negative, then the cursor will move through the list in reverse.
diff --git a/src/addressbook/libedata-book/e-book-sqlite.c b/src/addressbook/libedata-book/e-book-sqlite.c
index 4b4b7036a..093790615 100644
--- a/src/addressbook/libedata-book/e-book-sqlite.c
+++ b/src/addressbook/libedata-book/e-book-sqlite.c
@@ -1445,7 +1445,7 @@ ebsql_compare_vcard (sqlite3_context *context,
        /* Reuse the same vcard as much as possible (it can be referred to more than
         * once in the query, so it can be reused for multiple comparisons on the same row)
         *
-        * This may look extensive, but as the vcard might be resolved by calling a
+        * This may look extensive, but as the vcard might be resolved by calling an
         * EbSqlVCardCallback, it's important to reuse this string as much as possible.
         *
         * See ebsql_fetch_vcard() for details.
@@ -3011,7 +3011,7 @@ ebsql_new_internal (const gchar *path,
 
        /* When loading addressbooks created by EBookBackendSqlite, we
         * need to fetch the 'folderid' which was in use for that existing
-        * addressbook before introspecting it's summary and upgrading
+        * addressbook before introspecting its summary and upgrading
         * the schema.
         */
        if (success)
@@ -8078,7 +8078,7 @@ collect_results_for_cursor_cb (gpointer ref,
  * @cancellable: A #GCancellable
  * @error: A return location to store any error that might be reported.
  *
- * Steps @cursor through it's sorted query by a maximum of @count contacts
+ * Steps @cursor through its sorted query by a maximum of @count contacts
  * starting from @origin.
  *
  * If @count is negative, then the cursor will move through the list in reverse.
diff --git a/src/addressbook/libedata-book/e-book-sqlite.h b/src/addressbook/libedata-book/e-book-sqlite.h
index 252d6eeb2..d09cb317b 100644
--- a/src/addressbook/libedata-book/e-book-sqlite.h
+++ b/src/addressbook/libedata-book/e-book-sqlite.h
@@ -89,7 +89,7 @@ typedef struct _EBookSqlitePrivate EBookSqlitePrivate;
 
 /**
  * EbSqlChangeType:
- * @EBSQL_CHANGE_CONTACT_ADDED: Contact was modified as a result of it's addition to the addressbook
+ * @EBSQL_CHANGE_CONTACT_ADDED: Contact was modified as a result of its addition to the addressbook
  * @EBSQL_CHANGE_LOCALE_CHANGED: Contact was modified as a result of a locale change
  * @EBSQL_CHANGE_LAST: A symbolic end marker for this enumeration, will not be passed in callbacks.
  *
diff --git a/src/addressbook/libedata-book/e-data-book-cursor.c 
b/src/addressbook/libedata-book/e-data-book-cursor.c
index 0d8d29565..40f7ebb28 100644
--- a/src/addressbook/libedata-book/e-data-book-cursor.c
+++ b/src/addressbook/libedata-book/e-data-book-cursor.c
@@ -800,7 +800,7 @@ e_data_book_cursor_set_sexp (EDataBookCursor *cursor,
  * @cancellable: A #GCancellable
  * @error: return location for a #GError, or %NULL
  *
- * Steps @cursor through it's sorted query by a maximum of @count contacts
+ * Steps @cursor through its sorted query by a maximum of @count contacts
  * starting from @origin.
  *
  * If @count is negative, then the cursor will move through the list in reverse.
diff --git a/src/addressbook/libedata-book/e-data-book-cursor.h 
b/src/addressbook/libedata-book/e-data-book-cursor.h
index a10b1e68f..1aa868285 100644
--- a/src/addressbook/libedata-book/e-data-book-cursor.h
+++ b/src/addressbook/libedata-book/e-data-book-cursor.h
@@ -147,7 +147,7 @@ typedef gboolean (*EDataBookCursorSetAlphabetIndexFunc) (EDataBookCursor     *cu
  * EDataBookCursorGetPositionFunc:
  * @cursor: an #EDataBookCursor
  * @total: (out): The total number of contacts matching @cursor's query expression
- * @position: (out): The current position of @cursor in it's result list
+ * @position: (out): The current position of @cursor in its result list
  * @cancellable: A #GCancellable
  * @error: return location for a #GError, or %NULL
  *
diff --git a/src/addressbook/libedata-book/e-data-book-factory.h 
b/src/addressbook/libedata-book/e-data-book-factory.h
index 4903cb890..1aa3e7d61 100644
--- a/src/addressbook/libedata-book/e-data-book-factory.h
+++ b/src/addressbook/libedata-book/e-data-book-factory.h
@@ -49,7 +49,7 @@
  * EDS_ADDRESS_BOOK_MODULES:
  *
  * This environment variable configures where the address book
- * factory loads it's backend modules from.
+ * factory loads its backend modules from.
  */
 #define EDS_ADDRESS_BOOK_MODULES "EDS_ADDRESS_BOOK_MODULES"
 
diff --git a/src/calendar/backends/file/e-cal-backend-file.c b/src/calendar/backends/file/e-cal-backend-file.c
index d8de7a240..f40bf807c 100644
--- a/src/calendar/backends/file/e-cal-backend-file.c
+++ b/src/calendar/backends/file/e-cal-backend-file.c
@@ -3520,7 +3520,7 @@ e_cal_backend_file_receive_objects (ECalBackendSync *backend,
 
        kind = i_cal_component_isa (toplevel_comp);
        if (kind != I_CAL_VCALENDAR_COMPONENT) {
-               /* If its not a VCALENDAR, make it one to simplify below */
+               /* If it is not a VCALENDAR, make it one to simplify below */
                icomp = toplevel_comp;
                toplevel_comp = e_cal_util_new_top_level ();
                if (i_cal_component_get_method (icomp) == I_CAL_METHOD_CANCEL)
diff --git a/src/calendar/libedata-cal/e-cal-backend-intervaltree.c 
b/src/calendar/libedata-cal/e-cal-backend-intervaltree.c
index d7849d3c2..f3e3c35d9 100644
--- a/src/calendar/libedata-cal/e-cal-backend-intervaltree.c
+++ b/src/calendar/libedata-cal/e-cal-backend-intervaltree.c
@@ -606,7 +606,7 @@ e_intervaltree_remove (EIntervalTree *tree,
        g_return_val_if_fail (y, FALSE);
        x = (y->left == nil) ? y->right : y->left;
        g_return_val_if_fail (x, FALSE);
-       /* y is to be spliced out. x is it's only child */
+       /* y is to be spliced out. x is its only child */
 
        x->parent = y->parent;
 
diff --git a/src/camel/camel-block-file.c b/src/camel/camel-block-file.c
index 1730828e2..8d24f343c 100644
--- a/src/camel/camel-block-file.c
+++ b/src/camel/camel-block-file.c
@@ -287,7 +287,7 @@ block_file_use (CamelBlockFile *bs)
        while (link != NULL && block_file_count > block_file_threshhold) {
                struct _CamelBlockFilePrivate *nw = link->data;
 
-               /* We never hit the current blockfile here, as its removed from the list first */
+               /* We never hit the current blockfile here, as it is removed from the list first */
                bf = nw->base;
                if (bf->priv->fd != -1) {
                        /* Need to trylock, as any of these lock levels might be trying
@@ -636,7 +636,7 @@ camel_block_file_get_block (CamelBlockFile *bs,
 
        g_return_val_if_fail (CAMEL_IS_BLOCK_FILE (bs), NULL);
 
-       /* Sanity check: Dont allow reading of root block (except before its been read)
+       /* Sanity check: Don't allow reading of root block (except before it's been read)
         * or blocks with invalid block id's */
        if ((bs->priv->root == NULL && id != 0)
            || (bs->priv->root != NULL && (id > bs->priv->root->last || id == 0))
diff --git a/src/camel/camel-filter-driver.h b/src/camel/camel-filter-driver.h
index ebcc19037..2197156e6 100644
--- a/src/camel/camel-filter-driver.h
+++ b/src/camel/camel-filter-driver.h
@@ -72,7 +72,7 @@ enum camel_filter_status_t {
        CAMEL_FILTER_STATUS_NONE,
        CAMEL_FILTER_STATUS_START,      /* start of new message processed */
        CAMEL_FILTER_STATUS_ACTION,     /* an action performed */
-       CAMEL_FILTER_STATUS_PROGRESS,   /* (an) extra update (s), if its taking longer to process */
+       CAMEL_FILTER_STATUS_PROGRESS,   /* (an) extra update (s), if it is taking longer to process */
        CAMEL_FILTER_STATUS_END         /* end of message */
 };
 
diff --git a/src/libedataserver/e-time-utils.c b/src/libedataserver/e-time-utils.c
index 748b00658..79dba7d0e 100644
--- a/src/libedataserver/e-time-utils.c
+++ b/src/libedataserver/e-time-utils.c
@@ -395,7 +395,7 @@ static void
 day_of_the_week (struct tm *tm)
 {
   /* We know that January 1st 1970 was a Thursday (= 4).  Compute the
-     the difference between this data in the one on TM and so determine
+     difference between this data in the one on TM and so determine
      the weekday.  */
   gint corr_year = 1900 + tm->tm_year - (tm->tm_mon < 2);
   gint wday = (-473
diff --git a/tests/libebook/client/test-book-client-photo-is-uri.c 
b/tests/libebook/client/test-book-client-photo-is-uri.c
index 0fb7a4fd6..d32f825b5 100644
--- a/tests/libebook/client/test-book-client-photo-is-uri.c
+++ b/tests/libebook/client/test-book-client-photo-is-uri.c
@@ -103,9 +103,9 @@ objects_removed (EBookClientView *book_view,
 }
 
 /* This provokes the backend to handle a cross-referenced photo
- * between contacts, how the backend handles this is it's choice,
+ * between contacts, how the backend handles this is its choice,
  * we should test that when deleting one of the contacts, the other
- * contact does not lose it's photo on disk as a result.
+ * contact does not lose its photo on disk as a result.
  */
 static void
 give_james_brown_micheal_jacksons_face (EBookClient *book)
diff --git a/tests/libedataserver/e-collator-test.c b/tests/libedataserver/e-collator-test.c
index 8f2c9b3a0..0f895574c 100644
--- a/tests/libedataserver/e-collator-test.c
+++ b/tests/libedataserver/e-collator-test.c
@@ -123,7 +123,7 @@ test_el_GR (CollatorFixture *fixture,
   /* Δ is the 4th letter, the 0 index is the underflow bucket... */
   g_assert_cmpint (e_collator_get_index (fixture->collator, "Δευτέρα"), ==, 4);
 
-  /* In greek 'D' doesnt sort under the 'Δ' bucket, instead it's in the underflow bucket */
+  /* In greek 'D' does not sort under the 'Δ' bucket, instead it's in the underflow bucket */
   g_assert_cmpint (e_collator_get_index (fixture->collator, "Damsel"), ==, 0);
 
   /* 'Τ' is the 19th letter */


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