diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-03-10 22:46:02 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-03-10 22:46:02 -0500 |
commit | 804d330195f4e3a777b64a49d70059af2742f1c0 (patch) | |
tree | 4003f7a3b9e32a60f967f883260368b11052c23b /gtk | |
parent | f87da278ad5aa20af58b67fcc79a3ffb55b55d28 (diff) | |
download | gtk+-804d330195f4e3a777b64a49d70059af2742f1c0.tar.gz |
Typo fixes
Fix s/occurence/occurrence in many places.
Diffstat (limited to 'gtk')
-rwxr-xr-x | gtk/compose-parse.py | 4 | ||||
-rw-r--r-- | gtk/gtkcssprovider.c | 8 | ||||
-rw-r--r-- | gtk/gtkplacessidebar.c | 8 | ||||
-rw-r--r-- | gtk/gtkprintoperation.h | 2 | ||||
-rw-r--r-- | gtk/gtktextbuffer.c | 2 | ||||
-rw-r--r-- | gtk/gtktexttag.c | 2 |
6 files changed, 13 insertions, 13 deletions
diff --git a/gtk/compose-parse.py b/gtk/compose-parse.py index 16cc50095e..9a6513a70a 100755 --- a/gtk/compose-parse.py +++ b/gtk/compose-parse.py @@ -811,9 +811,9 @@ if opt_gtk: ct_index = start_offset for line_num in range(len(compose_table)): for i in range(WIDTHOFCOMPOSETABLE): - occurences = compose_table[line_num][i+1] + occurrences = compose_table[line_num][i+1] compose_table[line_num][i+1] = ct_index - ct_index += occurences * (i+2) + ct_index += occurrences * (i+2) for sequence in xorg_compose_sequences: ct_second_part.append(map(convert_UnotationToHex, sequence)) diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index 1b2962cc36..ec2982bdbb 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -215,7 +215,7 @@ gtk_css_provider_class_init (GtkCssProviderClass *klass) * @section: section the error happened in * @error: The parsing error * - * Signals that a parsing error occured. the @path, @line and @position + * Signals that a parsing error occurred. the @path, @line and @position * describe the actual location of the error as accurately as possible. * * Parsing errors are never fatal, so the parsing will resume after @@ -1810,7 +1810,7 @@ gtk_css_provider_load_internal (GtkCssProvider *css_provider, * * Returns: %TRUE. The return value is deprecated and %FALSE will only be * returned for backwards compatibility reasons if an @error is not - * %NULL and a loading error occured. To track errors while loading + * %NULL and a loading error occurred. To track errors while loading * CSS, connect to the #GtkCssProvider::parsing-error signal. **/ gboolean @@ -1858,7 +1858,7 @@ gtk_css_provider_load_from_data (GtkCssProvider *css_provider, * * Returns: %TRUE. The return value is deprecated and %FALSE will only be * returned for backwards compatibility reasons if an @error is not - * %NULL and a loading error occured. To track errors while loading + * %NULL and a loading error occurred. To track errors while loading * CSS, connect to the #GtkCssProvider::parsing-error signal. **/ gboolean @@ -1891,7 +1891,7 @@ gtk_css_provider_load_from_file (GtkCssProvider *css_provider, * * Returns: %TRUE. The return value is deprecated and %FALSE will only be * returned for backwards compatibility reasons if an @error is not - * %NULL and a loading error occured. To track errors while loading + * %NULL and a loading error occurred. To track errors while loading * CSS, connect to the #GtkCssProvider::parsing-error signal. **/ gboolean diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 760b60786a..16d2ef222e 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -165,7 +165,7 @@ struct _GtkPlacesSidebar { guint mounting : 1; guint drag_data_received : 1; - guint drop_occured : 1; + guint drop_occurred : 1; guint show_recent_set : 1; guint show_recent : 1; guint show_desktop_set : 1; @@ -1877,7 +1877,7 @@ drag_data_received_callback (GtkWidget *list_box, g_signal_stop_emission_by_name (list_box, "drag-data-received"); - if (!sidebar->drop_occured) + if (!sidebar->drop_occurred) return; target_row = gtk_list_box_get_row_at_y (GTK_LIST_BOX (sidebar->list_box), y); @@ -1949,7 +1949,7 @@ drag_data_received_callback (GtkWidget *list_box, } out: - sidebar->drop_occured = FALSE; + sidebar->drop_occurred = FALSE; gtk_drag_finish (context, success, FALSE, time); stop_drop_feedback (sidebar); g_free (target_uri); @@ -2012,7 +2012,7 @@ drag_drop_callback (GtkWidget *list_box, gboolean retval = FALSE; GtkPlacesSidebar *sidebar = GTK_PLACES_SIDEBAR (user_data); - sidebar->drop_occured = TRUE; + sidebar->drop_occurred = TRUE; retval = get_drag_data (sidebar->list_box, context, time); g_signal_stop_emission_by_name (sidebar->list_box, "drag-drop"); diff --git a/gtk/gtkprintoperation.h b/gtk/gtkprintoperation.h index 1a906e0cce..3ae0ed4924 100644 --- a/gtk/gtkprintoperation.h +++ b/gtk/gtkprintoperation.h @@ -81,7 +81,7 @@ typedef enum { /** * GtkPrintOperationResult: - * @GTK_PRINT_OPERATION_RESULT_ERROR: An error has occured. + * @GTK_PRINT_OPERATION_RESULT_ERROR: An error has occurred. * @GTK_PRINT_OPERATION_RESULT_APPLY: The print settings should be stored. * @GTK_PRINT_OPERATION_RESULT_CANCEL: The print operation has been canceled, * the print settings should not be stored. diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index 20ced2a2bc..4220fa426f 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -3839,7 +3839,7 @@ gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer, /* When pasting with the cursor inside the selection area, you * replace the selection with the new text, otherwise, you * simply insert the new text at the point where the click - * occured, unselecting any selected text. The replace_selection + * occurred, unselecting any selected text. The replace_selection * flag toggles this behavior. */ data->replace_selection = FALSE; diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c index 13d234f96d..1f20889b7e 100644 --- a/gtk/gtktexttag.c +++ b/gtk/gtktexttag.c @@ -860,7 +860,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) * @tag: the #GtkTextTag on which the signal is emitted * @object: the object the event was fired from (typically a #GtkTextView) * @event: the event which triggered the signal - * @iter: a #GtkTextIter pointing at the location the event occured + * @iter: a #GtkTextIter pointing at the location the event occurred * * The ::event signal is emitted when an event occurs on a region of the * buffer marked with this tag. |