summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2020-06-18 10:47:16 +0300
committerYuri Chornoivan <yurchor@ukr.net>2020-06-18 10:47:16 +0300
commitc0cf839729f98a5920ce930c39bae80a30946a42 (patch)
tree737b0ebbbf40763f686bf1b48b95d597fe4ddc56
parent2a51d4fba895f8ec05e15d6bd4849fdcbb03d579 (diff)
downloadgtk+-c0cf839729f98a5920ce930c39bae80a30946a42.tar.gz
Fix minor typos
-rw-r--r--demos/gtk-demo/listview_clocks.c2
-rw-r--r--gdk/gdkclipboard.c2
-rw-r--r--gdk/gdkcontentproviderimpl.c2
-rw-r--r--gdk/gdkkeys.c6
-rw-r--r--gdk/gdktexture.c2
-rw-r--r--gdk/quartz/gdkeventloop-quartz.c2
-rw-r--r--gdk/win32/gdkdrag-win32.c2
-rw-r--r--gdk/win32/gdksurface-win32.h2
-rw-r--r--gdk/x11/gdkmain-x11.c2
-rw-r--r--gdk/x11/gdkproperty-x11.c2
-rw-r--r--gsk/gskroundedrect.c2
-rw-r--r--gsk/gskroundedrect.h2
-rw-r--r--gtk/gtkactionmuxer.c4
-rw-r--r--gtk/gtkapplication.c8
-rw-r--r--gtk/gtkbuilder.h2
-rw-r--r--gtk/gtkcellarea.c2
-rw-r--r--gtk/gtkcolorutils.h2
-rw-r--r--gtk/gtkdialog.c2
-rw-r--r--gtk/gtkdroptarget.c2
-rw-r--r--gtk/gtkdroptargetasync.c2
-rw-r--r--gtk/gtkemojichooser.c2
-rw-r--r--gtk/gtkfilechooserwidget.c2
-rw-r--r--gtk/gtkflowbox.c2
-rw-r--r--gtk/gtkicontheme.c2
-rw-r--r--gtk/gtkinfobar.c2
-rw-r--r--gtk/gtklabel.c2
-rw-r--r--gtk/gtkliststore.c2
-rw-r--r--gtk/gtkrange.c2
-rw-r--r--gtk/gtkscrollable.c2
-rw-r--r--gtk/gtkshortcutcontroller.c2
-rw-r--r--gtk/gtktext.c2
-rw-r--r--gtk/gtktextlayout.c2
-rw-r--r--gtk/gtktooltip.c2
-rw-r--r--gtk/gtktreerbtree.c2
-rw-r--r--gtk/gtktreestore.c2
-rw-r--r--gtk/gtktreeview.c2
-rw-r--r--modules/printbackends/gtkprintbackendcups.c2
37 files changed, 43 insertions, 43 deletions
diff --git a/demos/gtk-demo/listview_clocks.c b/demos/gtk-demo/listview_clocks.c
index fee60ebaf2..28bff1e645 100644
--- a/demos/gtk-demo/listview_clocks.c
+++ b/demos/gtk-demo/listview_clocks.c
@@ -249,7 +249,7 @@ gtk_clock_tick (gpointer unused)
{
GtkClock *clock = l->data;
- /* We will now return a different value for the time porperty,
+ /* We will now return a different value for the time property,
* so notify about that.
*/
g_object_notify_by_pspec (G_OBJECT (clock), properties[PROP_TIME]);
diff --git a/gdk/gdkclipboard.c b/gdk/gdkclipboard.c
index 4406aad205..f4c5b91637 100644
--- a/gdk/gdkclipboard.c
+++ b/gdk/gdkclipboard.c
@@ -1290,7 +1290,7 @@ gdk_clipboard_set_valist (GdkClipboard *clipboard,
g_warning ("%s: %s", G_STRLOC, error);
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
return;
}
diff --git a/gdk/gdkcontentproviderimpl.c b/gdk/gdkcontentproviderimpl.c
index 104f3fbf55..7ec0cc0ca5 100644
--- a/gdk/gdkcontentproviderimpl.c
+++ b/gdk/gdkcontentproviderimpl.c
@@ -156,7 +156,7 @@ gdk_content_provider_new_typed (GType type,
g_warning ("%s: %s", G_STRLOC, error);
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
}
va_end (args);
diff --git a/gdk/gdkkeys.c b/gdk/gdkkeys.c
index 0c63aefa25..52bba82bb2 100644
--- a/gdk/gdkkeys.c
+++ b/gdk/gdkkeys.c
@@ -452,7 +452,7 @@ gdk_keymap_have_bidi_layouts (GdkKeymap *keymap)
* gdk_keymap_get_caps_lock_state:
* @keymap: a #GdkKeymap
*
- * Returns whether the Caps Lock modifer is locked.
+ * Returns whether the Caps Lock modifier is locked.
*
* Returns: %TRUE if Caps Lock is on
*/
@@ -468,7 +468,7 @@ gdk_keymap_get_caps_lock_state (GdkKeymap *keymap)
* gdk_keymap_get_num_lock_state:
* @keymap: a #GdkKeymap
*
- * Returns whether the Num Lock modifer is locked.
+ * Returns whether the Num Lock modifier is locked.
*
* Returns: %TRUE if Num Lock is on
*/
@@ -484,7 +484,7 @@ gdk_keymap_get_num_lock_state (GdkKeymap *keymap)
* gdk_keymap_get_scroll_lock_state:
* @keymap: a #GdkKeymap
*
- * Returns whether the Scroll Lock modifer is locked.
+ * Returns whether the Scroll Lock modifier is locked.
*
* Returns: %TRUE if Scroll Lock is on
*/
diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c
index 3961a57f3a..a6db7d5e17 100644
--- a/gdk/gdktexture.c
+++ b/gdk/gdktexture.c
@@ -375,7 +375,7 @@ gdk_texture_new_from_resource (const char *resource_path)
* Creates a new texture by loading an image from a file. The file format is
* detected automatically. If %NULL is returned, then @error will be set.
*
- * Return value: A newly-created #GdkTexture or %NULL if an error occured.
+ * Return value: A newly-created #GdkTexture or %NULL if an error occurred.
**/
GdkTexture *
gdk_texture_new_from_file (GFile *file,
diff --git a/gdk/quartz/gdkeventloop-quartz.c b/gdk/quartz/gdkeventloop-quartz.c
index 6927188a3b..031a207b4a 100644
--- a/gdk/quartz/gdkeventloop-quartz.c
+++ b/gdk/quartz/gdkeventloop-quartz.c
@@ -64,7 +64,7 @@ static int acquired_loop_level = -1;
static gboolean run_loop_polling_async = FALSE;
/* Between run_loop_before_waiting() and run_loop_after_waiting();
- * max_prioritiy to pass to g_main_loop_check()
+ * max_priority to pass to g_main_loop_check()
*/
static gint run_loop_max_priority;
diff --git a/gdk/win32/gdkdrag-win32.c b/gdk/win32/gdkdrag-win32.c
index ed2fb51c9c..a893401bd8 100644
--- a/gdk/win32/gdkdrag-win32.c
+++ b/gdk/win32/gdkdrag-win32.c
@@ -1317,7 +1317,7 @@ idataobject_querygetdata (LPDATAOBJECT This,
GDK_NOTE (DND,
g_print ("idataobject_querygetdata %p 0x%08x fmt, %p ptd, %lu aspect, %ld lindex, %0lx tymed - %s, return %#lx (%s)\n",
This, pFormatEtc->cfFormat, pFormatEtc->ptd, pFormatEtc->dwAspect, pFormatEtc->lindex, pFormatEtc->tymed, _gdk_win32_cf_to_string (pFormatEtc->cfFormat),
- hr, (hr == S_OK) ? "S_OK" : (hr == DV_E_FORMATETC) ? "DV_E_FORMATETC" : (hr == DV_E_LINDEX) ? "DV_E_LINDEX" : (hr == DV_E_TYMED) ? "DV_E_TYMED" : (hr == DV_E_DVASPECT) ? "DV_E_DVASPECT" : "uknown meaning"));
+ hr, (hr == S_OK) ? "S_OK" : (hr == DV_E_FORMATETC) ? "DV_E_FORMATETC" : (hr == DV_E_LINDEX) ? "DV_E_LINDEX" : (hr == DV_E_TYMED) ? "DV_E_TYMED" : (hr == DV_E_DVASPECT) ? "DV_E_DVASPECT" : "unknown meaning"));
return hr;
}
diff --git a/gdk/win32/gdksurface-win32.h b/gdk/win32/gdksurface-win32.h
index 6d06f7667b..c7bbba4858 100644
--- a/gdk/win32/gdksurface-win32.h
+++ b/gdk/win32/gdksurface-win32.h
@@ -135,7 +135,7 @@ struct _GdkW32DragMoveResizeContext
guint32 timestamp;
/* TRUE if during the next redraw we should call SetWindowPos() to push
- * the window size and poistion to the native window.
+ * the window size and position to the native window.
*/
gboolean native_move_resize_pending;
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c
index 82dd70011d..86e8c2541e 100644
--- a/gdk/x11/gdkmain-x11.c
+++ b/gdk/x11/gdkmain-x11.c
@@ -200,7 +200,7 @@ _gdk_x11_surface_grab_check_destroy (GdkSurface *surface)
* The X I/O error handling routine.
*
* Arguments:
- * "display" is the X display the error orignated from.
+ * "display" is the X display the error originated from.
*
* Results:
* An X I/O error basically means we lost our connection
diff --git a/gdk/x11/gdkproperty-x11.c b/gdk/x11/gdkproperty-x11.c
index b93b7fdbf4..4755d895a5 100644
--- a/gdk/x11/gdkproperty-x11.c
+++ b/gdk/x11/gdkproperty-x11.c
@@ -145,7 +145,7 @@ _gdk_x11_precache_atoms (GdkDisplay *display,
* be freed.
*
* Returns: name of the X atom; this string is owned by GDK,
- * so it shouldn’t be modifed or freed.
+ * so it shouldn’t be modified or freed.
**/
const gchar *
gdk_x11_get_xatom_name_for_display (GdkDisplay *display,
diff --git a/gsk/gskroundedrect.c b/gsk/gskroundedrect.c
index 4d95d52666..2dd842d0ca 100644
--- a/gsk/gskroundedrect.c
+++ b/gsk/gskroundedrect.c
@@ -158,7 +158,7 @@ gsk_rounded_rect_init_from_rect (GskRoundedRect *self,
*
* Normalizes the passed rectangle.
*
- * this function will ensure that the bounds of the rectanlge are normalized
+ * this function will ensure that the bounds of the rectangle are normalized
* and ensure that the corner values are positive and the corners do not overlap.
*
* Returns: (transfer none): the normalized rectangle
diff --git a/gsk/gskroundedrect.h b/gsk/gskroundedrect.h
index 64945a1417..45231e60be 100644
--- a/gsk/gskroundedrect.h
+++ b/gsk/gskroundedrect.h
@@ -53,7 +53,7 @@ G_BEGIN_DECLS
* A rectangular region with rounded corners.
*
* Application code should normalize rectangles using gsk_rounded_rect_normalize();
- * this function will ensure that the bounds of the rectanlge are normalized
+ * this function will ensure that the bounds of the rectangle are normalized
* and ensure that the corner values are positive and the corners do not overlap.
* All functions taking a #GskRoundedRect as an argument will internally operate on
* a normalized copy; all functions returning a #GskRoundedRect will always return
diff --git a/gtk/gtkactionmuxer.c b/gtk/gtkactionmuxer.c
index f84173fe05..e939b106e0 100644
--- a/gtk/gtkactionmuxer.c
+++ b/gtk/gtkactionmuxer.c
@@ -326,7 +326,7 @@ static void
gtk_action_muxer_action_added (GtkActionMuxer *muxer,
const gchar *action_name,
GActionGroup *original_group,
- const gchar *orignal_action_name)
+ const gchar *original_action_name)
{
const GVariantType *parameter_type;
gboolean enabled;
@@ -336,7 +336,7 @@ gtk_action_muxer_action_added (GtkActionMuxer *muxer,
action = g_hash_table_lookup (muxer->observed_actions, action_name);
if (action && action->watchers &&
- g_action_group_query_action (original_group, orignal_action_name,
+ g_action_group_query_action (original_group, original_action_name,
&enabled, &parameter_type, NULL, NULL, &state))
{
GSList *node;
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 6104467594..357491a9eb 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -585,7 +585,7 @@ sysprof_profiler_method_call (GDBusConnection *connection,
static gboolean
gtk_application_dbus_register (GApplication *application,
GDBusConnection *connection,
- const char *obect_path,
+ const char *object_path,
GError **error)
{
GtkApplicationPrivate *priv = gtk_application_get_instance_private (GTK_APPLICATION (application));
@@ -622,7 +622,7 @@ gtk_application_dbus_register (GApplication *application,
static void
gtk_application_dbus_unregister (GApplication *application,
GDBusConnection *connection,
- const char *obect_path)
+ const char *object_path)
{
GtkApplicationPrivate *priv = gtk_application_get_instance_private (GTK_APPLICATION (application));
@@ -634,7 +634,7 @@ gtk_application_dbus_unregister (GApplication *application,
static gboolean
gtk_application_dbus_register (GApplication *application,
GDBusConnection *connection,
- const char *obect_path,
+ const char *object_path,
GError **error)
{
return TRUE;
@@ -643,7 +643,7 @@ gtk_application_dbus_register (GApplication *application,
static void
gtk_application_dbus_unregister (GApplication *application,
GDBusConnection *connection,
- const char *obect_path)
+ const char *object_path)
{
}
diff --git a/gtk/gtkbuilder.h b/gtk/gtkbuilder.h
index 6aa627e194..724c4f499c 100644
--- a/gtk/gtkbuilder.h
+++ b/gtk/gtkbuilder.h
@@ -186,7 +186,7 @@ GClosure * gtk_builder_create_closure (GtkBuilder *builder,
/**
* GTK_BUILDER_WARN_INVALID_CHILD_TYPE:
- * @object: the #GtkBuildable on which the warning ocurred
+ * @object: the #GtkBuildable on which the warning occurred
* @type: the unexpected type value
*
* This macro should be used to emit a warning about and unexpected @type value
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 04000f2c91..1a161db23f 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -2614,7 +2614,7 @@ gtk_cell_area_cell_set_valist (GtkCellArea *area,
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
break;
}
diff --git a/gtk/gtkcolorutils.h b/gtk/gtkcolorutils.h
index 0bf8804ef6..08a797a2b9 100644
--- a/gtk/gtkcolorutils.h
+++ b/gtk/gtkcolorutils.h
@@ -1,4 +1,4 @@
-/* Color utilties
+/* Color utilities
*
* Copyright (C) 1999 The Free Software Foundation
*
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 45dc729757..84b8e45503 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -1270,7 +1270,7 @@ gtk_dialog_buildable_custom_finished (GtkBuildable *buildable,
if (!object)
continue;
- /* If the widget already has reponse data at this point, it
+ /* If the widget already has response data at this point, it
* was either added by gtk_dialog_add_action_widget(), or via
* <child type="action"> or by moving an action area child
* to the header bar. In these cases, apply placement heuristics
diff --git a/gtk/gtkdroptarget.c b/gtk/gtkdroptarget.c
index ad38fc683b..45af5dd6e2 100644
--- a/gtk/gtkdroptarget.c
+++ b/gtk/gtkdroptarget.c
@@ -978,7 +978,7 @@ gtk_drop_target_get_drop (GtkDropTarget *self)
* gtk_drop_target_get_value:
* @self: a #GtkDropTarget
*
- * Gets the value of the GtkDropTarget:value porperty.
+ * Gets the value of the GtkDropTarget:value property.
*
* Returns: (nullable) (transfer none): The current drop data
**/
diff --git a/gtk/gtkdroptargetasync.c b/gtk/gtkdroptargetasync.c
index fbed6ee319..3a8c7b36e3 100644
--- a/gtk/gtkdroptargetasync.c
+++ b/gtk/gtkdroptargetasync.c
@@ -420,7 +420,7 @@ gtk_drop_target_async_class_init (GtkDropTargetAsyncClass *class)
* based on the formats provided by the @drop.
*
* If the decision whether the drop will be accepted or rejected needs
- * further procesing, such as inspecting the data, this function should
+ * further processing, such as inspecting the data, this function should
* return %TRUE and proceed as is @drop was accepted and if it decides to
* reject the drop later, it should call gtk_drop_target_reject_drop().
*
diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c
index 1830667195..85078a8434 100644
--- a/gtk/gtkemojichooser.c
+++ b/gtk/gtkemojichooser.c
@@ -146,7 +146,7 @@ static void show_variations (GtkEmojiChooser *chooser,
static void
gtk_emoji_chooser_child_popup_menu (GtkWidget *widget,
const char *action_name,
- GVariant *paramters)
+ GVariant *parameters)
{
GtkWidget *chooser;
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 1f153896d0..064846c955 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -6705,7 +6705,7 @@ search_start_query (GtkFileChooserWidget *impl,
gtk_widget_show (impl->remote_warning_bar);
/* We're not showing the file list here already and instead rely on the
- * GtkSearchEntry timout and the ::hits-added signal from above to
+ * GtkSearchEntry timeout and the ::hits-added signal from above to
* switch. */
}
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index f9743e04e6..8ac3ff9f7e 100644
--- a/gtk/gtkflowbox.c
+++ b/gtk/gtkflowbox.c
@@ -3765,7 +3765,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
*
* The default bindings for this signal come in two variants,
* the variant with the Shift modifier extends the selection,
- * the variant without the Shift modifer does not.
+ * the variant without the Shift modifier does not.
* There are too many key combinations to list them all here.
* - Arrow keys move by individual children
* - Home/End keys move to the ends of the box
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 1b40a1e438..7c46cb3267 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3907,7 +3907,7 @@ icon_paintable_snapshot (GdkPaintable *paintable,
* of the icon or %NULL to use the default color (allow-none)
*
* This is similar to the implementation of gdk_paintable_snapshot(), but if the icon is
- * symbolic it will be recolored with the specified colors (which ususally comes from the theme).
+ * symbolic it will be recolored with the specified colors (which usually comes from the theme).
*/
void
gtk_icon_paintable_snapshot_with_colors (GtkIconPaintable *icon,
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index c3657ece49..775ba0b6da 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -293,7 +293,7 @@ clear_response_data (GtkWidget *widget)
data = get_response_data (widget, FALSE);
g_signal_handler_disconnect (widget, data->handler_id);
- g_object_set_data (G_OBJECT (widget), "gtk-info-bar-reponse-data", NULL);
+ g_object_set_data (G_OBJECT (widget), "gtk-info-bar-response-data", NULL);
}
static GtkWidget *
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 505d11d042..b281422683 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -642,7 +642,7 @@ gtk_label_class_init (GtkLabelClass *class)
*
* The default bindings for this signal come in two variants,
* the variant with the Shift modifier extends the selection,
- * the variant without the Shift modifer does not.
+ * the variant without the Shift modifier does not.
* There are too many key combinations to list them all here.
* - Arrow keys move by individual characters/lines
* - Ctrl-arrow key combinations move by words/paragraphs
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 8c488fabed..3e6a3eaa49 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -1038,7 +1038,7 @@ gtk_list_store_set_valist_internal (GtkListStore *list_store,
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
break;
}
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index f36fe248b2..e90a48c684 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -560,7 +560,7 @@ gtk_range_init (GtkRange *range)
/* Note: Order is important here.
* The ::drag-begin handler relies on the state set up by the
* click ::pressed handler. Gestures are handling events
- * in the oppposite order in which they are added to their
+ * in the opposite order in which they are added to their
* widget.
*/
priv->drag_gesture = gtk_gesture_drag_new ();
diff --git a/gtk/gtkscrollable.c b/gtk/gtkscrollable.c
index 308cd753f1..2e581ee6ac 100644
--- a/gtk/gtkscrollable.c
+++ b/gtk/gtkscrollable.c
@@ -83,7 +83,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
/**
* GtkScrollable:vadjustment:
*
- * Verical #GtkAdjustment of the scrollable widget. This adjustment is shared
+ * Vertical #GtkAdjustment of the scrollable widget. This adjustment is shared
* between the scrollable widget and its parent.
*/
pspec = g_param_spec_object ("vadjustment",
diff --git a/gtk/gtkshortcutcontroller.c b/gtk/gtkshortcutcontroller.c
index 81ca7f7b26..b11ea5da76 100644
--- a/gtk/gtkshortcutcontroller.c
+++ b/gtk/gtkshortcutcontroller.c
@@ -523,7 +523,7 @@ gtk_shortcut_controller_class_init (GtkShortcutControllerClass *klass)
*/
properties[PROP_MNEMONICS_MODIFIERS] =
g_param_spec_flags ("mnemonic-modifiers",
- P_("Mnemonic modifers"),
+ P_("Mnemonic modifiers"),
P_("The modifiers to be pressed to allow mnemonics activation"),
GDK_TYPE_MODIFIER_TYPE,
GDK_ALT_MASK,
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index e69c35822d..9aaaf38841 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -981,7 +981,7 @@ gtk_text_class_init (GtkTextClass *class)
*
* The default bindings for this signal come in two variants,
* the variant with the Shift modifier extends the selection,
- * the variant without the Shift modifer does not.
+ * the variant without the Shift modifier does not.
* There are too many key combinations to list them all here.
* - Arrow keys move by individual characters/lines
* - Ctrl-arrow key combinations move by words/paragraphs
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index a72a23f051..40213e40fa 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -2846,7 +2846,7 @@ get_line_at_y (GtkTextLayout *layout,
* gtk_text_layout_get_line_at_y:
* @layout: a #GtkLayout
* @target_iter: the iterator in which the result is stored
- * @y: the y positition
+ * @y: the y position
* @line_top: location to store the y coordinate of the
* top of the line. (Can by %NULL)
*
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 74e1e11958..e29461ff7a 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -655,7 +655,7 @@ gtk_tooltip_position (GtkTooltip *tooltip,
* If the anchor rectangle is too tall (meaning if we'd be constrained
* and flip, it'd flip too far away), rely only on the pointer position
* to position the tooltip. The approximate pointer cursorrectangle is
- * used as an anchor rectantgle.
+ * used as an anchor rectangle.
*
* If the anchor rectangle isn't to tall, make sure the tooltip isn't too
* far away from the pointer position.
diff --git a/gtk/gtktreerbtree.c b/gtk/gtktreerbtree.c
index 7552fcc61a..0aa90affe1 100644
--- a/gtk/gtktreerbtree.c
+++ b/gtk/gtktreerbtree.c
@@ -904,7 +904,7 @@ gtk_tree_rbtree_reorder (GtkTreeRBTree *tree,
* Checks if @potential_child is a child (direct or via intermediate
* trees) of @tree.
*
- * Returns: %TRUE if @potentitial_child is a child of @tree.
+ * Returns: %TRUE if @potential_child is a child of @tree.
**/
gboolean
gtk_tree_rbtree_contains (GtkTreeRBTree *tree,
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index df64028a3d..ce69dc187b 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -1055,7 +1055,7 @@ gtk_tree_store_set_valist_internal (GtkTreeStore *tree_store,
g_free (error);
/* we purposely leak the value here, it might not be
- * in a sane state if an error condition occoured
+ * in a sane state if an error condition occurred
*/
break;
}
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 99ef56c6a8..52df6885b0 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -6245,7 +6245,7 @@ do_validate_rows (GtkTreeView *tree_view, gboolean queue_resize)
* GtkWidget:adjust_size_request() is called).
*
* Currently bypassing this but the real solution is to not update the scroll adjustments
- * untill we've recieved an allocation (never update scroll adjustments from size-requests).
+ * until we've received an allocation (never update scroll adjustments from size-requests).
*/
prevent_recursion_hack = TRUE;
gtk_tree_view_measure (GTK_WIDGET (tree_view),
diff --git a/modules/printbackends/gtkprintbackendcups.c b/modules/printbackends/gtkprintbackendcups.c
index 893ced4c16..c69424bd98 100644
--- a/modules/printbackends/gtkprintbackendcups.c
+++ b/modules/printbackends/gtkprintbackendcups.c
@@ -2424,7 +2424,7 @@ cups_create_printer (GtkPrintBackendCups *cups_backend,
if (info->member_uris)
{
cups_printer->printer_uri = g_strdup (info->member_uris);
- /* TODO if member_uris is a class we need to recursivly find a printer */
+ /* TODO if member_uris is a class we need to recursively find a printer */
GTK_NOTE (PRINTING,
g_print ("CUPS Backend: Found class with printer %s\n",
info->member_uris));