[gtk: 1/2] Minor typos in the Documentation (a/an)



commit 6ded38de2b2f87f1531367f62c38ac49b9e50862
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Sun Aug 25 12:52:24 2019 +0000

    Minor typos in the Documentation (a/an)

 demos/gtk-demo/messages.txt                   | 2 +-
 demos/gtk-demo/paintable_mediastream.c        | 2 +-
 demos/icon-browser/icon.list                  | 2 +-
 docs/reference/gtk/gtk4-update-icon-cache.xml | 2 +-
 docs/tree-column-sizing.txt                   | 2 +-
 gdk/gdkevents.c                               | 2 +-
 gdk/gdkglcontext.c                            | 2 +-
 gdk/gdkseat.c                                 | 2 +-
 gdk/gdkselection.c                            | 2 +-
 gdk/win32/gdkkeys-win32.c                     | 2 +-
 gdk/win32/gdksurface-win32.c                  | 4 ++--
 gdk/win32/gdksurface-win32.h                  | 2 +-
 gdk/x11/gdkdevicemanager-xi2.c                | 2 +-
 gdk/x11/gdkglcontext-x11.c                    | 2 +-
 gsk/gskrendernodeimpl.c                       | 2 +-
 gtk/gtkassistant.c                            | 2 +-
 gtk/gtkbuildable.c                            | 2 +-
 gtk/gtkbutton.c                               | 2 +-
 gtk/gtkcssselector.c                          | 2 +-
 gtk/gtkicontheme.c                            | 2 +-
 gtk/gtkiconview.c                             | 4 ++--
 gtk/gtkinfobar.c                              | 2 +-
 gtk/gtklabel.c                                | 4 ++--
 gtk/gtklinkbutton.c                           | 2 +-
 gtk/gtklinkbutton.h                           | 2 +-
 gtk/gtkplacessidebar.c                        | 4 ++--
 gtk/gtkseparatortoolitem.c                    | 2 +-
 gtk/gtkstylecontext.h                         | 4 ++--
 gtk/gtktextlayout.c                           | 2 +-
 gtk/gtktooltip.c                              | 2 +-
 gtk/gtktreemenu.c                             | 8 ++++----
 gtk/gtktreemodel.c                            | 2 +-
 gtk/gtkwidget.c                               | 6 +++---
 po-properties/sv.po                           | 2 +-
 34 files changed, 44 insertions(+), 44 deletions(-)
---
diff --git a/demos/gtk-demo/messages.txt b/demos/gtk-demo/messages.txt
index 156f6286ed..14b4edada6 100644
--- a/demos/gtk-demo/messages.txt
+++ b/demos/gtk-demo/messages.txt
@@ -378,7 +378,7 @@
 378|GTK+ and friends|GTKtoolkit|#GNUStep gets #GTK+ theming http://is.gd/95vHl more at 
http://is.gd/95wt8|1267029498|0||0|1
 379|GTK+ and friends|GTKtoolkit|GTK+ 2.19.6 released: 
http://mail.gnome.org/archives/gtk-devel-list/2010-February/msg00050.html #gtk|1266966985|0||0|0
 380|GTK+ and friends|GTKtoolkit|Did you know that #GTK+ is the official toolkit for the #LiMo software 
stack? http://bit.ly/cuEdHx|1266925406|0||0|0
-381|GTK+ and friends|GTKtoolkit|@lmedinas publishes a #javascript #example on how to put an status icon with 
#Gtk+ http://bit.ly/9py1uC Thanks a lot Luis!|1266886644|0||1|1
+381|GTK+ and friends|GTKtoolkit|@lmedinas publishes a #javascript #example on how to put a status icon with 
#Gtk+ http://bit.ly/9py1uC Thanks a lot Luis!|1266886644|0||1|1
 382|GTK+ and friends|GTKtoolkit|♺ @ebassi: I should really finish up the GDom API as well|1266880653|0||0|0
 383|GTK+ and friends|GTKtoolkit|♺ @ebassi: I hope to work on this for the next GIO release, and the GTK+ 
side for 3.0|1266880641|0||0|0
 384|GTK+ and friends|GTKtoolkit|♺ @ebassi: just updated the ApplicationClass design wiki page with the stuff 
@Cwiiis did for Mx - http://bit.ly/cfAOJk|1266880559|0||0|0
diff --git a/demos/gtk-demo/paintable_mediastream.c b/demos/gtk-demo/paintable_mediastream.c
index b06cf11565..797ccfadf5 100644
--- a/demos/gtk-demo/paintable_mediastream.c
+++ b/demos/gtk-demo/paintable_mediastream.c
@@ -6,7 +6,7 @@
  * GTK uses for videos. This allows treating the icon like a
  * regular video, so we can for example attach controls to it.
  *
- * After all, what good is an media_stream if one cannot pause
+ * After all, what good is a media_stream if one cannot pause
  * it.
  */
 
diff --git a/demos/icon-browser/icon.list b/demos/icon-browser/icon.list
index 1a0079bb8c..49cf32a2e7 100644
--- a/demos/icon-browser/icon.list
+++ b/demos/icon-browser/icon.list
@@ -285,7 +285,7 @@ user-trash=The icon for the user's “Trash” place in the file system
 user-trash-full=The icon for the user's “Trash” in the file system, when there are items in the “Trash” 
waiting for disposal or recovery
 emblem-system=The icon used as an emblem for directories that contain system libraries, settings, and data
 avatar-default=The generic avatar icon, which is used to represent a user that doesn't have a personalized 
avatar
-emblem-synchronizing=The icon used as an emblem to indicate that a a synchronizing operation is in process
+emblem-synchronizing=The icon used as an emblem to indicate that a synchronizing operation is in process
 emblem-shared=The icon used as an emblem for files and directories that are shared to other users
 help-browser=The icon used for the desktop's help browsing application
 
diff --git a/docs/reference/gtk/gtk4-update-icon-cache.xml b/docs/reference/gtk/gtk4-update-icon-cache.xml
index 430af75a19..3b6a18ffc6 100644
--- a/docs/reference/gtk/gtk4-update-icon-cache.xml
+++ b/docs/reference/gtk/gtk4-update-icon-cache.xml
@@ -49,7 +49,7 @@
   files for icon themes.
 </para>
 <para>
-  It expects to be given the <replaceable>PATH</replaceable> to a icon theme
+  It expects to be given the <replaceable>PATH</replaceable> to an icon theme
   directory containing an <filename>index.theme</filename>, e.g.
   <filename>/usr/share/icons/hicolor</filename>, and writes a
   <filename>icon-theme.cache</filename> containing cached information about
diff --git a/docs/tree-column-sizing.txt b/docs/tree-column-sizing.txt
index c0c38833d0..40228bc362 100644
--- a/docs/tree-column-sizing.txt
+++ b/docs/tree-column-sizing.txt
@@ -6,7 +6,7 @@ anyone who hopes to work with the code in the future.
 HOW THE GTKTREEVIEW CALCULATES SIZE:
 ====================================
  When the view is given a new model, the first thing it does is walk
-through the model at the top level, creating an GtkRBNode for each
+through the model at the top level, creating a GtkRBNode for each
 element of the model.  Each node has a height of 0.  The RBTree is kept
 updated as the models structure changes.  Additionally, the user can
 expand, collapse, and select rows at this stage.  The RBTree is accurate
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 6c03d40520..bf978e2980 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -1312,7 +1312,7 @@ gdk_event_get_scroll_deltas (const GdkEvent *event,
  * stop scroll event is the signal that a widget may trigger kinetic
  * scrolling based on the current velocity.
  *
- * Stop scroll events always have a a delta of 0/0.
+ * Stop scroll events always have a delta of 0/0.
  *
  * Returns: %TRUE if the event is a scroll stop event
  */
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 12a77c827a..9f3ea5d938 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -770,7 +770,7 @@ gdk_gl_context_set_is_legacy (GdkGLContext *context,
  * @use_es: whether the context should use OpenGL ES instead of OpenGL,
  *   or -1 to allow auto-detection
  *
- * Requests that GDK create a OpenGL ES context instead of an OpenGL one,
+ * Requests that GDK create an OpenGL ES context instead of an OpenGL one,
  * if the platform and windowing system allows it.
  *
  * The @context must not have been realized.
diff --git a/gdk/gdkseat.c b/gdk/gdkseat.c
index 3f5f4d7622..6164d4f2ca 100644
--- a/gdk/gdkseat.c
+++ b/gdk/gdkseat.c
@@ -28,7 +28,7 @@
 
 /**
  * SECTION:gdkseat
- * @Short_description: Object representing an user seat
+ * @Short_description: Object representing a user seat
  * @Title: GdkSeat
  * @See_also: #GdkDisplay, #GdkDevice
  *
diff --git a/gdk/gdkselection.c b/gdk/gdkselection.c
index 39e4d0ec2a..1929b8ed2e 100644
--- a/gdk/gdkselection.c
+++ b/gdk/gdkselection.c
@@ -65,7 +65,7 @@ gdk_text_property_to_utf8_list_for_display (GdkDisplay     *display,
  * gdk_utf8_to_string_target:
  * @str: a UTF-8 string
  *
- * Converts an UTF-8 string into the best possible representation
+ * Converts a UTF-8 string into the best possible representation
  * as a STRING. The representation of characters not in STRING
  * is not specified; it may be as pseudo-escape sequences
  * \x{ABCD}, or it may be in some other form of approximation.
diff --git a/gdk/win32/gdkkeys-win32.c b/gdk/win32/gdkkeys-win32.c
index 8290ff5d4b..679caa5540 100644
--- a/gdk/win32/gdkkeys-win32.c
+++ b/gdk/win32/gdkkeys-win32.c
@@ -749,7 +749,7 @@ update_keymap (GdkKeymap *gdk_keymap)
 
               /* First, handle those virtual keys that we always want
                * as special GDK_* keysyms, even if ToAsciiEx might
-               * turn some them into a ASCII character (like TAB and
+               * turn some them into an ASCII character (like TAB and
                * ESC).
                */
               handle_special (vk, ksymp, level);
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index 877a90361a..51ca00453c 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -824,7 +824,7 @@ show_window_internal (GdkSurface *window,
                           _gdk_win32_surface_state_to_string (window->state),
                           (deiconify ? " deiconify" : "")));
 
-  /* If asked to show (not deiconify) an withdrawn and iconified
+  /* If asked to show (not deiconify) a withdrawn and iconified
    * window, do that.
    */
   if (!deiconify &&
@@ -1962,7 +1962,7 @@ gdk_win32_surface_set_icon_name (GdkSurface   *window,
 {
   /* In case I manage to confuse this again (or somebody else does):
    * Please note that "icon name" here really *does* mean the name or
-   * title of an window minimized as an icon on the desktop, or in the
+   * title of a window minimized as an icon on the desktop, or in the
    * taskbar. It has nothing to do with the freedesktop.org icon
    * naming stuff.
    */
diff --git a/gdk/win32/gdksurface-win32.h b/gdk/win32/gdksurface-win32.h
index 061463dd9a..ecef950949 100644
--- a/gdk/win32/gdksurface-win32.h
+++ b/gdk/win32/gdksurface-win32.h
@@ -180,7 +180,7 @@ struct _GdkW32DragMoveResizeContext
    *
    * For drag-move: If it's FALSE,
    * then the pointer have not yet hit a trigger, even if it is
-   * already within a edge region.
+   * already within an edge region.
    * If it's TRUE, then the pointer did hit a trigger within an
    * edge region, and have not yet left an edge region
    * (passing from one edge region into another doesn't count).
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index cbd51d979f..645e992c38 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -1363,7 +1363,7 @@ scroll_valuators_changed (GdkX11DeviceXI2 *device,
 }
 
 /* We only care about focus events that indicate that _this_
- * surface (not a ancestor or child) got or lost the focus
+ * surface (not an ancestor or child) got or lost the focus
  */
 static void
 _gdk_device_manager_xi2_handle_focus (GdkSurface *surface,
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c
index 1385713609..95d8e66c66 100644
--- a/gdk/x11/gdkglcontext-x11.c
+++ b/gdk/x11/gdkglcontext-x11.c
@@ -676,7 +676,7 @@ gdk_x11_gl_context_realize (GdkGLContext  *context,
   /* Ensure that any other context is created with a legacy bit set */
   gdk_gl_context_set_is_legacy (context, legacy_bit);
 
-  /* Ensure that any other context is created with a ES bit set */
+  /* Ensure that any other context is created with an ES bit set */
   gdk_gl_context_set_use_es (context, es_bit);
 
   xvisinfo = find_xvisinfo_for_fbconfig (display, context_x11->glx_config);
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index 13e953ee2e..ea58e840f6 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -2284,7 +2284,7 @@ gsk_opacity_node_new (GskRenderNode *child,
 
 /**
  * gsk_opacity_node_get_child:
- * @node: a opacity @GskRenderNode
+ * @node: an opacity @GskRenderNode
  *
  * Gets the child node that is getting opacityed by the given @node.
  *
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 206f78ca4a..73ea54cf58 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -396,7 +396,7 @@ add_cb (GtkContainer *container,
   GtkAssistantPrivate *priv = gtk_assistant_get_instance_private (assistant);
 
   if (priv->use_header_bar)
-    g_warning ("Content added to the action area of a assistant using header bars");
+    g_warning ("Content added to the action area of an assistant using header bars");
 
   gtk_widget_show (GTK_WIDGET (container));
 }
diff --git a/gtk/gtkbuildable.c b/gtk/gtkbuildable.c
index cb699e5594..c9972a5b71 100644
--- a/gtk/gtkbuildable.c
+++ b/gtk/gtkbuildable.c
@@ -226,7 +226,7 @@ gtk_buildable_construct_child (GtkBuildable *buildable,
  *
  * This is called for each unknown element under <child>.
  * 
- * Returns: %TRUE if a object has a custom implementation, %FALSE
+ * Returns: %TRUE if an object has a custom implementation, %FALSE
  *          if it doesn't.
  **/
 gboolean
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index d428814dd1..05849afc6d 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -934,7 +934,7 @@ gtk_button_grab_notify (GtkWidget *widget,
 /**
  * gtk_button_set_icon_name:
  * @button: A #GtkButton
- * @icon_name: A icon name
+ * @icon_name: An icon name
  *
  * Adds a #GtkImage with the given icon name as a child. If @button already
  * contains a child widget, that child widget will be removed and replaced
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index c1b979a950..3a1b95dbf7 100644
--- a/gtk/gtkcssselector.c
+++ b/gtk/gtkcssselector.c
@@ -1836,7 +1836,7 @@ _gtk_css_selector_tree_match_all (const GtkCssSelectorTree *tree,
 
 /* When checking for changes via the tree we need to know if a rule further
    down the tree matched, because if so we need to add "our bit" to the
-   Change. For instance in a a match like *.class:active we'll
+   Change. For instance in a match like *.class:active we'll
    get a tree that first checks :active, if that matches we continue down
    to the tree, and if we get a match we add CHANGE_CLASS. However, the
    end of the tree where we have a match is an ANY which doesn't actually
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index df13afc5b8..de1bb94646 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -2382,7 +2382,7 @@ add_size (gpointer key,
  * that the icon is available in a scalable format. The array 
  * is zero-terminated.
  * 
- * Returns: (array zero-terminated=1) (transfer full): An newly
+ * Returns: (array zero-terminated=1) (transfer full): A newly
  * allocated array describing the sizes at which the icon is
  * available. The array should be freed with g_free() when it is no
  * longer needed.
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 3e0150ab76..bc18d9218d 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -2237,7 +2237,7 @@ gtk_icon_view_button_press (GtkGestureClick *gesture,
                                               x, y);
        }
 
-      /* don't draw keyboard focus around an clicked-on item */
+      /* don't draw keyboard focus around a clicked-on item */
       icon_view->priv->draw_focus = FALSE;
     }
 
@@ -4380,7 +4380,7 @@ gtk_icon_view_set_tooltip_cell (GtkIconView     *icon_view,
  * @model, @path and @iter which have been provided will be set to point to
  * that row and the corresponding model.
  *
- * Returns: whether or not the given tooltip context points to a item
+ * Returns: whether or not the given tooltip context points to an item
  */
 gboolean
 gtk_icon_view_get_tooltip_context (GtkIconView   *icon_view,
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 2e52a5838d..a76692a89c 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -58,7 +58,7 @@
  * #GtkInfoBar is a widget that can be used to show messages to
  * the user without showing a dialog. It is often temporarily shown
  * at the top or bottom of a document. In contrast to #GtkDialog, which
- * has a action area at the bottom, #GtkInfoBar has an action area
+ * has an action area at the bottom, #GtkInfoBar has an action area
  * at the side.
  *
  * The API of #GtkInfoBar is very similar to #GtkDialog, allowing you
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index e5b5419e4f..66ad05f3e3 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2004,7 +2004,7 @@ label_mnemonic_widget_weak_notify (gpointer      data,
  * @label: a #GtkLabel
  * @widget: (nullable): the target #GtkWidget, or %NULL to unset
  *
- * If the label has been set so that it has an mnemonic key (using
+ * If the label has been set so that it has a mnemonic key (using
  * i.e. gtk_label_set_markup_with_mnemonic(),
  * gtk_label_set_text_with_mnemonic(), gtk_label_new_with_mnemonic()
  * or the “use_underline” property) the label can be associated with a
@@ -2073,7 +2073,7 @@ gtk_label_get_mnemonic_widget (GtkLabel *label)
  * gtk_label_get_mnemonic_keyval:
  * @label: a #GtkLabel
  *
- * If the label has been set so that it has an mnemonic key this function
+ * If the label has been set so that it has a mnemonic key this function
  * returns the keyval used for the mnemonic accelerator. If there is no
  * mnemonic set up it returns #GDK_KEY_VoidSymbol.
  *
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index bbf19a08c7..d6502e97f5 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -1,5 +1,5 @@
 /* GTK - The GIMP Toolkit
- * gtklinkbutton.c - an hyperlink-enabled button
+ * gtklinkbutton.c - a hyperlink-enabled button
  *
  * Copyright (C) 2006 Emmanuele Bassi <ebassi gmail com>
  * All rights reserved.
diff --git a/gtk/gtklinkbutton.h b/gtk/gtklinkbutton.h
index bf85e15f5b..aaa922ed43 100644
--- a/gtk/gtklinkbutton.h
+++ b/gtk/gtklinkbutton.h
@@ -1,5 +1,5 @@
 /* GTK - The GIMP Toolkit
- * gtklinkbutton.h - an hyperlink-enabled button
+ * gtklinkbutton.h - a hyperlink-enabled button
  *
  * Copyright (C) 2005 Emmanuele Bassi <ebassi gmail com>
  * All rights reserved.
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 2f5644a455..64514f5577 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -3879,7 +3879,7 @@ list_box_sort_func (GtkListBoxRow *row1,
               retval = index_1 - index_2;
             }
           /* We order the bookmarks sections based on the bookmark index that we
-           * set on the row as a order-index property, but we have to deal with
+           * set on the row as an order-index property, but we have to deal with
            * the placeholder row wanted to be between two consecutive bookmarks,
            * with two consecutive order-index values which is the usual case.
            * For that, in the list box sort func we give priority to the placeholder row,
@@ -4480,7 +4480,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
    * @sidebar: the object which received the signal.
    *
    * The places sidebar emits this signal when it needs the calling
-   * application to present an way to directly enter a location.
+   * application to present a way to directly enter a location.
    * For example, the application may bring up a dialog box asking for
    * a URL like "http://http.example.com";.
    */
diff --git a/gtk/gtkseparatortoolitem.c b/gtk/gtkseparatortoolitem.c
index 5fc9ce9618..a51e5ef9d7 100644
--- a/gtk/gtkseparatortoolitem.c
+++ b/gtk/gtkseparatortoolitem.c
@@ -123,7 +123,7 @@ static void
 gtk_separator_tool_item_add (GtkContainer *container,
                              GtkWidget    *child)
 {
-  g_warning ("attempt to add a child to an GtkSeparatorToolItem");
+  g_warning ("attempt to add a child to a GtkSeparatorToolItem");
 }
 
 static gboolean
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 81b153f2b2..b22bc106e6 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -401,7 +401,7 @@ struct _GtkStyleContextClass
 /**
  * GTK_STYLE_CLASS_SCROLLBARS_JUNCTION:
  *
- * A CSS class to match the junction area between an horizontal
+ * A CSS class to match the junction area between a horizontal
  * and vertical scrollbar, when they’re both shown.
  *
  * Refer to individual widget documentation for used style classes.
@@ -525,7 +525,7 @@ struct _GtkStyleContextClass
 /**
  * GTK_STYLE_CLASS_SPINBUTTON:
  *
- * A CSS class defining an spinbutton.
+ * A CSS class defining a spinbutton.
  *
  * Refer to individual widget documentation for used style classes.
  */
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 2ee27ed762..5e4b5975a3 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -1980,7 +1980,7 @@ convert_color (GdkRGBA        *result,
 
 /* This function is used to convert the preedit string attributes, which are
  * standard PangoAttributes, into the custom attributes used by the text
- * widget and insert them into a attr list with a given offset.
+ * widget and insert them into an attr list with a given offset.
  */
 static void
 add_preedit_attrs (GtkTextLayout     *layout,
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 2e7702574c..6b0af8ebb7 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -633,7 +633,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 a anchor rectantgle.
+       * used as an anchor rectantgle.
        *
        * 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/gtktreemenu.c b/gtk/gtktreemenu.c
index 28a8ace5ca..c216ce0f10 100644
--- a/gtk/gtktreemenu.c
+++ b/gtk/gtktreemenu.c
@@ -1199,7 +1199,7 @@ _gtk_tree_menu_new_with_area (GtkCellArea    *area)
 /*
  * _gtk_tree_menu_new_full:
  * @area: (allow-none): the #GtkCellArea to use to render cells in the menu, or %NULL.
- * @model: (allow-none): the #GtkTreeModel to build the menu heirarchy from, or %NULL.
+ * @model: (allow-none): the #GtkTreeModel to build the menu hierarchy from, or %NULL.
  * @root: (allow-none): the #GtkTreePath indicating the root row for this menu, or %NULL.
  *
  * Creates a new #GtkTreeMenu hierarchy from the provided @model and @root using @area to render its cells.
@@ -1223,7 +1223,7 @@ _gtk_tree_menu_new_full (GtkCellArea         *area,
  * @menu: a #GtkTreeMenu
  * @model: (allow-none): the #GtkTreeModel to build the menu hierarchy from, or %NULL.
  *
- * Sets @model to be used to build the menu heirarhcy.
+ * Sets @model to be used to build the menu hierarhcy.
  */
 void
 _gtk_tree_menu_set_model (GtkTreeMenu  *menu,
@@ -1241,7 +1241,7 @@ _gtk_tree_menu_set_model (GtkTreeMenu  *menu,
  * _gtk_tree_menu_get_model:
  * @menu: a #GtkTreeMenu
  *
- * Gets the @model currently used for the menu heirarhcy.
+ * Gets the @model currently used for the menu hierarhcy.
  *
  * Returns: (transfer none): the #GtkTreeModel which is used
  * for @menu’s hierarchy.
@@ -1293,7 +1293,7 @@ _gtk_tree_menu_set_root (GtkTreeMenu *menu,
  * @menu: a #GtkTreeMenu
  *
  * Gets the @root path for @menu’s hierarchy, or returns %NULL if @menu
- * has no model or is building a heirarchy for the entire model. *
+ * has no model or is building a hierarchy for the entire model. *
  *
  * Returns: (transfer full) (allow-none): A newly created #GtkTreePath
  * pointing to the root of @menu which must be freed with gtk_tree_path_free().
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index 1ddd31584c..e6c73aae29 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -2145,7 +2145,7 @@ gtk_tree_row_ref_deleted (RowRefList  *refs,
     return;
 
   /* This function corrects the path stored in the reference to
-   * account for an deletion. Note that it's called _after_ the
+   * account for a deletion. Note that it's called _after_ the
    * deletion with the old path of the just-deleted row. Which means
    * that the deleted path is the same now-defunct "coordinate system"
    * as the path saved in the reference, which is what we want to fix.
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 8f26578cb1..c6f0811996 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5291,7 +5291,7 @@ event_surface_is_still_viewable (const GdkEvent *event)
 #endif
 
     default:
-      /* Remaining events would make sense on an not-viewable window,
+      /* Remaining events would make sense on a not-viewable window,
        * or don't have an associated window.
        */
       return TRUE;
@@ -5640,7 +5640,7 @@ gtk_widget_real_keynav_failed (GtkWidget        *widget,
  * 
  * Note that having @can_focus be %TRUE is only one of the
  * necessary conditions for being focusable. A widget must
- * also be sensitive and not have a ancestor that is marked
+ * also be sensitive and not have an ancestor that is marked
  * as not child-focusable in order to receive input focus.
  *
  * See gtk_widget_grab_focus() for actually setting the input
@@ -8859,7 +8859,7 @@ gtk_widget_real_get_accessible (GtkWidget *widget)
 }
 
 /*
- * Initialize a AtkImplementorIface instance’s virtual pointers as
+ * Initialize an AtkImplementorIface instance’s virtual pointers as
  * appropriate to this implementor’s class (GtkWidget).
  */
 static void
diff --git a/po-properties/sv.po b/po-properties/sv.po
index f5c86b11c7..403be6fc10 100644
--- a/po-properties/sv.po
+++ b/po-properties/sv.po
@@ -108,7 +108,7 @@ msgstr "Leverantörs-ID"
 msgid "Product ID"
 msgstr "Produkt-ID"
 
-# The GdkSeat object represents a collection of input devices that belong to an user.
+# The GdkSeat object represents a collection of input devices that belong to a user.
 #: gdk/gdkdevice.c:289 gdk/gdkdevice.c:290
 msgid "Seat"
 msgstr "Säte"


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