diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/deprecated/gtkcellarea.c | 2 | ||||
-rw-r--r-- | gtk/deprecated/gtktreeview.c | 2 | ||||
-rw-r--r-- | gtk/gtkbuilder.c | 2 | ||||
-rw-r--r-- | gtk/gtkcenterlayout.c | 2 | ||||
-rw-r--r-- | gtk/gtkcheckbutton.c | 2 | ||||
-rw-r--r-- | gtk/gtkcolordialogbutton.c | 2 | ||||
-rw-r--r-- | gtk/gtkcssimagelinear.c | 2 | ||||
-rw-r--r-- | gtk/gtkdragsource.c | 4 | ||||
-rw-r--r-- | gtk/gtkentry.c | 4 | ||||
-rw-r--r-- | gtk/gtkexpander.c | 4 | ||||
-rw-r--r-- | gtk/gtkflowbox.c | 4 | ||||
-rw-r--r-- | gtk/gtkfontdialogbutton.c | 4 | ||||
-rw-r--r-- | gtk/gtkicontheme.c | 2 | ||||
-rw-r--r-- | gtk/gtkimcontext.c | 2 | ||||
-rw-r--r-- | gtk/gtkimcontextime.c | 2 | ||||
-rw-r--r-- | gtk/gtklabel.c | 2 | ||||
-rw-r--r-- | gtk/gtklistbox.c | 2 | ||||
-rw-r--r-- | gtk/gtknotebook.c | 10 | ||||
-rw-r--r-- | gtk/gtkrevealer.c | 2 | ||||
-rw-r--r-- | gtk/gtkscale.c | 2 | ||||
-rw-r--r-- | gtk/gtksecurememory.c | 4 | ||||
-rw-r--r-- | gtk/gtksettings.c | 2 | ||||
-rw-r--r-- | gtk/gtksnapshot.c | 2 | ||||
-rw-r--r-- | gtk/gtkspinbutton.c | 2 | ||||
-rw-r--r-- | gtk/gtkstack.c | 2 | ||||
-rw-r--r-- | gtk/gtktestutils.c | 2 | ||||
-rw-r--r-- | gtk/gtktexthistory.c | 2 | ||||
-rw-r--r-- | gtk/gtkwidget.c | 2 |
28 files changed, 38 insertions, 38 deletions
diff --git a/gtk/deprecated/gtkcellarea.c b/gtk/deprecated/gtkcellarea.c index 6e73d08ca5..fcab14183a 100644 --- a/gtk/deprecated/gtkcellarea.c +++ b/gtk/deprecated/gtkcellarea.c @@ -1845,7 +1845,7 @@ get_cell_allocation (GtkCellRenderer *renderer, * @allocation: (out): where to store the allocation for @renderer * * Derives the allocation of @renderer inside @area if @area - * were to be renderered in @cell_area. + * were to be rendered in @cell_area. * * Deprecated: 4.10 */ diff --git a/gtk/deprecated/gtktreeview.c b/gtk/deprecated/gtktreeview.c index ca52396ba3..7ade280056 100644 --- a/gtk/deprecated/gtktreeview.c +++ b/gtk/deprecated/gtktreeview.c @@ -9016,7 +9016,7 @@ gtk_tree_view_set_column_drag_info (GtkTreeView *tree_view, if (priv->column_drag_info == NULL) return; - /* We know there are always 2 slots possbile, as you can always return column. */ + /* We know there are always 2 slots possible, as you can always return column. */ /* If that's all there is, return */ if (priv->column_drag_info->next == NULL || (priv->column_drag_info->next->next == NULL && diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 71d251377b..546e758b2e 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -1409,7 +1409,7 @@ gtk_builder_extend_with_template (GtkBuilder *builder, * gtk_builder_add_from_resource: * @builder: a `GtkBuilder` * @resource_path: the path of the resource file to parse - * @error: (nullable): return location for an erro + * @error: (nullable): return location for an error * * Parses a resource file containing a UI definition * and merges it with the current contents of @builder. diff --git a/gtk/gtkcenterlayout.c b/gtk/gtkcenterlayout.c index 8862cc9ce0..8d09ce26de 100644 --- a/gtk/gtkcenterlayout.c +++ b/gtk/gtkcenterlayout.c @@ -663,7 +663,7 @@ gtk_center_layout_set_start_widget (GtkCenterLayout *self, * gtk_center_layout_get_start_widget: * @self: a `GtkCenterLayout` * - * Returns the start widget fo the layout. + * Returns the start widget of the layout. * * Returns: (nullable) (transfer none): The current start widget of @self */ diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index d909032d81..f0cc8ea6ff 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -777,7 +777,7 @@ gtk_check_button_new_with_mnemonic (const char *label) * * Sets the `GtkCheckButton` to inconsistent state. * - * You shoud turn off the inconsistent state again if the user checks + * You should turn off the inconsistent state again if the user checks * the check button. This has to be done manually. */ void diff --git a/gtk/gtkcolordialogbutton.c b/gtk/gtkcolordialogbutton.c index b854ee5621..76e007f6cc 100644 --- a/gtk/gtkcolordialogbutton.c +++ b/gtk/gtkcolordialogbutton.c @@ -466,7 +466,7 @@ gtk_color_dialog_button_set_dialog (GtkColorDialogButton *self, * Returns the color of the button. * * This function is what should be used to obtain - * the color that was choosen by the user. To get + * the color that was chosen by the user. To get * informed about changes, listen to "notify::color". * * Returns: the color diff --git a/gtk/gtkcssimagelinear.c b/gtk/gtkcssimagelinear.c index 13f848d945..3998b89e67 100644 --- a/gtk/gtkcssimagelinear.c +++ b/gtk/gtkcssimagelinear.c @@ -141,7 +141,7 @@ gtk_css_image_linear_snapshot (GtkCssImage *image, { GtkCssImageLinear *linear = GTK_CSS_IMAGE_LINEAR (image); GskColorStop *stops; - double angle; /* actual angle of the gradiant line in degrees */ + double angle; /* actual angle of the gradient line in degrees */ double x, y; /* coordinates of start point */ double length; /* distance in pixels for 100% */ double start, end; /* position of first/last point on gradient line - with gradient line being [0, 1] */ diff --git a/gtk/gtkdragsource.c b/gtk/gtkdragsource.c index 857abdacc2..9a4b1e9ca5 100644 --- a/gtk/gtkdragsource.c +++ b/gtk/gtkdragsource.c @@ -317,7 +317,7 @@ gtk_drag_source_class_init (GtkDragSourceClass *class) class->prepare = gtk_drag_source_prepare; /** - * GtkDragSource:content: (attributes org.gtk.Property.get=gtk_drag_source_get_content org.gtk.Propery.set=gtk_drag_source_set_content) + * GtkDragSource:content: (attributes org.gtk.Property.get=gtk_drag_source_get_content org.gtk.Property.set=gtk_drag_source_set_content) * * The data that is offered by drag operations from this source. */ @@ -345,7 +345,7 @@ gtk_drag_source_class_init (GtkDragSourceClass *class) * GtkDragSource::prepare: * @source: the `GtkDragSource` * @x: the X coordinate of the drag starting point - * @y: the Y coordinate fo the drag starting point + * @y: the Y coordinate of the drag starting point * * Emitted when a drag is about to be initiated. * diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 35a1cd53db..72609871f9 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -509,7 +509,7 @@ gtk_entry_class_init (GtkEntryClass *class) /** * GtkEntry:has-frame: (attributes org.gtk.Property.get=gtk_entry_get_has_frame org.gtk.Property.set=gtk_entry_set_has_frame) * - * Whehter the entry should draw a frame. + * Whether the entry should draw a frame. */ entry_props[PROP_HAS_FRAME] = g_param_spec_boolean ("has-frame", NULL, NULL, @@ -909,7 +909,7 @@ gtk_entry_class_init (GtkEntryClass *class) /** * GtkEntry::show-emoji-icon: * - * Whether the entry will sohw an Emoji icon in the secondary icon position + * Whether the entry will show an Emoji icon in the secondary icon position * to open the Emoji chooser. */ entry_props[PROP_SHOW_EMOJI_ICON] = diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index cd614843f4..b54921e97f 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -1142,7 +1142,7 @@ gtk_expander_get_label_widget (GtkExpander *expander) * @resize_toplevel: whether to resize the toplevel * * Sets whether the expander will resize the toplevel widget - * containing the expander upon resizing and collpasing. + * containing the expander upon resizing and collapsing. */ void gtk_expander_set_resize_toplevel (GtkExpander *expander, @@ -1162,7 +1162,7 @@ gtk_expander_set_resize_toplevel (GtkExpander *expander, * @expander: a `GtkExpander` * * Returns whether the expander will resize the toplevel widget - * containing the expander upon resizing and collpasing. + * containing the expander upon resizing and collapsing. * * Returns: the “resize toplevel” setting. */ diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index b7252ba1a2..157312d0e4 100644 --- a/gtk/gtkflowbox.c +++ b/gtk/gtkflowbox.c @@ -3771,7 +3771,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class) /** * GtkFlowBox::move-cursor: * @box: the `GtkFlowBox` on which the signal is emitted - * @step: the granularity fo the move, as a `GtkMovementStep` + * @step: the granularity of the move, as a `GtkMovementStep` * @count: the number of @step units to move * @extend: whether to extend the selection * @modify: whether to modify the selection @@ -4892,7 +4892,7 @@ gtk_flow_box_set_filter_func (GtkFlowBox *box, * Updates the filtering for all children. * * Call this function when the result of the filter - * function on the @box is changed due ot an external + * function on the @box is changed due to an external * factor. For instance, this would be used if the * filter function just looked for a specific search * term, and the entry with the string has changed. diff --git a/gtk/gtkfontdialogbutton.c b/gtk/gtkfontdialogbutton.c index ab6c78ac92..91e9ae4496 100644 --- a/gtk/gtkfontdialogbutton.c +++ b/gtk/gtkfontdialogbutton.c @@ -838,7 +838,7 @@ gtk_font_dialog_button_set_font_desc (GtkFontDialogButton *self, * Returns the font of the button. * * This function is what should be used to obtain - * the font that was choosen by the user. To get + * the font that was chosen by the user. To get * informed about changes, listen to "notify::font-desc". * * Returns: (transfer none) (nullable): the font @@ -889,7 +889,7 @@ gtk_font_dialog_button_set_font_features (GtkFontDialogButton *self, * Returns the font features of the button. * * This function is what should be used to obtain the font features - * that were choosen by the user. To get informed about changes, listen + * that were chosen by the user. To get informed about changes, listen * to "notify::font-features". * * Note that the button will only let users choose font features diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index c585d7bef8..e5310eed0e 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -969,7 +969,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass) * * Emitted when the icon theme changes. * - * This can happen becuase current icon theme is switched or + * This can happen because current icon theme is switched or * because GTK detects that a change has occurred in the * contents of the current icon theme. */ diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index 26f33b2cbe..008046264b 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -933,7 +933,7 @@ gtk_im_context_get_surrounding_with_selection (GtkIMContext *context, * have deleted all the characters that were requested to be deleted. * * This function is used by an input method that wants to make - * subsitutions in the existing text in response to new input. + * substitutions in the existing text in response to new input. * It is not useful for applications. * * Returns: %TRUE if the signal was handled. diff --git a/gtk/gtkimcontextime.c b/gtk/gtkimcontextime.c index a2ecd61aee..9a65f025da 100644 --- a/gtk/gtkimcontextime.c +++ b/gtk/gtkimcontextime.c @@ -72,7 +72,7 @@ struct _GtkIMContextIMEPrivate * cleared before commit() is called, otherwise it leads to an assertion * failure in Pango. However, since we emit the commit() signal while * handling the WM_IME_COMPOSITION message, the IME buffer will be non-empty, - * so we temporarily set this flag while emmiting the appropriate signals. + * so we temporarily set this flag while emitting the appropriate signals. * * See also: * https://bugzilla.gnome.org/show_bug.cgi?id=787142 diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 8074cb4b1f..4ce00248da 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -2236,7 +2236,7 @@ gtk_label_class_init (GtkLabelClass *class) * GtkLabel::copy-clipboard: * @self: the object which received the signal * - * Gets emitted to copy the slection to the clipboard. + * Gets emitted to copy the selection to the clipboard. * * The ::copy-clipboard signal is a [keybinding signal](class.SignalAction.html). * diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index 62b1d56612..4b161ca96f 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -3560,7 +3560,7 @@ gtk_list_box_row_class_init (GtkListBoxRowClass *klass) G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); /** - * GtkListBoxRow:child: (attributes org.gtk.Proeprty.get=gtk_list_box_row_get_child org.gtk.Property.set=gtk_list_box_row_set_child) + * GtkListBoxRow:child: (attributes org.gtk.Property.get=gtk_list_box_row_get_child org.gtk.Property.set=gtk_list_box_row_set_child) * * The child widget. */ diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 7593a1fe63..85068a6faf 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -588,7 +588,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class) /** * GtkNotebookPage:tab: * - * The tab widget for tihs page. + * The tab widget for this page. */ g_object_class_install_property (object_class, CHILD_PROP_TAB, @@ -599,7 +599,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class) /** * GtkNotebookPage:menu: * - * The label widget displayed in the childs menu entry. + * The label widget displayed in the child's menu entry. */ g_object_class_install_property (object_class, CHILD_PROP_MENU, @@ -643,7 +643,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class) /** * GtkNotebookPage:tab-expand: * - * Whether to expand the childs tab. + * Whether to expand the child's tab. */ g_object_class_install_property (object_class, CHILD_PROP_TAB_EXPAND, @@ -654,7 +654,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class) /** * GtkNotebookPage:tab-fill: * - * Whether the childs tab should fill the allocated area. + * Whether the child's tab should fill the allocated area. */ g_object_class_install_property (object_class, CHILD_PROP_TAB_FILL, @@ -3301,7 +3301,7 @@ gtk_notebook_switch_page_timeout (gpointer data) if (switch_page) { /* FIXME: hack, we don't want the - * focus to move fom the source widget + * focus to move from the source widget */ notebook->child_has_focus = FALSE; gtk_notebook_switch_focus_tab (notebook, diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c index 556b549b16..c0a9938a55 100644 --- a/gtk/gtkrevealer.c +++ b/gtk/gtkrevealer.c @@ -330,7 +330,7 @@ gtk_revealer_class_init (GtkRevealerClass *klass) GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY); /** - * GtkRevealer:reveal-child: (attributes org.gtk.Proeprty.get=gtk_revealer_get_reveal_child org.gtk.Property.set=gtk_revealer_set_reveal_child) + * GtkRevealer:reveal-child: (attributes org.gtk.Property.get=gtk_revealer_get_reveal_child org.gtk.Property.set=gtk_revealer_set_reveal_child) * * Whether the revealer should reveal the child. */ diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 110aa6c4ea..4e61fb3c9e 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -132,7 +132,7 @@ #define MAX_DIGITS (64) /* don't change this, * a) you don't need to and - * b) you might cause buffer owerflows in + * b) you might cause buffer overflows in * unrelated code portions otherwise */ diff --git a/gtk/gtksecurememory.c b/gtk/gtksecurememory.c index a7aa34c447..a83f57d961 100644 --- a/gtk/gtksecurememory.c +++ b/gtk/gtksecurememory.c @@ -247,7 +247,7 @@ pool_alloc (void) if (pages == MAP_FAILED) return NULL; - /* Fill in the block header, and inlude in block list */ + /* Fill in the block header, and include in block list */ pool = pages; pool->next = GTK_SECURE_GLOBALS.pool_data; GTK_SECURE_GLOBALS.pool_data = pool; @@ -1408,7 +1408,7 @@ gtk_secure_records (unsigned int *count) if (records == NULL) break; - /* Make sure this actualy accounts for all memory */ + /* Make sure this actually accounts for all memory */ g_assert (total == block->n_words); } diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 6215455323..c7e7e0c96f 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -725,7 +725,7 @@ gtk_settings_class_init (GtkSettingsClass *class) /** * GtkSettings:gtk-fontconfig-timestamp: * - * Timestamp of the curent fontconfig configuration. + * Timestamp of the current fontconfig configuration. */ result = settings_install_property_parser (class, g_param_spec_uint ("gtk-fontconfig-timestamp", NULL, NULL, diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c index 7c17a60728..56edc74b9f 100644 --- a/gtk/gtksnapshot.c +++ b/gtk/gtksnapshot.c @@ -869,7 +869,7 @@ gtk_snapshot_collect_gl_shader (GtkSnapshot *snapshot, shader_node = NULL; if (n_collected_nodes != 0) - g_warning ("Unexpected children when poping gl shader."); + g_warning ("Unexpected children when popping gl shader."); if (state->data.glshader.nodes) nodes = state->data.glshader.nodes; diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 8ea2a1c537..7bce95ca95 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -181,7 +181,7 @@ * below the text node. The orientation of the spin button is reflected in * the .vertical or .horizontal style class on the main node. * - * # Accessiblity + * # Accessibility * * `GtkSpinButton` uses the %GTK_ACCESSIBLE_ROLE_SPIN_BUTTON role. */ diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index 4dddcd5cb3..47e7f81324 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -894,7 +894,7 @@ gtk_stack_class_init (GtkStackClass *klass) GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); /** - * GtkStack:visible-child-name: (attributes org.gtk.Property.get=gtk_stack_get_visible_child_name org.gtk.Poperty.set=gtk_stack_set_visible_child_name) + * GtkStack:visible-child-name: (attributes org.gtk.Property.get=gtk_stack_get_visible_child_name org.gtk.Property.set=gtk_stack_set_visible_child_name) * * The name of the widget currently visible in the stack. */ diff --git a/gtk/gtktestutils.c b/gtk/gtktestutils.c index 3955e57be5..face9c3723 100644 --- a/gtk/gtktestutils.c +++ b/gtk/gtktestutils.c @@ -160,7 +160,7 @@ gtk_test_list_all_types (guint *n_types) * * Force registration of all core GTK object types. * - * This allowes to refer to any of those object types via + * This allows to refer to any of those object types via * g_type_from_name() after calling this function. **/ void diff --git a/gtk/gtktexthistory.c b/gtk/gtktexthistory.c index 5f3f2cb56c..486b364d76 100644 --- a/gtk/gtktexthistory.c +++ b/gtk/gtktexthistory.c @@ -225,7 +225,7 @@ action_chain (Action *action, if (other->kind == ACTION_KIND_BARRIER) { /* If we're not in a user action, this barrier is meant to - * stop items from coallescing into this group. + * stop items from coalescing into this group. */ if (!in_user_action && action->u.group.depth == 0) return FALSE; diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 47aa0b5c5c..282e129485 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -12577,7 +12577,7 @@ determine_type (GParamSpec *pspec) * Installs an action called @action_name on @widget_class and * binds its state to the value of the @property_name property. * - * This function will perform a few santity checks on the property selected + * This function will perform a few sanity checks on the property selected * via @property_name. Namely, the property must exist, must be readable, * writable and must not be construct-only. There are also restrictions * on the type of the given property, it must be boolean, int, unsigned int, |