Typo fixes
Fix s/occurence/occurrence in many places.
This commit is contained in:
parent
f87da278ad
commit
804d330195
@ -53,7 +53,7 @@ In the bug report please include:
|
|||||||
of software that can be downloaded.
|
of software that can be downloaded.
|
||||||
|
|
||||||
* If the bug was a crash, the exact text that was printed out
|
* If the bug was a crash, the exact text that was printed out
|
||||||
when the crash occured.
|
when the crash occurred.
|
||||||
|
|
||||||
* Further information such as stack traces may be useful, but
|
* Further information such as stack traces may be useful, but
|
||||||
is not necessary.
|
is not necessary.
|
||||||
|
@ -811,9 +811,9 @@ if opt_gtk:
|
|||||||
ct_index = start_offset
|
ct_index = start_offset
|
||||||
for line_num in range(len(compose_table)):
|
for line_num in range(len(compose_table)):
|
||||||
for i in range(WIDTHOFCOMPOSETABLE):
|
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
|
compose_table[line_num][i+1] = ct_index
|
||||||
ct_index += occurences * (i+2)
|
ct_index += occurrences * (i+2)
|
||||||
|
|
||||||
for sequence in xorg_compose_sequences:
|
for sequence in xorg_compose_sequences:
|
||||||
ct_second_part.append(map(convert_UnotationToHex, sequence))
|
ct_second_part.append(map(convert_UnotationToHex, sequence))
|
||||||
|
@ -215,7 +215,7 @@ gtk_css_provider_class_init (GtkCssProviderClass *klass)
|
|||||||
* @section: section the error happened in
|
* @section: section the error happened in
|
||||||
* @error: The parsing error
|
* @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.
|
* describe the actual location of the error as accurately as possible.
|
||||||
*
|
*
|
||||||
* Parsing errors are never fatal, so the parsing will resume after
|
* 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
|
* Returns: %TRUE. The return value is deprecated and %FALSE will only be
|
||||||
* returned for backwards compatibility reasons if an @error is not
|
* 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.
|
* CSS, connect to the #GtkCssProvider::parsing-error signal.
|
||||||
**/
|
**/
|
||||||
gboolean
|
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
|
* Returns: %TRUE. The return value is deprecated and %FALSE will only be
|
||||||
* returned for backwards compatibility reasons if an @error is not
|
* 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.
|
* CSS, connect to the #GtkCssProvider::parsing-error signal.
|
||||||
**/
|
**/
|
||||||
gboolean
|
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
|
* Returns: %TRUE. The return value is deprecated and %FALSE will only be
|
||||||
* returned for backwards compatibility reasons if an @error is not
|
* 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.
|
* CSS, connect to the #GtkCssProvider::parsing-error signal.
|
||||||
**/
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
|
@ -165,7 +165,7 @@ struct _GtkPlacesSidebar {
|
|||||||
|
|
||||||
guint mounting : 1;
|
guint mounting : 1;
|
||||||
guint drag_data_received : 1;
|
guint drag_data_received : 1;
|
||||||
guint drop_occured : 1;
|
guint drop_occurred : 1;
|
||||||
guint show_recent_set : 1;
|
guint show_recent_set : 1;
|
||||||
guint show_recent : 1;
|
guint show_recent : 1;
|
||||||
guint show_desktop_set : 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");
|
g_signal_stop_emission_by_name (list_box, "drag-data-received");
|
||||||
|
|
||||||
if (!sidebar->drop_occured)
|
if (!sidebar->drop_occurred)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
target_row = gtk_list_box_get_row_at_y (GTK_LIST_BOX (sidebar->list_box), y);
|
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:
|
out:
|
||||||
sidebar->drop_occured = FALSE;
|
sidebar->drop_occurred = FALSE;
|
||||||
gtk_drag_finish (context, success, FALSE, time);
|
gtk_drag_finish (context, success, FALSE, time);
|
||||||
stop_drop_feedback (sidebar);
|
stop_drop_feedback (sidebar);
|
||||||
g_free (target_uri);
|
g_free (target_uri);
|
||||||
@ -2012,7 +2012,7 @@ drag_drop_callback (GtkWidget *list_box,
|
|||||||
gboolean retval = FALSE;
|
gboolean retval = FALSE;
|
||||||
GtkPlacesSidebar *sidebar = GTK_PLACES_SIDEBAR (user_data);
|
GtkPlacesSidebar *sidebar = GTK_PLACES_SIDEBAR (user_data);
|
||||||
|
|
||||||
sidebar->drop_occured = TRUE;
|
sidebar->drop_occurred = TRUE;
|
||||||
retval = get_drag_data (sidebar->list_box, context, time);
|
retval = get_drag_data (sidebar->list_box, context, time);
|
||||||
g_signal_stop_emission_by_name (sidebar->list_box, "drag-drop");
|
g_signal_stop_emission_by_name (sidebar->list_box, "drag-drop");
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ typedef enum {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkPrintOperationResult:
|
* 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_APPLY: The print settings should be stored.
|
||||||
* @GTK_PRINT_OPERATION_RESULT_CANCEL: The print operation has been canceled,
|
* @GTK_PRINT_OPERATION_RESULT_CANCEL: The print operation has been canceled,
|
||||||
* the print settings should not be stored.
|
* the print settings should not be stored.
|
||||||
|
@ -3839,7 +3839,7 @@ gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer,
|
|||||||
/* When pasting with the cursor inside the selection area, you
|
/* When pasting with the cursor inside the selection area, you
|
||||||
* replace the selection with the new text, otherwise, you
|
* replace the selection with the new text, otherwise, you
|
||||||
* simply insert the new text at the point where the click
|
* 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.
|
* flag toggles this behavior.
|
||||||
*/
|
*/
|
||||||
data->replace_selection = FALSE;
|
data->replace_selection = FALSE;
|
||||||
|
@ -860,7 +860,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
|
|||||||
* @tag: the #GtkTextTag on which the signal is emitted
|
* @tag: the #GtkTextTag on which the signal is emitted
|
||||||
* @object: the object the event was fired from (typically a #GtkTextView)
|
* @object: the object the event was fired from (typically a #GtkTextView)
|
||||||
* @event: the event which triggered the signal
|
* @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
|
* The ::event signal is emitted when an event occurs on a region of the
|
||||||
* buffer marked with this tag.
|
* buffer marked with this tag.
|
||||||
|
@ -178,7 +178,7 @@ main ()
|
|||||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||||
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
|
echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."])
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
LIBS="$ac_save_LIBS"
|
LIBS="$ac_save_LIBS"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user