]> Pileus Git - ~andy/gtk/commitdiff
Fix a typo
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 13 Dec 2008 05:20:10 +0000 (05:20 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 13 Dec 2008 05:20:10 +0000 (05:20 +0000)
svn path=/trunk/; revision=21877

ChangeLog
gdk/directfb/gdkwindow-directfb.c
gdk/gdkwindow.c
gdk/x11/gdkwindow-x11.c
gtk/gtkmenushell.c
gtk/gtkwidget.c
gtk/tests/builder.c
tests/testdnd.c

index 1b137a0be4a874ab5e7445caa4e15fa9d4009638..c3f5c34028acd29f088d8bd06c2b075b18a22e73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2008-12-13  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 563835 – Typo in gtk_widget_has_screen() docs
+
+       * gdk/directfb/gdkwindow-directfb.c:
+       * gdk/gdkwindow.c:
+       * gdk/x11/gdkwindow-x11.c:
+       * gtk/gtkmenushell.c:
+       * gtk/gtkwidget.c:
+       * gtk/tests/builder.c:
+       * tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
+       Pointed out by Wouter Bolsterlee
+
 2008-12-12  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 564066 – Crash in gtk_rc_parse_default_files
index 22429b755c32e595346821d30cb5542e6e88fafb..42b3500519827e3e787d240ba02e8b59928eacaf 100644 (file)
@@ -660,7 +660,7 @@ _gdk_window_new (GdkWindow     *parent,
 void
 _gdk_windowing_window_destroy_foreign (GdkWindow *window)
 {
-  /* It's somebody else's window, but in our heirarchy,
+  /* It's somebody else's window, but in our hierarchy,
    * so reparent it to the root window, and then send
    * it a delete event, as if we were a WM
    */
index 798bf68ab4cdbf492a7d9bca985c27eac50862e7..a0f31f45cd5eb78231cd3ccf1a866a94638ccc90 100644 (file)
@@ -508,9 +508,9 @@ _gdk_window_destroy_hierarchy (GdkWindow *window,
        {
          /* Logically, it probably makes more sense to send
           * a "destroy yourself" message to the foreign window
-          * whether or not it's in our heirarchy; but for historical
+          * whether or not it's in our hierarchy; but for historical
           * reasons, we only send "destroy yourself" messages to
-          * foreign windows in our heirarchy.
+          * foreign windows in our hierarchy.
           */
          if (private->parent)
            _gdk_windowing_window_destroy_foreign (window);
index eb2ae6c85e4935ee4f4f67a2862230bcdf2ba2ef..a6d88b9ffc8691097dd2e9075a2081dfeb7b7764 100644 (file)
@@ -1170,7 +1170,7 @@ _gdk_windowing_window_destroy (GdkWindow *window,
 void
 _gdk_windowing_window_destroy_foreign (GdkWindow *window)
 {
-  /* It's somebody else's window, but in our heirarchy,
+  /* It's somebody else's window, but in our hierarchy,
    * so reparent it to the root window, and then send
    * it a delete event, as if we were a WM
    */
index b0804a9489a99e6ab01622cc7a94857e62459ddf..910c760d56aa727b4bfa02ddb4d82311d1458a1c 100644 (file)
@@ -83,7 +83,7 @@ enum {
  *
  * There is also is a concept of the current menu and a current
  * menu item. The current menu item is the selected menu item
- * that is furthest down in the heirarchy. (Every active menu_shell
+ * that is furthest down in the hierarchy. (Every active menu_shell
  * does not necessarily contain a selected menu item, but if
  * it does, then menu_shell->parent_menu_shell must also contain
  * a selected menu item. The current menu is the menu that 
index 02096596bcb3513938a8b6f672f68b4314a94989..8a6beb1b89ddac7a22785596cac19aea6484ffa7 100644 (file)
@@ -6241,8 +6241,7 @@ gtk_widget_propagate_screen_changed_recurse (GtkWidget *widget,
  *
  * Please note that the semantics of this call will change
  * in the future if used on a widget that has a composited
- * window in its heirarchy (as set by
- * gdk_window_set_composited()).
+ * window in its hierarchy (as set by gdk_window_set_composited()).
  * 
  * Return value: %TRUE if the widget can rely on its alpha
  * channel being drawn correctly.
@@ -6741,7 +6740,7 @@ gtk_widget_get_screen (GtkWidget *widget)
  * 
  * Checks whether there is a #GdkScreen is associated with
  * this widget. All toplevel widgets have an associated
- * screen, and all widgets added into a heirarchy with a toplevel
+ * screen, and all widgets added into a hierarchy with a toplevel
  * window at the top.
  * 
  * Return value: %TRUE if there is a #GdkScreen associcated
@@ -6787,7 +6786,7 @@ gtk_widget_get_display (GtkWidget *widget)
  * 
  * Get the root window where this widget is located. This function can
  * only be called after the widget has been added to a widget
- * heirarchy with #GtkWindow at the top.
+ * hierarchy with #GtkWindow at the top.
  *
  * The root window is useful for such purposes as creating a popup
  * #GdkWindow associated with the window. In general, you should only
index d8b87d27111c24fbb0129ce372cffb4b4a77e771..dd4d9220fc9865bdf14986e0eaa1a610686ab3be 100644 (file)
@@ -2410,7 +2410,7 @@ test_menus (void)
   g_assert (strcmp (GTK_ACCEL_LABEL (item_accel_label)->accel_string, 
                    GTK_ACCEL_LABEL (sample_accel_label)->accel_string) == 0);
 
-  /* Check the menu heirarchy worked here  */
+  /* Check the menu hierarchy worked here  */
   g_assert (get_parent_menubar (item));
 
   gtk_widget_destroy (GTK_WIDGET (window));
index 75833e20337b34ce71602884beaa87f834779b05..f2cc795106645bdeef9cb97e6a048a0f2b31460f 100644 (file)
@@ -432,7 +432,7 @@ source_drag_data_get  (GtkWidget          *widget,
 }
   
 /* The following is a rather elaborate example demonstrating/testing
- * changing of the window heirarchy during a drag - in this case,
+ * changing of the window hierarchy during a drag - in this case,
  * via a "spring-loaded" popup window.
  */
 static GtkWidget *popup_window = NULL;